Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input type=hidden
Message
 
To
03/06/2009 16:23:33
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:
01403559
Views:
37
>I have a asp page that includes a master page. I have placed a hidden input inside the content holder but it does not seem to be accessible via the java script.
>
><input type="hidden" id="rowindex" runat="server" />
>
>
>I do not get any errors when referencing this field in the code behind, but I can't seem to access it from java script. Also, when I view page source, it isn't there. Many others are that I don't have anything to do with, but mine is not there. Anybody know where I need to place this for it to be available?
>Thanks
>Tim

Since you're including the "runat" ASP.NET is mangling the client name. The only reason you'd need it is if you want to access it from your code-behind page. Otherwise, remove it and it should appear as-is.
-Paul

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

Click here to load this message in the networking platform