Re: Working with hidden input controls and Visual Studio .Net 2003
- From: Brock Allen <ballen@xxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Apr 2005 16:47:13 -0700
I guess the other thing I was wondering with respect to this is if there's a way to automate this with VS (like adding any other control), and if not if I was putting that information in the correct place on the code behind page.
There's not much difference technically. It's just which ever approach you like.
Lastly, I was wondering if that method is better than using the ViewState.
The big difference there is that any javascript you write on the page can set something into the hidden to have it sent back to the server when the form is submitted. This is far too difficult if the data's inside of viewstate somewhere. But, if you don't need javascript to modify the value and you just want it passed back to the server on a post, the view state is far easier.
-Brock DevelopMentor http://staff.develop.com/ballen
.
- References:
- Re: Working with hidden input controls and Visual Studio .Net 2003
- From: Iguana Frank
- Re: Working with hidden input controls and Visual Studio .Net 2003
- Prev by Date: RE: Error when attaching multiple files (System.web.mail)
- Next by Date: Re: Server-side script with input parameter from Client-side script
- Previous by thread: Re: Working with hidden input controls and Visual Studio .Net 2003
- Next by thread: application variables & application context
- Index(es):
Relevant Pages
|
Loading