473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

UniqueID vs ClientID

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.
Nov 19 '05 #1
1 4943
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" <we**********@terraquest123.ca> wrote in message
news:uL**************@TK2MSFTNGP12.phx.gbl...
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.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Maras | last post by:
Hello, as we know VB is not case sensivity. I have a following problem, I have to send to another server few parametrs by post or get method, one of them MUST be a "clientID", it's preety...
2
by: Henri | last post by:
Sorry to post so many questions but if you could tell me the difference between these 3 IDs, it would help me a lot. I don't know which one to use inside my custom control...
1
by: Kepler | last post by:
I have a custom control that is thrown onto a UserControl that is thrown onto a WebForm. Basically, I've got a scenario where if my UserControl sets an attribute on the custom control in the ascx,...
2
by: Ken Baltrinic | last post by:
Can someone explain this? I am writing an owner rendered User Control that basically wraps some functionality around a text box. This control uses client side javascript and implments...
2
by: Arne | last post by:
Is the Page ID supposed to do anything? Before service pack 1 on .net 1.1, I had a proper name of the page that I could use for a generic error routine. Now the ID is blank. The ID is also useless...
1
by: Aamir Mahmood | last post by:
Hi all, Is there a bug in the implementation of property UniqueID for radio button control. Because what I get through the UniqueID property is not what is rendered in the final html output. ...
2
by: Neo Geshel | last post by:
After pouring over about a dozen sites that clearly dealt with ClientID all by itself, I came to the realization that about 2/3+ of them were doing it wrong. It is indeed impossible to grab the...
2
by: JJ | last post by:
Hi, Can anyone advise me how is the ClientID issued? I had a suite Controls which consist of a context menu (i.e. a group of tables, rows and cells situated in a class library) and a set of...
9
by: jason.hau | last post by:
Is there any way to alter this? I am aware that it's read only. Essentially the problem is that I have a webcontrol that dynamically creates a textbox and a requiredfieldvalidator control with the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.