473,396 Members | 1,815 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,396 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 4945
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.