Control loses viewstate inside HeaderTemplate of DataList

Discussion in 'ASP .Net' started by Fahim, Aug 18, 2006.

  1. Fahim

    Fahim Guest

    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?
    Fahim, Aug 18, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Spam Catcher
    Replies:
    0
    Views:
    594
    Spam Catcher
    Feb 18, 2006
  2. Replies:
    0
    Views:
    1,838
  3. Dwight Johnson
    Replies:
    0
    Views:
    2,737
    Dwight Johnson
    Oct 7, 2008
  4. Graham Stevenson

    Dropdownlist in Server Control loses Viewstate

    Graham Stevenson, Dec 1, 2003, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    146
    Guest
    Dec 3, 2003
  5. Robert Phillips

    Disabled Panel control loses viewstate

    Robert Phillips, Apr 28, 2004, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    285
    Scott Mitchell [MVP]
    Apr 28, 2004
Loading...

Share This Page