Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Control loses viewstate inside HeaderTemplate of DataList

Reply
Thread Tools

Control loses viewstate inside HeaderTemplate of DataList

 
 
Fahim
Guest
Posts: n/a
 
      08-18-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

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
Getting checkbox value from DataList.HeaderTemplate for use in ServerValidate event Andy B. ASP .Net 0 02-20-2009 06:36 PM
Datalist HeaderTemplate repeating duplicates? - sort, break, grouping? jobs at webdos ASP .Net 2 10-08-2006 01:22 PM
Using labels in the HeaderTemplate of a datagrid or datalist ree32 ASP .Net Datagrid Control 5 09-23-2004 05:09 AM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
Re: <asp:image> inside repeater's <HeaderTemplate>? Karl ASP .Net 0 08-26-2004 10:39 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57