Click here to Skip to main content
15,907,326 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: authentication C# ASPX Pin
Abhijit Jana10-Sep-09 1:05
professionalAbhijit Jana10-Sep-09 1:05 
QuestionRe: authentication C# ASPX Pin
gitschi10-Sep-09 3:59
gitschi10-Sep-09 3:59 
AnswerRe: authentication C# ASPX Pin
Not Active10-Sep-09 1:40
mentorNot Active10-Sep-09 1:40 
QuestionRe: authentication C# ASPX Pin
gitschi10-Sep-09 5:16
gitschi10-Sep-09 5:16 
AnswerRe: authentication C# ASPX Pin
Not Active10-Sep-09 5:41
mentorNot Active10-Sep-09 5:41 
GeneralRe: authentication C# ASPX Pin
gitschi14-Sep-09 0:42
gitschi14-Sep-09 0:42 
QuestionViewstate Pin
mylogics10-Sep-09 0:50
professionalmylogics10-Sep-09 0:50 
AnswerRe: Viewstate Pin
Abhijit Jana10-Sep-09 1:02
professionalAbhijit Jana10-Sep-09 1:02 
mylogics wrote:
i have created textbox dynamically.
i want to submit the values of this dynamic textbox on button click.


The control which you are creating dynamically, you need to created before Page_Load(), other wise, it will not able to maintain the View State Data or will not load the Postback Data.

If you deeply look inside ASP.NET Page Life Cycle, Before Page_Load(), there are two different methods calls. 1) LoadViewState() and 2)LoadPostbackData().

So, if you create any control on Page_Load(), or after that it will not able to load the data.
So you need to create such control either in Pre_Init() or Init() method.

Though there are workaround to add the Control which are created after page_load into Control Tree for maintaining viewstate and Postback, using Catch up. I am not discussing that over here. Smile | :)

Hope this will help you in longer run Smile | :)

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.

AnswerRe: Viewstate Pin
Arun Jacob10-Sep-09 1:04
Arun Jacob10-Sep-09 1:04 
GeneralRe: Viewstate Pin
mylogics10-Sep-09 1:14
professionalmylogics10-Sep-09 1:14 
GeneralRe: Viewstate Pin
Arun Jacob10-Sep-09 2:14
Arun Jacob10-Sep-09 2:14 
AnswerRe: Viewstate Pin
Christian Graus10-Sep-09 11:34
protectorChristian Graus10-Sep-09 11:34 
Question2 select command in one gridview Pin
Flavia A10-Sep-09 0:30
Flavia A10-Sep-09 0:30 
AnswerRe: 2 select command in one gridview Pin
Arun Jacob10-Sep-09 0:36
Arun Jacob10-Sep-09 0:36 
GeneralRe: 2 select command in one gridview Pin
Flavia A10-Sep-09 1:23
Flavia A10-Sep-09 1:23 
GeneralRe: 2 select command in one gridview Pin
Arun Jacob10-Sep-09 1:26
Arun Jacob10-Sep-09 1:26 
QuestionSave images in host Pin
fattycode9-Sep-09 23:43
fattycode9-Sep-09 23:43 
AnswerRe: Save images in host Pin
Abhijit Jana9-Sep-09 23:52
professionalAbhijit Jana9-Sep-09 23:52 
GeneralRe: Save images in host Pin
fattycode10-Sep-09 0:01
fattycode10-Sep-09 0:01 
GeneralRe: Save images in host Pin
Abhijit Jana10-Sep-09 0:10
professionalAbhijit Jana10-Sep-09 0:10 
Questionlinking sqldatabase to Csharp Pin
Nancy Sackey9-Sep-09 23:39
Nancy Sackey9-Sep-09 23:39 
AnswerRe: linking sqldatabase to Csharp Pin
Manas Bhardwaj9-Sep-09 23:45
professionalManas Bhardwaj9-Sep-09 23:45 
AnswerRe: linking sqldatabase to Csharp Pin
Christian Graus10-Sep-09 0:28
protectorChristian Graus10-Sep-09 0:28 
QuestionHow to filter Dataset value colmun wise Pin
Samarjeet Singh@india9-Sep-09 23:20
Samarjeet Singh@india9-Sep-09 23:20 
AnswerRe: How to filter Dataset value colmun wise Pin
Arun Jacob9-Sep-09 23:24
Arun Jacob9-Sep-09 23:24 

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.