Versions des environnements
>>Don't see how the ClientScriptManager would help in my situation - I'm happy to have the Javascript embedded in the HTML markup and that part is working fine. My problem is finding a way to modify the HtmlAnchor on the server side when it doesn't have a 'runat=server' attribute.
>>
>>Regards,
>>Viv
>
>Create a JavaScript function in your page to modify the HTML based on the passed message and just call this function with your server parameter calling ClientScriptManager. That's the approach we're using in one of our pages, I can give you more details later on if needed.
I thought of doing something like that but it just felt a bit 'clunky'. Since I've realized that I can have an HTML anchor with a runat server attribute without actually causing a postback I can go with that.
Best,
Viv
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement