This article discusses about one of the new feature "Client ID generation" of ASP.NET 4.0
Introduction
Prerequisite
Why Client Ids
ClientIds earlier
Controlling Client Ids with ASP.NET 4.0
Normal Controls
Data Controls
Setting the property at various levels
Feedback and Suggestions
Introduction:
From last sometimes, I started exploring ASP.NET 4.0 webforms enhancement. I really found some exciting enhancements in ASP.NET 4.0 and am sure, this all going to be make web development simple and will provide more flexibility to us.So I started picking the most exciting features of the ASP.NET 4.0 one by one.Earlier I wrote on URL Routing, you can go through to the link as below.
URL Routing with ASP.NET 4.0 [^]
As form the Title, you know that here I am going to discuss how we can control over generation of Client Ids of ASP.NET Server controls in ASP.NET 4.0. This Client Ids was another thing that was earlier mystery for me but later I identified the algorithm that is used to generate the the ClientIds for the server controls by the .NET engine,but they never been user friendly.
Prerequsite:
Visual Studio 2010
Why Client Ids:
Client Ids were always been problem for us.But as now a days, in new age application we are moving more towards the client side programming in new Rich Interent applications. Many new technologies and the way of programming has been evolved in last few years to make very rich UI like JQuery,JSon,Dojo.
Read more: Codeproject
Introduction
Prerequisite
Why Client Ids
ClientIds earlier
Controlling Client Ids with ASP.NET 4.0
Normal Controls
Data Controls
Setting the property at various levels
Feedback and Suggestions
Introduction:
From last sometimes, I started exploring ASP.NET 4.0 webforms enhancement. I really found some exciting enhancements in ASP.NET 4.0 and am sure, this all going to be make web development simple and will provide more flexibility to us.So I started picking the most exciting features of the ASP.NET 4.0 one by one.Earlier I wrote on URL Routing, you can go through to the link as below.
URL Routing with ASP.NET 4.0 [^]
As form the Title, you know that here I am going to discuss how we can control over generation of Client Ids of ASP.NET Server controls in ASP.NET 4.0. This Client Ids was another thing that was earlier mystery for me but later I identified the algorithm that is used to generate the the ClientIds for the server controls by the .NET engine,but they never been user friendly.
Prerequsite:
Visual Studio 2010
Why Client Ids:
Client Ids were always been problem for us.But as now a days, in new age application we are moving more towards the client side programming in new Rich Interent applications. Many new technologies and the way of programming has been evolved in last few years to make very rich UI like JQuery,JSon,Dojo.
Read more: Codeproject