Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Javascript set button enable on checkbox true
Message
De
20/10/2010 19:37:44
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 4.0
Application:
Web
Divers
Thread ID:
01485567
Message ID:
01486424
Vues:
29
>>
>>Thanks a bunch Paul, this is helpful.. I also found this Validation plug in for jquery that is really nice.
>
>Ah, yeah, I should have mentioned that as well.
>
>> Problem is I cannot figure out how to get a script or a script source into my page from the user control. I tried a RadCodeBlock and thought that was supposed to work but it does not. I also tried this in the OnInit
>>
>>Page.ClientScript.RegisterClientScriptResource(GetType(), "~/scripts/EnrollmentValidation.js");
>>
>>
>
>Is your js file stored as a resource file in your project? If not, then that won't work. Try RegisterClientScriptInclude instead.

Well that did get the script on the page as I can see it in firebug. Now if I can just get it tweaked enough to make it do something. Thanks Paul. Dreaming of doing Silverlight and getting away from asp. :-)
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform