Click here to Skip to main content
15,883,901 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Credit Card Security Pin
Joshua Omundson2-May-12 14:00
Joshua Omundson2-May-12 14:00 
AnswerRe: Credit Card Security Pin
s_magus2-May-12 15:57
s_magus2-May-12 15:57 
GeneralRe: Credit Card Security Pin
Abel Wike8-Aug-12 1:09
Abel Wike8-Aug-12 1:09 
AnswerRe: Credit Card Security Pin
jkirkerx2-May-12 16:29
professionaljkirkerx2-May-12 16:29 
GeneralRe: Credit Card Security Pin
indian1434-May-12 7:04
indian1434-May-12 7:04 
GeneralRe: Credit Card Security Pin
jkirkerx4-May-12 8:02
professionaljkirkerx4-May-12 8:02 
GeneralRe: Credit Card Security Pin
indian1434-May-12 11:34
indian1434-May-12 11:34 
QuestionUser control loses data on post back Pin
JD862-May-12 6:33
JD862-May-12 6:33 
I'm having an issue with post backs that I can't seem to figure out.

I have a user control and a web form. The user control contains a <asp:table> and it is populated with data.

So on the web form code behind it calls the user control method "PopulateUsers" which adds TableRows to the <asp:table>. Also on the web form it has a save button.

Now when the save button is clicked, it posts back and then my asp:Table is blank (because I have it not populating on a post back).

How can I maintain the current data during a postback that is in a user control? I have tried enabling view state on the controls, and all the pages with no luck.
AnswerRe: User control loses data on post back Pin
R. Giskard Reventlov2-May-12 7:16
R. Giskard Reventlov2-May-12 7:16 
QuestionLoginView Control Error Pin
MWRivera2-May-12 4:53
MWRivera2-May-12 4:53 
AnswerRe: LoginView Control Error Pin
Sandeep Mewara2-May-12 5:40
mveSandeep Mewara2-May-12 5:40 
GeneralRe: LoginView Control Error Pin
MWRivera2-May-12 7:10
MWRivera2-May-12 7:10 
GeneralRe: LoginView Control Error Pin
MWRivera2-May-12 7:24
MWRivera2-May-12 7:24 
AnswerRe: LoginView Control Error Pin
MWRivera3-May-12 6:33
MWRivera3-May-12 6:33 
GeneralRe: LoginView Control Error Pin
Sandeep Mewara4-May-12 4:05
mveSandeep Mewara4-May-12 4:05 
Questioncreate a forum in asp.net Pin
m.alagushankar2-May-12 0:57
m.alagushankar2-May-12 0:57 
AnswerRe: create a forum in asp.net Pin
egenis2-May-12 1:54
egenis2-May-12 1:54 
AnswerRe: create a forum in asp.net Pin
ZurdoDev2-May-12 4:54
professionalZurdoDev2-May-12 4:54 
AnswerRe: create a forum in asp.net Pin
Sandeep Mewara2-May-12 5:43
mveSandeep Mewara2-May-12 5:43 
AnswerRe: create a forum in asp.net Pin
Abhinav S2-May-12 21:51
Abhinav S2-May-12 21:51 
Generalcreate a forum in asp.net Pin
m.alagushankar2-May-12 0:36
m.alagushankar2-May-12 0:36 
AnswerRe: create a forum in asp.net Pin
ZurdoDev2-May-12 4:54
professionalZurdoDev2-May-12 4:54 
GeneralRe: create a forum in asp.net Pin
m.alagushankar3-May-12 21:18
m.alagushankar3-May-12 21:18 
GeneralRe: create a forum in asp.net Pin
Sandeep Mewara2-May-12 5:43
mveSandeep Mewara2-May-12 5:43 
QuestionHow to mix ASP.NET Forms and Windows authentication Pin
Moonark1-May-12 11:09
Moonark1-May-12 11:09 

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.