Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

BUT HOW?!?!?!

 

I'm having to get rid of as much viewstate as possible to increase efficiency etc (see previous thread http://www.xtremedotnettalk.com/t80287.html for reasons)

 

 

I'm just working through page and have managed to happily switch off hte viewstate for the textboxes on the page and it still knows what the user's input is.

 

However, I have a radio grid control external to the page (since it gets used by several other pages in various guises). And this is refusing to keep the user input with viewstate off.

 

I have another control list that does 'remember' the user's input but I think this is because it keeps an input hidden value using javascript to add the user's changes and this is what is picked up

 

Tis awkward to copy code in, but will be happy to do so if need be. I'm just hoping there's something simple I've missed that someone can point out before i spend time pasting code here....

 

 

cheers.

van.

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept and the wisdom to hide the bodies of those people I had to kill today cos they pi**ed me off.
Posted

I think you should use the request.form("Variable") to re-populate, but i might be wrong... I also had that problem and

that was whaty i did... it Sounds a bit primitive (Good ol' ASP), so if you find a better way post it here... :)

Regards

James

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...