Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you determine the client side NAME of a server control?

Tags:

asp.net

Let's say I have a DropDownList server control, called "CategoriesDDL" and the ClientID proeprty determines its client side id, which is its ID prefixed with the id's NamingContainer's ids. In this case the client side ID is CP1_CategoriesDDL. But what is the rule regarding the client side name, in this case "ct100$CP1_CategoriesDDL"?

like image 826
Aperture Avatar asked Feb 04 '11 04:02

Aperture


People also ask

What are client-side controls?

Client side access control is at hand, when the process or mechanism that enforces a users set permission is implemented on the users end of the application. The issue with this approach is, that a user has full control over their machine, and therefore the upper hand when it comes to protective mechanisms.

What is client-side and server-side?

Client-side and server-side are sometimes referred to as front-end and back-end. The client-side of a website refers to the web browser and the server-side is where the data and source code is stored.

What is client and server control?

A server application provides services to clients. For example, a server could perform the following services on behalf of a client: Save and retrieve information from a private database. Access network resources. Start processes in the client's security context on the server's computer.

What is client-side and server-side with example?

Client-side development gathers input from users. For example, developers can use JavaScript to create forms that collect user input. Meanwhile, server-side development processes this input. For example, developers can use PHP to connect a database to a website and send user-inputted data to the database.


1 Answers

Any chance you're simply after the Control.UniqueId property?

Server side, this will return the client side "name" attribute value of the control.

like image 65
Mark Berryman Avatar answered Nov 15 '22 05:11

Mark Berryman