|
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="myControl.ascx.cs" Inherits="ResolveClientId.myControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<h4>How to resolve client ids in containers:</h4>
<asp:TextBox ID="mytext" Runat=server></asp:TextBox>
<input type=hidden id="ctrlPrefix" name="ctrlPrefix" value='<asp:Literal Runat=server ID=ctrlPrefix></asp:Literal>'>
<br>
<input type=button name="btnRead" value="Read Value" onclick="javascript:readValue('mytext')">
|
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.
Software engineer, author & speaker who enjoys mentoring, learning, speaking and sharing with others about software development technologies. Microsoft MVP.
My Blog