Dynamic Javascript

R

rwoo_98

Has anyone been able to create dynamic javascript on a MobilePage?


I was able to make it work doing the following:


<HeaderTemplate>
<asp:Literal ID="js_Array" Runat="server"></asp:Literal>
</HeaderTemplate>


and dynamically creating the text for Literal js_Array on page load.


I tried doing the same thing using the script template, but the
javascript did not render. Is this functionality supported in
<ScriptTemplate>? If so, how?


Are there any issues with using the HeaderTemplate?


Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top