Click here to Skip to main content
15,921,467 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionerror creating directory in ftp : access Denied Pin
Dhrumil_Shukla22-Jul-09 2:43
Dhrumil_Shukla22-Jul-09 2:43 
AnswerRe: error creating directory in ftp : access Denied Pin
SeMartens22-Jul-09 3:03
SeMartens22-Jul-09 3:03 
AnswerRe: error creating directory in ftp : access Denied Pin
Brij22-Jul-09 3:10
mentorBrij22-Jul-09 3:10 
AnswerRe: error creating directory in ftp : access Denied Pin
Abhijit Jana22-Jul-09 3:27
professionalAbhijit Jana22-Jul-09 3:27 
AnswerRe: error creating directory in ftp : access Denied Pin
Vasudevan Deepak Kumar22-Jul-09 3:34
Vasudevan Deepak Kumar22-Jul-09 3:34 
AnswerRe: error creating directory in ftp : access Denied Pin
Abhishek Sur22-Jul-09 3:37
professionalAbhishek Sur22-Jul-09 3:37 
QuestionCreating dynimic text boxes on selection of drop down list Pin
jrsreenivas22-Jul-09 2:26
jrsreenivas22-Jul-09 2:26 
AnswerRe: Creating dynimic text boxes on selection of drop down list Pin
Abhijit Jana22-Jul-09 3:39
professionalAbhijit Jana22-Jul-09 3:39 
jrsreenivas wrote:
My reuirement is need to generate text boxes dynamically on the selection of drop down list where the drop down list
contains no and on selection of drop down list i need to create text boxes .


jrsreenivas wrote:
protected void ddlAdoption_OnSelectedIndexChanged(object sender, EventArgs e)
{
lblCount.Text = ddlAdoption.SelectedValue;
int adoptionCount = Convert.ToInt32(lblCount.Text);
for (int i = 0; i < adoptionCount; i++)
{
TextBox txtAdoptionNo = new TextBox();

This is not the way how ASP.NET Works. Just back to the APS.NET Page life cycle, All Postback Data and ViewState Data Loads Just Before Page_Load() Event. Now If you are creating Textbox in Dropdown list selected index changed, the Textbox will be created, but it will not able to load the Postback and View State Data. So this will not help you at all. You have to create the textbox on Pre_Init() Event, so that It can load the ViewState and Postback data.

cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
My Latest Article : IIS Remote Debugging

GeneralRe: Creating dynimic text boxes on selection of drop down list Pin
jrsreenivas22-Jul-09 3:50
jrsreenivas22-Jul-09 3:50 
GeneralRe: Creating dynimic text boxes on selection of drop down list Pin
Abhijit Jana22-Jul-09 5:16
professionalAbhijit Jana22-Jul-09 5:16 
AnswerRe: Creating dynimic text boxes on selection of drop down list Pin
Abhishek Sur22-Jul-09 3:42
professionalAbhishek Sur22-Jul-09 3:42 
GeneralRe: Creating dynimic text boxes on selection of drop down list Pin
jrsreenivas22-Jul-09 3:48
jrsreenivas22-Jul-09 3:48 
QuestionRunning ASP.NET web project with unsafe C# code Pin
Chesnokov Yuriy22-Jul-09 2:23
professionalChesnokov Yuriy22-Jul-09 2:23 
AnswerRe: Running ASP.NET web project with unsafe C# code Pin
Chesnokov Yuriy22-Jul-09 19:31
professionalChesnokov Yuriy22-Jul-09 19:31 
Questionhandling add contact event in outlook 07 Pin
ACMA_198022-Jul-09 1:05
ACMA_198022-Jul-09 1:05 
AnswerRe: handling add contact event in outlook 07 Pin
Manas Bhardwaj22-Jul-09 1:08
professionalManas Bhardwaj22-Jul-09 1:08 
JokeRe: handling add contact event in outlook 07 Pin
Abhijit Jana22-Jul-09 1:12
professionalAbhijit Jana22-Jul-09 1:12 
AnswerRe: handling add contact event in outlook 07 Pin
Abhijit Jana22-Jul-09 1:08
professionalAbhijit Jana22-Jul-09 1:08 
GeneralRe: handling add contact event in outlook 07 Pin
ACMA_198022-Jul-09 1:13
ACMA_198022-Jul-09 1:13 
QuestionTextBox onTextChanged Event Pin
megivimal22-Jul-09 1:02
megivimal22-Jul-09 1:02 
AnswerRe: TextBox onTextChanged Event Pin
Brij22-Jul-09 1:38
mentorBrij22-Jul-09 1:38 
GeneralRe: TextBox onTextChanged Event Pin
megivimal22-Jul-09 5:07
megivimal22-Jul-09 5:07 
GeneralRe: TextBox onTextChanged Event Pin
DoctorMick22-Jul-09 6:08
DoctorMick22-Jul-09 6:08 
GeneralRe: TextBox onTextChanged Event Pin
megivimal22-Jul-09 20:23
megivimal22-Jul-09 20:23 
GeneralRe: TextBox onTextChanged Event Pin
Brij22-Jul-09 6:57
mentorBrij22-Jul-09 6:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.