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

ASP.NET

 
AnswerRe: .aspx upload Pin
Guffa25-Jul-06 11:12
Guffa25-Jul-06 11:12 
GeneralRe: .aspx upload Pin
kirthikirthi25-Jul-06 11:23
kirthikirthi25-Jul-06 11:23 
AnswerRe: .aspx upload Pin
Guffa25-Jul-06 20:38
Guffa25-Jul-06 20:38 
GeneralRe: .aspx upload Pin
Amit Agarrwal25-Jul-06 20:48
Amit Agarrwal25-Jul-06 20:48 
QuestionError Handling with customErrors tag Pin
mrinmayeek25-Jul-06 8:41
mrinmayeek25-Jul-06 8:41 
Questionadded dynamic row with textbox to gridview but missing viewstate on postback Pin
silverfox_118825-Jul-06 8:15
silverfox_118825-Jul-06 8:15 
AnswerRe: added dynamic row with textbox to gridview but missing viewstate on postback Pin
ToddHileHoffer25-Jul-06 9:50
ToddHileHoffer25-Jul-06 9:50 
AnswerRe: added dynamic row with textbox to gridview but missing viewstate on postback Pin
silverfox_118825-Jul-06 11:50
silverfox_118825-Jul-06 11:50 
Hi, Thanks for helping.

I read somewhere that we specifically needed to rebind on every page load so that the dynamically created control can repopulate its viewstate. If I don't do the rebind on page_load, the GridViewRow/Textbox will disappear upon postback.

I tried bind once and rebind after a postback but still the text box is empty.

can you elaborate on this point?
What you need to do is save the text entered in the grid and recreate the row.
Do you mean store text in hidden field or viewstate and manually repopulate the textbox when binding?

Thank You

Jim




silverfox_1188

GeneralRe: added dynamic row with textbox to gridview but missing viewstate on postback Pin
ToddHileHoffer26-Jul-06 2:19
ToddHileHoffer26-Jul-06 2:19 
GeneralRe: added dynamic row with textbox to gridview but missing viewstate on postback Pin
silverfox_118826-Jul-06 19:11
silverfox_118826-Jul-06 19:11 
GeneralRe: added dynamic row with textbox to gridview but missing viewstate on postback Pin
Ista27-Jul-06 6:55
Ista27-Jul-06 6:55 
GeneralRe: added dynamic row with textbox to gridview but missing viewstate on postback Pin
silverfox_11882-Aug-06 5:03
silverfox_11882-Aug-06 5:03 
QuestionDataBinder output Pin
TheMajorRager25-Jul-06 8:00
TheMajorRager25-Jul-06 8:00 
AnswerRe: DataBinder output Pin
ToddHileHoffer25-Jul-06 9:45
ToddHileHoffer25-Jul-06 9:45 
GeneralRe: DataBinder output Pin
TheMajorRager25-Jul-06 11:36
TheMajorRager25-Jul-06 11:36 
QuestionDifference Pin
kjosh25-Jul-06 7:28
kjosh25-Jul-06 7:28 
AnswerRe: Difference Pin
Guffa25-Jul-06 8:20
Guffa25-Jul-06 8:20 
QuestionRedircet Page Pin
kirthikirthi25-Jul-06 7:07
kirthikirthi25-Jul-06 7:07 
AnswerRe: Redircet Page Pin
enjoycrack29-Jul-06 6:44
enjoycrack29-Jul-06 6:44 
QuestionCharts and graphs using .NET Pin
TheMajorRager25-Jul-06 6:52
TheMajorRager25-Jul-06 6:52 
AnswerRe: Charts and graphs using .NET Pin
minhpc_bk25-Jul-06 20:03
minhpc_bk25-Jul-06 20:03 
Questionbuild via coding Pin
sund7wells25-Jul-06 5:20
sund7wells25-Jul-06 5:20 
AnswerRe: build via coding Pin
RichardGrimmer25-Jul-06 5:53
RichardGrimmer25-Jul-06 5:53 
GeneralRe: build via coding Pin
sund7wells25-Jul-06 7:03
sund7wells25-Jul-06 7:03 
GeneralRe: build via coding Pin
RichardGrimmer25-Jul-06 7:11
RichardGrimmer25-Jul-06 7:11 

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.