468,110 Members | 1,899 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

Partially Disable DataList ViewState

Hi,

I have a datalist with linkbuttons embedded within. In order for the
onClick event to fire, I need to have EnableViewState = true. But
since there are quite a lot of data, simply enable ViewState will tax
the page a lot. Is there a way to specifically disable the data
portion of the ViewState of the DataList?

What i have is an order history page, with each customer name a link
button so when I click on the name, it refresh the page to display all
order associate to that customer.

Best Regards,
Homa Wong
Nov 18 '05 #1
2 2508
Hi,

I don't have exact article to provide but here's same thing discussed
related to Datagrid, hopefully it helps a bit:

http://authors.aspalliance.com/jimro...agridDiet.aspx
http://authors.aspalliance.com/jimro...etPartTwo.aspx

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Homa" <ho******@yahoo.com> wrote in message
news:a9**************************@posting.google.c om...
Hi,

I have a datalist with linkbuttons embedded within. In order for the
onClick event to fire, I need to have EnableViewState = true. But
since there are quite a lot of data, simply enable ViewState will tax
the page a lot. Is there a way to specifically disable the data
portion of the ViewState of the DataList?

What i have is an order history page, with each customer name a link
button so when I click on the name, it refresh the page to display all
order associate to that customer.

Best Regards,
Homa Wong

Nov 18 '05 #2
Thank you. This solves my problem.

Happy Programming,
Homa Wong

"Teemu Keiski" <jo****@aspalliance.com> wrote in message news:<OZ**************@TK2MSFTNGP12.phx.gbl>...
Hi,

I don't have exact article to provide but here's same thing discussed
related to Datagrid, hopefully it helps a bit:

http://authors.aspalliance.com/jimro...agridDiet.aspx
http://authors.aspalliance.com/jimro...etPartTwo.aspx

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Homa" <ho******@yahoo.com> wrote in message
news:a9**************************@posting.google.c om...
Hi,

I have a datalist with linkbuttons embedded within. In order for the
onClick event to fire, I need to have EnableViewState = true. But
since there are quite a lot of data, simply enable ViewState will tax
the page a lot. Is there a way to specifically disable the data
portion of the ViewState of the DataList?

What i have is an order history page, with each customer name a link
button so when I click on the name, it refresh the page to display all
order associate to that customer.

Best Regards,
Homa Wong

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Hardy Wang | last post: by
1 post views Thread by Scott Schluer | last post: by
10 posts views Thread by Bharat | last post: by
1 post views Thread by Craig | last post: by
2 posts views Thread by cmay | last post: by
reply views Thread by =?Utf-8?B?Y2luZHk=?= | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.