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.
Hello,
I am having the similar issue, I placed Infragistics Text boxes inside WebExplorerBar and getting error as 'Control Name' is not declared. It may be inaccessible due to its protection level. I am trying like this
'template.Name.TextValue = txtSearchName.Text template.Name.TextValue = Me.pnlPhysical.Groups[0].FindControl("txtSearchName").Controls[0];
But still getting error as Value of Infragistics.Web.UI.NavigationControls.ExplorerBarGroupCollection cannot be converted to string.
I even tried these lines as well, but no result. Please help in this regard. Thanks in advance.
template.Name.TextValue = Me.pnlPhysical.Groups[0].FindControl("txtSearchName").Controls[0].ToString();
Convert.ToString(Me.pnlPhysical.Groups[0].FindControl("txtSearchName").Controls[0])
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
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.