Click here to Skip to main content
15,902,447 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralInvalidating page contents Pin
Mohammad A Gdeisat4-Apr-08 12:06
Mohammad A Gdeisat4-Apr-08 12:06 
AnswerRe: Invalidating page contents Pin
Ashish Sehajpal4-Apr-08 21:27
Ashish Sehajpal4-Apr-08 21:27 
GeneralDatabind image from database Pin
Paul McGann4-Apr-08 10:44
professionalPaul McGann4-Apr-08 10:44 
GeneralRe: Databind image from database Pin
Ashish Sehajpal4-Apr-08 21:30
Ashish Sehajpal4-Apr-08 21:30 
QuestionHOW TO MAINTAIN DYNAMICALLY CREATED CONTROLS AFTER POSTBACK C# Pin
Phivos Stylianides4-Apr-08 10:14
Phivos Stylianides4-Apr-08 10:14 
AnswerRe: HOW TO MAINTAIN DYNAMICALLY CREATED CONTROLS AFTER POSTBACK C# Pin
Ashish Sehajpal4-Apr-08 23:43
Ashish Sehajpal4-Apr-08 23:43 
GeneralRe: HOW TO MAINTAIN DYNAMICALLY CREATED CONTROLS AFTER POSTBACK C# Pin
kontax5-Apr-08 2:54
kontax5-Apr-08 2:54 
AnswerRe: HOW TO MAINTAIN DYNAMICALLY CREATED CONTROLS AFTER POSTBACK C# Pin
Fatania Dipak2-Feb-09 1:09
Fatania Dipak2-Feb-09 1:09 
if you are adding control(s) dynamically on the page, you will loos all the added controls on postback.

To avoid this...you need to understand the fundamental of aspx.
on the postback page is loosing all the dynamically added controls. Basically all the controls are available on the page, but page can not retrive them from viewstate.

You need to make rememebr the ids of dynamica added controls to the page.

ie. if you are added 2 textboxes on the page and giving ids like txt.ID="txt" +1 and for second txt.ID="txt" +2. so on the page load write the code to add the two textboxes and assign the same ids, so, page autometically will retain the text entered in the textbox on the postback.

Enjoy
GeneralWindows Services and ASP.NET Pin
ffowler4-Apr-08 10:06
ffowler4-Apr-08 10:06 
GeneralRe: Windows Services and ASP.NET Pin
ffowler5-Apr-08 16:44
ffowler5-Apr-08 16:44 
Generalhttpwebrequest multipart/form data boundary Pin
n3w8134-Apr-08 9:59
n3w8134-Apr-08 9:59 
GeneralRe: httpwebrequest multipart/form data boundary Pin
led mike4-Apr-08 11:44
led mike4-Apr-08 11:44 
AnswerRe: httpwebrequest multipart/form data boundary Pin
n3w8135-Apr-08 16:21
n3w8135-Apr-08 16:21 
QuestionGrey Out Check Box in GridView ItemTemplate? Pin
Cyndie4-Apr-08 8:37
Cyndie4-Apr-08 8:37 
AnswerRe: Grey Out Check Box in GridView ItemTemplate? Pin
Cyndie10-Apr-08 10:17
Cyndie10-Apr-08 10:17 
GeneralGrid alignment within table Pin
JacquesDP4-Apr-08 8:34
JacquesDP4-Apr-08 8:34 
GeneralRe: Grid alignment within table Pin
led mike4-Apr-08 11:23
led mike4-Apr-08 11:23 
GeneralRe: Grid alignment within table Pin
Guffa4-Apr-08 17:18
Guffa4-Apr-08 17:18 
GeneralRe: Grid alignment within table Pin
JacquesDP5-Apr-08 1:01
JacquesDP5-Apr-08 1:01 
GeneralRe: Grid alignment within table Pin
Ashish Sehajpal4-Apr-08 21:24
Ashish Sehajpal4-Apr-08 21:24 
GeneralRe: Grid alignment within table Pin
JacquesDP5-Apr-08 1:03
JacquesDP5-Apr-08 1:03 
QuestionCascading Dropdownlists Pin
PaaKay4-Apr-08 7:22
PaaKay4-Apr-08 7:22 
GeneralProblem Getting while building project Pin
hari4ur4-Apr-08 5:01
hari4ur4-Apr-08 5:01 
GeneralRe: Problem Getting while building project Pin
sagittarian4-Apr-08 6:10
sagittarian4-Apr-08 6:10 
GeneralRe: Problem Getting while building project Pin
hari4ur5-Apr-08 0:10
hari4ur5-Apr-08 0:10 

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.