Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ScriptManager.RegisterStartupScript not working
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01628589
Message ID:
01628602
Vues:
29
>>Hi,
>>
>>Here is the summary of what I am trying to do in an ASP.NET page and code behind:
>>
>>The ASPX page has a hidden input text ID="NewStorage"
>
>View the source and make sure the hidden text field's ID is really NewStorage. ASP.NET likes to mangle them if you're using a server-side control for this. I thought they added a way to stop it from doing this. It looks like maybe ClientIDMode = "Static"?

You are right. Thank you! ClientIDMode='Static" solved the issue.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform