Can JavaScript Add/Modify the ViewState

  • Thread starter Thread starter MS News \(MS ILM\)
  • Start date Start date
Thank you Steve.

No. The viewstate is encoded on the client side and messing with it will cause it to break upon postback.
You must modify viewstate on the server, but you can use javascript to pass data back and forth to the server.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire

Hello,

Can JavaScript Add/Modify the ViewState

thanks
 
Back
Top