Click here to Skip to main content
12,693,601 members (28,478 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Howto » Downloads

Stats

208.9K views
485 downloads
21 bookmarked
Posted

ASP.NET: How to Resolve Client ID

, 1 Feb 2007 CPOL
A method to resolve the client IDs of controls in containers.
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="ResolveClientId.WebForm1" %>
<%@ Register TagPrefix="uc1" TagName="myControl" Src="myControl.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <title>Resolve Client Id by 0zkar</title>
    <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
    <script language="javascript" src="mycontrol.js"></script>
  </HEAD>
  <body MS_POSITIONING="GridLayout" bgcolor="#ffffcc" >
	
    <form id="Form1" method="post" runat="server">    
	<uc1:myControl id=myControl runat="server"></uc1:myControl>        
    </form>
	
  </body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

ozkar garcia
Architect OG-BITechnologies
United States United States

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 1 Feb 2007
Article Copyright 2007 by ozkar garcia
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid