Custom Control & JavaScript

Discussion in 'ASP .Net Web Controls' started by bspann, Nov 11, 2003.

  1. bspann

    bspann Guest

    Hi,

    I have a control that I have written from .inc files. My control is used as
    both the Company Header and site Navigation. The navigation was done using
    drop-down menu's via JavaScript (old way). Now I want to provide an easy,
    scalable solution to this problem. I have an XML file that the users of the
    control can fill in. I have private methods that will read the XML file and
    walk the XML tree. The problem is with the JavaScript. The old way put the
    ..JS files in the Head of the page. I have not been able to get JavaScript
    or src files listed in the Head of the page the control is placed. When I
    get the JavaScript to display (Source), it is just below the Form tag. Is
    there a way to get the Script to display in the head via the control? Does
    anyone have any other suggestions?

    Thanks,

    Brian
     
    bspann, Nov 11, 2003
    #1
    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. Replies:
    0
    Views:
    747
  2. Jonah Olsson
    Replies:
    1
    Views:
    611
    Scott Allen
    Apr 5, 2005
  3. J R M
    Replies:
    2
    Views:
    453
    Charlie@CBFC
    Jun 1, 2006
  4. Matt Sokol
    Replies:
    2
    Views:
    427
    Theo Tillotson
    Aug 7, 2003
  5. Jonah Olsson
    Replies:
    2
    Views:
    218
    Jonah Olsson
    Apr 5, 2005
Loading...

Share This Page