Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input type=hidden
Message
 
To
03/06/2009 17:15:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Application:
Web
Miscellaneous
Thread ID:
01403531
Message ID:
01403594
Views:
34
>I do need to reference it from my code behind. I am setting the value in code behind, and then checking that value in java script. Is this true for input= as opposed to ASP HiddenField types? I tried both, but neither show up in my source. Interestingly in another sample page it works perfect but there isn't a master page involved and thus no Content holder.


Any control which is run server side is subject to ID mangling. The next version of ASP.NET is supposed to let you enable/disable name mangling - it annoys a lot of devs. The only way to make sure it doesn't happen is to use something like the asp:Literal control and render in the raw HTML into its Text property.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform