This post explains about setting the client ids in ASP.NET 4.0. Knowing the id attribute of the control rendered on page is a long-standing issue. It is important to know the id if we want to use it in script libraries. The new property ClientIdMode Addresses this issue...