HtmlInputHidden have no id whne is randered.

Discussion in 'ASP .Net Web Controls' started by mugurel, Jun 3, 2005.

  1. mugurel

    mugurel Guest

    I have an composite control wich contain an ImputHidden. I have to pass
    ClientId for this HtmlInputHidden to an Jscript.
    The problem is that the HtmlInputHidden don't rander the with id attribute.
    Can somebody advise my what should I do?
     
    mugurel, Jun 3, 2005
    #1
    1. Advertisements

  2. Hello,

    You could either try assigning an ID to the control yourself, or you could
    just add it to the Controls collection and an ID would be assigned.

    Regards,
    -Visar

    "mugurel" wrote:

    > I have an composite control wich contain an ImputHidden. I have to pass
    > ClientId for this HtmlInputHidden to an Jscript.
    > The problem is that the HtmlInputHidden don't rander the with id attribute.
    > Can somebody advise my what should I do?
     
    Visar Gashi, MCP, Jun 3, 2005
    #2
    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. Jiho Han
    Replies:
    2
    Views:
    2,094
    Jiho Han
    Feb 11, 2004
  2. Julius Fenata

    HtmlInputHidden Control

    Julius Fenata, Jan 18, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    547
    Julius Fenata
    Jan 18, 2005
  3. =?Utf-8?B?cmdyYW5kaWRpZXI=?=

    Can I have base class derived from System.Web.UI.Page have design

    =?Utf-8?B?cmdyYW5kaWRpZXI=?=, Jul 22, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    664
    Patrice
    Jul 22, 2005
  4. Replies:
    6
    Views:
    2,174
  5. Jack
    Replies:
    4
    Views:
    2,174
  6. Ma³y Piotruœ

    ASP.NET: HtmlInputHidden = Nothing

    Ma³y Piotruœ, Dec 4, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    756
    Ma³y Piotruœ
    Dec 4, 2005
  7. Scott
    Replies:
    1
    Views:
    862
    Scott
    Nov 26, 2004
  8. Guest

    hiddenfield / htmlInputHidden ?

    Guest, Jun 11, 2005, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    911
    Mythran
    Jun 13, 2005
Loading...