i add a TemplateField to gridview programmatically and i add a textbox in it programmatically also
the problem is:
when press on any server side button the data will clear from the gridview and the textboxes not appear to allow me to write in it
And I need to win the lottery. Neither are likely to happen anytime soon.
The way this works is you first try to work it out for yourself and then, when you get really, really stuck you ask for help based on what you've already attempted. Or you trawl through Google - there is bound to be someone who has already done this and posted some info about it. Posting this here either means you are too lazy to figure it out for yourself or it is homework.
Am new to this topic & after trying a lot in google, since i couldn't get any proper solutions for my requirement i have asked to provide the URL or what u know about this if & only if u have found that could be helpful for novice users.
When do you want to update the content page ? Is it automatically or with some event ?
As you have already used UpdatePanel for content page, you need to do one more thing, Make the UpdateMode of that UpdatePanel as "Conditional". And when ever you want to update the Content Place holder, call UpdatePanel1.Update().
I assumed, Updatepanel1 is the name of Updatepanel for your content placeholder.
Let me know if you need any more information.
Last Visit: 31-Dec-99 19:00 Last Update: 19-Jan-21 16:59