PC Review


Reply
Thread Tools Rate Thread

Control loses viewstate inside HeaderTemplate of DataList

 
 
Fahim
Guest
Posts: n/a
 
      18th Aug 2006
I have a datalist on my webform and i have put some linkbuttons in
HeaderTemplate of datalist. Now on click of a LinkButton i access it in
ItemCommand Event using FindControl and change its Text property. But
when page is posted back the property does not really change.

I have also tried changing the CommandArgument Porperty but no avail.

Can someone guide me that what's the issue?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
UpdatePanel control loses ViewState data if Visible property setOptions Dwight Johnson Microsoft ASP .NET 0 7th Oct 2008 07:24 PM
Serialized class in web user control loses viewstate on postback bminder@gmail.com Microsoft ASP .NET 0 7th Apr 2006 02:09 AM
HELP: Inherited User Control Loses ViewState Spam Catcher Microsoft ASP .NET 0 18th Feb 2006 06:41 AM
Get a hyperlink control inside a datalist when databouding Arjen Microsoft ASP .NET 0 4th Aug 2003 10:22 PM
viewstate of the user control inside datagrid... Oleg G. Microsoft ASP .NET 0 1st Aug 2003 08:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:22 PM.