Javascript external file generated by asp.net

Discussion in 'ASP .Net' started by Matt Weaver, Jan 13, 2005.

  1. Matt Weaver

    Matt Weaver Guest

    I'm converting an application from VB6 to VB.NET. In the application, a
    page calls an external javascript file which is generated in ASP. I'm
    trying to do this in an ASPX page, but I can't figure out how to
    generate a page without HTML page pages (<HTML><HEAD><BODY>). How can I
    do this? TIA

    Matt Weaver
     
    Matt Weaver, Jan 13, 2005
    #1
    1. Advertising

  2. Matt Weaver

    David Jessee Guest

    Look at
    Page.RegisterClientScriptBlock



    "Matt Weaver" <> wrote in message
    news:OhhxTnY%...
    > I'm converting an application from VB6 to VB.NET. In the application, a
    > page calls an external javascript file which is generated in ASP. I'm
    > trying to do this in an ASPX page, but I can't figure out how to
    > generate a page without HTML page pages (<HTML><HEAD><BODY>). How can I
    > do this? TIA
    >
    > Matt Weaver
    >
     
    David Jessee, Jan 16, 2005
    #2
    1. Advertising

  3. Matt Weaver

    Matt Weaver Guest

    Thanks David. What I need to do though is surpress the page tags <HTML>,
    etc., or page can't be recognized as an external javascript file.

    Matt.

    David Jessee wrote:
    > Look at
    > Page.RegisterClientScriptBlock
    >
    >
    >
    > "Matt Weaver" <> wrote in message
    > news:OhhxTnY%...
    >
    >>I'm converting an application from VB6 to VB.NET. In the application, a
    >>page calls an external javascript file which is generated in ASP. I'm
    >>trying to do this in an ASPX page, but I can't figure out how to
    >>generate a page without HTML page pages (<HTML><HEAD><BODY>). How can I
    >>do this? TIA
    >>
    >>Matt Weaver
    >>

    >
    >
    >
     
    Matt Weaver, Jan 27, 2005
    #3
    1. Advertising

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. Nathan Sokalski
    Replies:
    4
    Views:
    607
    PJ on Development
    Nov 8, 2007
  2. Replies:
    2
    Views:
    422
    MegaStar
    Aug 26, 2008
  3. Hemant

    ASP.NET 2.0-generated Javascript

    Hemant, Sep 2, 2009, in forum: ASP .Net
    Replies:
    2
    Views:
    287
    ThatsIT.net.au
    Sep 3, 2009
  4. Nathan Sokalski
    Replies:
    4
    Views:
    205
    PJ on Development
    Nov 8, 2007
  5. Mellow Crow
    Replies:
    6
    Views:
    430
    Richard Cornford
    Nov 4, 2005
Loading...

Share This Page