Dynamic Javascript

Discussion in 'ASP .Net Mobile' started by rwoo_98@yahoo.com, Oct 3, 2005.

  1. Guest

    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,
     
    , Oct 3, 2005
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Thunell
    Replies:
    3
    Views:
    3,617
    Edward
    Jul 21, 2004
  2. =?Utf-8?B?VGVyb3M=?=

    Dynamic Variables? OR Dynamic Controls

    =?Utf-8?B?VGVyb3M=?=, Aug 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    590
    Scott Allen
    Aug 10, 2004
  3. Replies:
    5
    Views:
    5,807
  4. =?Utf-8?B?QkxpVFpXaU5H?=

    Adding dynamic LinkButton to dynamic table

    =?Utf-8?B?QkxpVFpXaU5H?=, Jul 27, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    879
    =?Utf-8?B?QkxpVFpXaU5H?=
    Jul 27, 2005
  5. Ronald
    Replies:
    2
    Views:
    1,061
    Robbe Morris [C# MVP]
    Jan 17, 2006
  6. arthernan
    Replies:
    0
    Views:
    1,640
    arthernan
    Mar 10, 2006
  7. Replies:
    0
    Views:
    172
  8. parez
    Replies:
    0
    Views:
    246
    parez
    Sep 11, 2007
Loading...