Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
how to access user control and textbox inside WebExplorerBar
posted

hi,

I recently donwloaded version 15.1 and replacing all obsolete controls.I have WebExplorerBar and inside I haVE USER CONTROL.

how can I access this user id and any other asp controls:

<ig:WebExplorerBar ID="WebExplorerBar1" runat="server" CssClass="viewPanel" StyleSetName="Header" Width="805px" Height="870px">
<%--<igmisc:WebPanel ID="ViewPanel" runat="server" CssClass="viewPanel" StyleSetName="Header"
Width="805px" Height="870px">--%>
<%--<ClientSideEvents ExpandedStateChanging="CancelXpand" />--%>
<ItemTemplate>

<div class="content" id="content">
<div id="navigation" class="navigation" style="height: 5px;">
</div>
<div id="findemp" class="findemp" style="margin-top: 0px">
<div id="personInfo" style="margin-top: 0px">
<table>
<tr>
<td>
<uc1:CFNList ID="CFNList1" runat="server"></uc1:CFNList>
</td>
<%--<td>
Location:<br />
<asp:TextBox ID="txtLocation" runat="server" CssClass="txtinput" Font-Size="X-Small"
Height="12px" Width="75px" MaxLength="6" ToolTip="Please Enter Six Char DBN (Dist, Boro, School"></asp:TextBox>
</td>--%>
<td>
EIS ID:<br />
<asp:TextBox ID="txtEISid" runat="server" CssClass="txtinput" Font-Size="X-Small"
Height="12px" Width="75px" MaxLength="7" ToolTip="Please Enter"

Thanks.

Parents
No Data
Reply
  • 16310
    Offline posted

    Hi,

    You can use the following syntax to access a control that is used to template the WebEplorerBar items:

    this.WebExplorerBar1.Groups[0].FindControl("CFNList1").Controls[0];

    From here you take .UniqueID which will return the client ID of the control. Please let me know if you have other questions on the matter.

Children