Vithal Wadje
How to create a new unique ID for a control?
Posted by Vithal Wadje in ASP.NET Programming on Oct 17, 2012
  • 1
  • 3
  • 1901
Do you know the answer for this question? Post it below.
Posted by prathap on Dec 15, 2012
  • 0

ASP.NET supports three kinds of identification:

  1. ID

  2. ClientID

  3. UniqueID

    1. in ASP.NET, UniqueID is used with HTML name attribute. UniqueID is used for server side processing. The ClientId with HTML id attribute of rendered HTML tag. ClientID is used for client side processing.

      .Net Training

Posted by eswari on Nov 07, 2012
  • 0

protected void Page_PreRenderComplete(object sender, EventArgs e)



new Tuple("PreRenderComplete", MyControl.UniqueID));


Joomla Web Design

Posted by Vithal Wadje on Oct 17, 2012
  • 0

. ControlName.ID = “ControlName” + Guid.NewGuid().ToString();

Most Popular Companies

Most Popular Job Functions