Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input type=hidden
Message
 
À
03/06/2009 17:15:11
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Application:
Web
Divers
Thread ID:
01403531
Message ID:
01403594
Vues:
35
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform