UniqueID vs ClientID

Discussion in 'ASP .Net' started by Sam Samnah, Jun 15, 2005.

  1. Sam Samnah

    Sam Samnah Guest

    Sorry if this seems like a simplestic question, but what is the difference
    between "this.UniqueID" and "this.ClientID"? and when should either be used?

    I am Sam I am.
     
    Sam Samnah, Jun 15, 2005
    #1
    1. Advertising

  2. Sam Samnah

    Bruce Barker Guest

    this.UniqueID is the control's name appended with all naming containers,
    think of it as the fully qualified control name. this.ClientID is the value
    that will appear in the id attribute of the control, it is a translation of
    the uniqueid to be a (well almost) html compliant id tag (leading
    underscores are not really html compliant).

    -- bruce (sqlwork.com)


    "Sam Samnah" <> wrote in message
    news:...
    > Sorry if this seems like a simplestic question, but what is the difference
    > between "this.UniqueID" and "this.ClientID"? and when should either be
    > used?
    >
    > I am Sam I am.
    >
     
    Bruce Barker, Jun 15, 2005
    #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. David Whitney
    Replies:
    1
    Views:
    605
    Natty Gur
    Jul 21, 2003
  2. Maras
    Replies:
    1
    Views:
    3,188
    Cowboy \(Gregory A. Beamer\)
    Oct 15, 2003
  3. Henri
    Replies:
    2
    Views:
    12,210
    Henri
    May 18, 2004
  4. Kepler
    Replies:
    1
    Views:
    452
    Kepler
    Jul 7, 2004
  5. Ken Baltrinic

    UniqueID vs. ClientID Why are they Differenct?

    Ken Baltrinic, Mar 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    8,806
    Ken Baltrinic
    Mar 4, 2005
Loading...

Share This Page