Hi all
i have UltraWebTab. in that UltraWebTab i have two tabs. In each tab i have some WebTextEdits. each WebTextEdit i have placed in WARP. suppose i have a webTextEdit "txt1" in Tab1 and another WebTextEdit "txt2" in Tab2. Both are in WARP (let say txt1 is in warp1 and txt2 is in warp2). i set "LinkedRefreshControlID" of warp1 to warp2, so that if valueChanged event occurs from txt1, it should update warp2 and same i did with warp2, that set its LinkedRefreshControlID property to warp1, but its not updating. although asyncronous post back is occuring. Here is my aspx code. please can any body help me
ontabclick="UltraWebTab1_TabClick" SelectedTab="1">
<Tabs>
<igtab:Tab Text="English">
<ContentTemplate>
style="width: 60%">
<tr>
<td width="20%">
<asp:Label ID="Label7" runat="server" Text="Company:"></asp:Label>
</td>
<td colspan="4" style="width: 70%" width="50%">
LinkedRefreshControlID="warpShortNameCompanyLabel" Width="100%">
BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
SelForeColor="White" StyleSetName="Office2007Blue" Version="4.00">
<Columns>
<igtbl:UltraGridColumn>
<Header Caption="Column0">
</Header>
</igtbl:UltraGridColumn>
</Columns>
<ExpandEffects ShadowColor="LightGray" />
Version="4.00" XmlLoadOnDemandType="Accumulative">
Width="325px">
</FrameStyle>
<HeaderStyle BackColor="LightGray" BorderStyle="Solid">
WidthTop="1px" />
</HeaderStyle>
BorderWidth="1px">
<BorderDetails WidthLeft="0px" WidthTop="0px" />
</RowStyle>
<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />
</DropDownLayout>
</igcmbo:WebCombo>
</igmisc:WebAsyncRefreshPanel>
<td style="width: 0%" width="70%">
Width="80px" LinkedRefreshControlID="warpShortNameCompany">
Visible="False"></asp:Label>
<td style="width: 23%" width="70%">
Width="100%">
<asp:Label ID="lblShortName" runat="server"></asp:Label>
</tr>
<asp:Label ID="Label9" runat="server" Text="Division:"></asp:Label>
<td colspan="4" style="width: -70%" width="70%">
LinkedRefreshControlID="warpShortName" Width="100%">
<td width="70%">
<asp:Label ID="lblShortNameDivisionLabel" runat="server" Text="Short Name:" Visible="False"></asp:Label>
<asp:Label ID="lblShortNameDivision" runat="server"></asp:Label>
<asp:Label ID="lblShortName0" runat="server">Code:</asp:Label>
<td style="width: -70%">
LinkedRefreshControlID="UltraWebTab1$ctl01$warpCodeArabic">
StyleSetName="Office2007Blue" Width="100px">
</igtxt:WebTextEdit>
<td nowrap="nowrap" style="width: 70%">
ValidationGroup="Save"></asp:RequiredFieldValidator>
<asp:Label ID="Label11" runat="server" Text="Mnemonic:"></asp:Label>
<td align="left" style="width: 23%" width="70%">
<igmisc:WebAsyncRefreshPanel ID="warpMnemonic" runat="server">
<td nowrap="nowrap" width="20%">
SetFocusOnError="True" ValidationGroup="Save"></asp:RequiredFieldValidator>
</td>
<asp:Label ID="lblShortName1" runat="server">Short Name:</asp:Label>
<igmisc:WebAsyncRefreshPanel ID="warpShortName" runat="server">
<asp:Label ID="lblShortName2" runat="server">Description:</asp:Label>
<td align="left" colspan="2" style="width: 70%">
<igmisc:WebAsyncRefreshPanel ID="warpDescription" runat="server">
StyleSetName="Office2007Blue">
<td colspan="7" bgcolor="white" style="border: 1px solid #000000; width: 100%;" >
style="width: 100%">
<td align="right" style="font-size: 8pt; font-family: Verdana" valign="top">
ValidationGroup="Save" />
<td>
Text="Cancel" />
</table>
</ContentTemplate>
</igtab:Tab>
<igtab:TabSeparator>
</igtab:TabSeparator>
<igtab:Tab Text="العربية">
<asp:Label ID="Label12" runat="server" Text="Company:"></asp:Label>
<td colspan="4" style="width: 70%" width="50%" align="right" dir="rtl">
Width="80px">
Text="Short Name:" Visible="False"></asp:Label>
<asp:Label ID="lblShortNameArabic" runat="server"></asp:Label>
<asp:Label ID="Label14" runat="server" Text="Division:"></asp:Label>
<td colspan="4" style="width: -70%" width="70%" align="right">
Height="20px" Width="80px">
<asp:Label ID="lblShortNameDivisionArabic" runat="server"></asp:Label>
<asp:Label ID="lblShortName4" runat="server">Code:</asp:Label>
<igmisc:WebAsyncRefreshPanel ID="warpCodeArabic" runat="server">
EnableAppStyling="True"
onvaluechange="txtCodeArabic_ValueChange">
ValidationGroup="SaveArabic"></asp:RequiredFieldValidator>
<asp:Label ID="Label16" runat="server" Text="Mnemonic:"></asp:Label>
<igmisc:WebAsyncRefreshPanel ID="warpMnemonicArabic" runat="server">
SetFocusOnError="True" ValidationGroup="SaveArabic"></asp:RequiredFieldValidator>
<asp:Label ID="lblShortName5" runat="server">Short Name:</asp:Label>
<igmisc:WebAsyncRefreshPanel ID="warpShortName0" runat="server">
onvaluechange="txtShortNameArabic_ValueChange">
<td width="70%" nowrap="nowrap">
<asp:Label ID="lblShortName6" runat="server">Description:</asp:Label>
<td align="right" colspan="2" style="width: 70%">
<igmisc:WebAsyncRefreshPanel ID="warpDescriptionArabic" runat="server">
<td bgcolor="white" colspan="7" style="border: 1px solid #000000; width: 100%;">
<td align="left" style="font-size: 8pt; font-family: Verdana" valign="top">
ValidationGroup="SaveArabic" />
<td align="right">
</Tabs>
<SelectedTabStyle ForeColor="Black">
</SelectedTabStyle>
</igtab:UltraWebTab>
Hi,
If you put control into a naming container (such as usercontrol, contentpane, ultrawebtab, etc.) then client element has id different from ID on server. That means that you cannot use ID to set value for LinkedRefreshControlID or similar property. Because it relies on exact value of ClientID. You should set those properties at run time (within OnLoad or similar event). To add linked control you may try
and use reference to control or its UniqueID.
Thanks for the tip viktor!!