Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Working with hidden input controls and Visual Studio .Net 2003

Reply
Thread Tools

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

 
 
Brock Allen
Guest
Posts: n/a
 
      04-12-2005
Yes, that's one way. The other is to use Page.RegisterHiddenField.

-Brock
DevelopMentor
http://staff.develop.com/ballen



> What is the best/recommended way to add a hidden input control to a
> webform within Visual Studio? I'm using vb.net and code behind
> (probably implied with Visual Studio).
>
> What I did was to add the following on the .aspx page:
>
> <input id="CurrentStep" type="hidden" value="" runat="server"
> NAME="CurrentStep">
>
> And then I added this in the Web Form Designer Generated Code Section:
>
> Protected WithEvents CurrentStep As
> System.Web.UI.HtmlControls.HtmlInputHidden
>
> Am I missing something? Is there a better way to add that type of
> control?
>
> Thanks!
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Visual Studio NET Enterprise Architect 2002 and Visual Studio NET 2003 difference xman C++ 1 08-17-2005 04:13 PM
Re: Visual Studio NET Enterprise Architect 2002 and Visual Studio NET 2003 difference xman C++ 0 08-17-2005 04:00 PM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments