Re: Working with hidden input controls and Visual Studio .Net 2003



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




.



Relevant Pages

  • version/source control in datawarehouse project
    ... and our development machine is also given by user. ... There is no server or desktop in our company. ... I think it's VERY important to have code under version control. ... When sb wants to modify the code, ...
    (microsoft.public.sqlserver.datawarehouse)
  • Re: version/source control in datawarehouse project
    ... SSAS ans SSRS files under a source control system like visual source safe very easily. ... you can use configuration files to store your database connections. ... each folder will contains SQL scripts which modify the database and each developer as to apply the patches on his own environment. ... There is no server or desktop in our company. ...
    (microsoft.public.sqlserver.datawarehouse)
  • Re: How to hide directories?
    ... I don't like to give anyone but system/admins full control - for all users, ... modify is quite enough. ... > I have just started an SBS server. ... I moved the folder where users home direktory are ...
    (microsoft.public.windows.server.sbs)
  • remote control over water pump
    ... how do I from 2700 km control such IBM thinkpad? ... is there a simple server to correct and modify any file in that IBM ...
    (sci.electronics.design)
  • Asp.net Important Topics.
    ... ASP.NET server controls contained within the page. ... A custom server control is ... can also perform validation using client script. ... Where does the Web page belong in the .NET Framework class hierarchy? ...
    (microsoft.public.dotnet.framework.aspnet)

Loading