Creating Controls with Javascript and getting to them from the server.

Discussion in 'ASP .Net Building Controls' started by KJ, Dec 2, 2003.

  1. KJ

    KJ Guest

    Maybe I did this wrong. I think I did but I built some textbox
    controls using Javascript and I call the javascript function that
    builts and adds the controls to the page when I click an htmlbutton on
    my aspx page.

    Now I have a problem. I can't access the controls after they are
    added. I view the source and they are not there. Does anyone know how
    to access them?


    I have been searching around. I think I went about this the wrong way.
    Can someone help me? Thanks
     
    KJ, Dec 2, 2003
    #1
    1. Advertising

  2. "KJ" <> wrote in message
    news:...
    > Maybe I did this wrong. I think I did but I built some textbox
    > controls using Javascript and I call the javascript function that
    > builts and adds the controls to the page when I click an htmlbutton on
    > my aspx page.
    >
    > Now I have a problem. I can't access the controls after they are
    > added. I view the source and they are not there. Does anyone know how
    > to access them?
    >
    >
    > I have been searching around. I think I went about this the wrong way.
    > Can someone help me? Thanks


    Why would they be in the source?

    Did you look for them in the DOM?

    Also, this isn't an ASP.NET Controls issue, so maybe you'd do better to post
    this somewhere else.
    --
    John Saunders
    John.Saunders at SurfControl.com
     
    John Saunders, Dec 2, 2003
    #2
    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. Paul D. Fox
    Replies:
    1
    Views:
    14,251
  2. enstn85
    Replies:
    0
    Views:
    557
    enstn85
    Jun 20, 2006
  3. Anonieko

    HttpHandlers - Learn Them. Use Them.

    Anonieko, Jun 15, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    538
    tdavisjr
    Jun 16, 2006
  4. Daz
    Replies:
    2
    Views:
    273
  5. why the lucky stiff
    Replies:
    5
    Views:
    153
    why the lucky stiff
    Sep 22, 2004
Loading...

Share This Page