Hello guys,
I m trying to find some controls using javascript like this:
var cflTabOrderId = '<%=cflTabOrder.ClientID%>';
but I got error:
"The name 'cflTabOrder' does not exist in the current context"
The tags is like:
Also I can not use this control from code behide.
Just wonder why the control is invisible?
Regards,
Elton
I m trying to find some controls using javascript like this:
var cflTabOrderId = '<%=cflTabOrder.ClientID%>';
but I got error:
"The name 'cflTabOrder' does not exist in the current context"
The tags is like:
<telerik:RadTabStrip ID="tbMain" runat="server" MultiPageID="RadMultiPage1" AutoPostBack="false" width="100%" EnableViewState="false" OnClientTabSelected="tsRadTabStrip1_ClientTabSelected" |
SelectedIndex="0" Skin="Office2007" style="" CausesValidation="false" OnTabCreated="tbMain_TabCreated" OnClientTabSelecting="tsRadTabStrip1_ClientTabSelecting"> |
<Tabs> |
<telerik:RadTab ID="tabOrder" runat="server" Text="<img id='errTabOrder' alt='' title='invalid input' src='../../_common/image/form/err.gif' style='display:none;float:left; border:none'/>order" PageViewID="pvOrder" Value="pvOrder" EnableViewState="false"> |
<TabTemplate> |
<asp:Image ID="cflTabOrder" SkinID="imgConflictImage" runat="server" ToolTip="data conflict" style="padding-top:2px;display:none;float:left; border:none"/> |
<asp:CustomValidator ID="cvTabOrder" runat="server" Display="Dynamic" style="vertical-align:bottom" |
ErrorMessage="input error" Text="<img src='../../_common/image/form/err.gif' />" |
ToolTip="input error" ClientValidationFunction="cvTabOrder_clientValidate" ValidateEmptyText="true" |
ValidationGroup="vgUpdate"> |
</asp:CustomValidator> |
order details |
</TabTemplate> |
</telerik:RadTab> |
<telerik:RadTab ID="tabBrochures" runat="server" Text="<img id='errTabBrochure' alt='' title='invalid input' src='../../_common/image/form/err.gif' style='display:none;float:left; border:none'/>brochures" PageViewID="pvBrochures" Value="pvBrochures" EnableViewState="false"> |
<TabTemplate> |
<img id='cflTabOrder2' alt='' title='data conflict' src="../../_common/image/grid/conflict.jpg" style='padding-top:2px;display:none;float:left; border:none'/> |
<asp:CustomValidator ID="cvTabBrochure" runat="server" Display="Dynamic" |
ErrorMessage="input error" Text="<img src='../../_common/image/form/err.gif' />" |
ToolTip="input error" ClientValidationFunction="" ValidateEmptyText="true" |
ValidationGroup="vgUpdate"> |
</asp:CustomValidator> |
brochures |
</TabTemplate> |
</telerik:RadTab> |
<telerik:RadTab ID="tabShipment" runat="server" Text="<img id='errTabShip' alt='' title='invalid input' src='../../_common/image/form/err.gif' style='display:none;float:left; border:none'/>ship to" PageViewID="pvShipment" Value="pvShipment" EnableViewState="false"> |
</telerik:RadTab> |
</Tabs> |
</telerik:RadTabStrip> |
Just wonder why the control is invisible?
Regards,
Elton