Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Problem with persisting dynamically added custom template column i

Reply
Thread Tools

Problem with persisting dynamically added custom template column i

 
 
Sriram Mallajyosula
Guest
Posts: n/a
 
      03-02-2007
I have added dynamically template column to a datagrid but, the controls
disapear while the page postback. how to persist the controls with values
even after postback in page in c#.

 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      04-09-2007
Hi,

you would need to recreate the template on postback, similarly as you do on
the initial request.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net



"Sriram Mallajyosula" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have added dynamically template column to a datagrid but, the controls
> disapear while the page postback. how to persist the controls with values
> even after postback in page in c#.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to persist the values of dynamically added template column Padmalochan Sahu ASP .Net Datagrid Control 2 03-06-2007 11:38 AM
Persisting Programmatically Added WebParts Imran ASP .Net 3 03-08-2006 08:18 AM
How to new added column in the fist column ad ASP .Net 3 06-08-2005 12:59 PM
Inserting Controls Dynamically - with Validators Also Added Dynamically Jeffrey Todd ASP .Net 1 06-02-2005 04:33 PM
Changing ImageURL of Image Button which is added in template column of datagrid raghunath ASP .Net Datagrid Control 2 04-29-2004 05:16 PM



Advertisments