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
360
WARP not updating in Other Tab
posted

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

<igtab:UltraWebTab ID="UltraWebTab1" runat="server" EnableAppStyling="True"

ontabclick="UltraWebTab1_TabClick" SelectedTab="1">

<Tabs>

<igtab:Tab Text="English">

<ContentTemplate>

<table align="left" border="0" cellpadding="0" cellspacing="5"

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%">

<igmisc:WebAsyncRefreshPanel ID="warpCompany" runat="server"

LinkedRefreshControlID="warpShortNameCompanyLabel" Width="100%">

<igcmbo:WebCombo ID="ddlCompany" runat="server" BackColor="White"

BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

EnableAppStyling="True" ForeColor="Black" Height="18px" SelBackColor="DarkBlue"

SelForeColor="White" StyleSetName="Office2007Blue" Version="4.00">

<Columns>

<igtbl:UltraGridColumn>

<Header Caption="Column0">

</Header>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="20px"

Version="4.00" XmlLoadOnDemandType="Accumulative">

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default" Font-Names="Verdana" Font-Size="10pt" Height="130px"

Width="325px">

</FrameStyle>

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</HeaderStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid"

BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />

</DropDownLayout>

</igcmbo:WebCombo>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: 0%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameCompanyLabel" runat="server"

Width="80px" LinkedRefreshControlID="warpShortNameCompany">

<asp:Label ID="lblShortNameCompanyLabel" runat="server" Text="Short Name:"

Visible="False"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: 23%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameCompany" runat="server"

Width="100%">

<asp:Label ID="lblShortName" runat="server"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

</tr>

<tr>

<td width="20%">

<asp:Label ID="Label9" runat="server" Text="Division:"></asp:Label>

</td>

<td colspan="4" style="width: -70%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpDivision" runat="server"

LinkedRefreshControlID="warpShortName" Width="100%">

<igcmbo:WebCombo ID="ddlDivision" runat="server" BackColor="White"

BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

EnableAppStyling="True" ForeColor="Black" Height="18px" SelBackColor="DarkBlue"

SelForeColor="White" StyleSetName="Office2007Blue" Version="4.00">

<Columns>

<igtbl:UltraGridColumn>

<Header Caption="Column0">

</Header>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="20px"

Version="4.00" XmlLoadOnDemandType="Accumulative">

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default" Font-Names="Verdana" Font-Size="10pt" Height="130px"

Width="325px">

</FrameStyle>

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</HeaderStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid"

BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />

</DropDownLayout>

</igcmbo:WebCombo>

</igmisc:WebAsyncRefreshPanel>

</td>

<td width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameDivisionLabel" runat="server"

Width="100%">

<asp:Label ID="lblShortNameDivisionLabel" runat="server" Text="Short Name:" Visible="False"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: 23%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameDivision" runat="server"

Width="100%">

<asp:Label ID="lblShortNameDivision" runat="server"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

</tr>

<tr>

<td width="20%">

<asp:Label ID="lblShortName0" runat="server">Code:</asp:Label>

</td>

<td style="width: -70%">

<igmisc:WebAsyncRefreshPanel ID="warpCode" runat="server"

LinkedRefreshControlID="UltraWebTab1$ctl01$warpCodeArabic">

<igtxt:WebTextEdit ID="txtCode" runat="server" AutoPostBack="True" EnableAppStyling="True" onvaluechange="txtCode_ValueChange"

StyleSetName="Office2007Blue" Width="100px">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td nowrap="nowrap" style="width: 70%">

<asp:RequiredFieldValidator ID="rfvCode" runat="server" ControlToValidate="txtCode" ErrorMessage="Code Required" SetFocusOnError="True"

ValidationGroup="Save"></asp:RequiredFieldValidator>

</td>

<td style="width: 0%" width="70%">

<asp:Label ID="Label11" runat="server" Text="Mnemonic:"></asp:Label>

</td>

<td align="left" style="width: 23%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpMnemonic" runat="server">

<igtxt:WebTextEdit ID="txtMnemonic" runat="server" AutoPostBack="True" EnableAppStyling="True" onvaluechange="txtMnemonic_ValueChange"

StyleSetName="Office2007Blue" Width="100px">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td nowrap="nowrap" width="20%">

<asp:RequiredFieldValidator ID="rfvMnemonic" runat="server" ControlToValidate="txtMnemonic" ErrorMessage="Mnemonic Required"

SetFocusOnError="True" ValidationGroup="Save"></asp:RequiredFieldValidator>

</td>

<td style="width: 23%" width="70%">

&nbsp;</td>

</tr>

<tr>

<td nowrap="nowrap" width="20%">

<asp:Label ID="lblShortName1" runat="server">Short Name:</asp:Label>

</td>

<td style="width: -70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortName" runat="server">

<igtxt:WebTextEdit ID="txtShortName" runat="server" AutoPostBack="True" EnableAppStyling="True" onvaluechange="txtShortName_ValueChange"

StyleSetName="Office2007Blue" Width="100px">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: -70%">

<asp:RequiredFieldValidator ID="rfvShorName" runat="server" ControlToValidate="txtShortName" ErrorMessage="Required" SetFocusOnError="True"

ValidationGroup="Save"></asp:RequiredFieldValidator>

</td>

<td style="width: 0%" width="70%">

<asp:Label ID="lblShortName2" runat="server">Description:</asp:Label>

</td>

<td align="left" colspan="2" style="width: 70%">

<igmisc:WebAsyncRefreshPanel ID="warpDescription" runat="server">

<igtxt:WebTextEdit ID="txtDescription" runat="server" AutoPostBack="True" EnableAppStyling="True" onvaluechange="txtDescription_ValueChange"

StyleSetName="Office2007Blue">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: 23%" width="70%">

&nbsp;</td>

</tr>

<tr>

<td colspan="7" bgcolor="white" style="border: 1px solid #000000; width: 100%;" >

<table align="center" border="0" cellpadding="0" cellspacing="5"

style="width: 100%">

<tr>

<td align="right" style="font-size: 8pt; font-family: Verdana" valign="top">

<asp:Button ID="btnUpdate" runat="server" CssClass="save_button" Text="Save"

ValidationGroup="Save" />

</td>

<td>

<asp:Button ID="btnCancel" runat="server" CssClass="cancel_button"

Text="Cancel" />

</td>

</tr>

</table>

</td>

</tr>

</table>

</ContentTemplate>

</igtab:Tab>

<igtab:TabSeparator>

</igtab:TabSeparator>

<igtab:Tab Text="&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;">

<ContentTemplate>

<table align="left" border="0" cellpadding="0" cellspacing="5" dir="rtl"

style="width: 60%">

<tr>

<td width="20%">

<asp:Label ID="Label12" runat="server" Text="Company:"></asp:Label>

</td>

<td colspan="4" style="width: 70%" width="50%" align="right" dir="rtl">

<igmisc:WebAsyncRefreshPanel ID="warpCompanyArabic" runat="server"

LinkedRefreshControlID="warpShortName" Width="100%">

<igcmbo:WebCombo ID="ddlCompanyArabic" runat="server" BackColor="White"

BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

EnableAppStyling="True" ForeColor="Black" Height="18px" SelBackColor="DarkBlue"

SelForeColor="White" StyleSetName="Office2007Blue" Version="4.00">

<Columns>

<igtbl:UltraGridColumn>

<Header Caption="Column0">

</Header>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="20px"

Version="4.00" XmlLoadOnDemandType="Accumulative">

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default" Font-Names="Verdana" Font-Size="10pt" Height="130px"

Width="325px">

</FrameStyle>

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</HeaderStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid"

BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />

</DropDownLayout>

</igcmbo:WebCombo>

</igmisc:WebAsyncRefreshPanel>

</td>

<td width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameLabelArabic" runat="server"

Width="80px">

<asp:Label ID="lblShortNameCompanyLabelArabic" runat="server"

Text="Short Name:" Visible="False"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: 23%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameCompanyArabic" runat="server"

Width="100%">

<asp:Label ID="lblShortNameArabic" runat="server"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

</tr>

<tr>

<td width="20%">

<asp:Label ID="Label14" runat="server" Text="Division:"></asp:Label>

</td>

<td colspan="4" style="width: -70%" width="70%" align="right">

<igmisc:WebAsyncRefreshPanel ID="warpDivisionArabic" runat="server"

LinkedRefreshControlID="warpShortName" Width="100%">

<igcmbo:WebCombo ID="ddlDivisionArabic" runat="server" BackColor="White"

BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

EnableAppStyling="True" ForeColor="Black" Height="18px" SelBackColor="DarkBlue"

SelForeColor="White" StyleSetName="Office2007Blue" Version="4.00">

<Columns>

<igtbl:UltraGridColumn>

<Header Caption="Column0">

</Header>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="20px"

Version="4.00" XmlLoadOnDemandType="Accumulative">

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default" Font-Names="Verdana" Font-Size="10pt" Height="130px"

Width="325px">

</FrameStyle>

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px"

WidthTop="1px" />

</HeaderStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid"

BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />

</DropDownLayout>

</igcmbo:WebCombo>

</igmisc:WebAsyncRefreshPanel>

</td>

<td width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortNameDivisionLabelArabic" runat="server"

Width="100%">

<asp:Label ID="lblShortNameDivisionLabelArabic" runat="server"

Text="Short Name:" Visible="False"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

 

</td>

<td style="width: 23%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpShorNameDivisionArabic" runat="server"

Height="20px" Width="80px">

<asp:Label ID="lblShortNameDivisionArabic" runat="server"></asp:Label>

</igmisc:WebAsyncRefreshPanel>

</td>

</tr>

<tr>

<td width="20%">

<asp:Label ID="lblShortName4" runat="server">Code:</asp:Label>

</td>

<td style="width: -70%">

<igmisc:WebAsyncRefreshPanel ID="warpCodeArabic" runat="server">

<igtxt:WebTextEdit ID="txtCodeArabic" runat="server" AutoPostBack="True"

EnableAppStyling="True"

StyleSetName="Office2007Blue" Width="100px"

onvaluechange="txtCodeArabic_ValueChange">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td nowrap="nowrap" style="width: 70%">

<asp:RequiredFieldValidator ID="rfvCodeArabic" runat="server" ControlToValidate="txtCodeArabic" ErrorMessage="Code Required" SetFocusOnError="True"

ValidationGroup="SaveArabic"></asp:RequiredFieldValidator>

</td>

<td style="width: 0%" width="70%">

<asp:Label ID="Label16" runat="server" Text="Mnemonic:"></asp:Label>

</td>

<td align="left" style="width: 23%" width="70%">

<igmisc:WebAsyncRefreshPanel ID="warpMnemonicArabic" runat="server">

<igtxt:WebTextEdit ID="txtMnemonicArabic" runat="server" AutoPostBack="True" EnableAppStyling="True" onvaluechange="txtMnemonicArabic_ValueChange"

StyleSetName="Office2007Blue" Width="100px">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td nowrap="nowrap" width="20%">

<asp:RequiredFieldValidator ID="rfvMnemonicArabic" runat="server" ControlToValidate="txtMnemonicArabic" ErrorMessage="Mnemonic Required"

SetFocusOnError="True" ValidationGroup="SaveArabic"></asp:RequiredFieldValidator>

</td>

<td style="width: 23%" width="70%">

&nbsp;</td>

</tr>

<tr>

<td nowrap="nowrap" width="20%">

<asp:Label ID="lblShortName5" runat="server">Short Name:</asp:Label>

</td>

<td style="width: -70%">

<igmisc:WebAsyncRefreshPanel ID="warpShortName0" runat="server">

<igtxt:WebTextEdit ID="txtShortNameArabic" runat="server" AutoPostBack="True"

EnableAppStyling="True"

StyleSetName="Office2007Blue" Width="100px"

onvaluechange="txtShortNameArabic_ValueChange">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: -70%">

<asp:RequiredFieldValidator ID="rfvShorNameArabic" runat="server" ControlToValidate="txtShortNameArabic" ErrorMessage="Required" SetFocusOnError="True"

ValidationGroup="SaveArabic"></asp:RequiredFieldValidator>

</td>

<td width="70%" nowrap="nowrap">

<asp:Label ID="lblShortName6" runat="server">Description:</asp:Label>

</td>

<td align="right" colspan="2" style="width: 70%">

<igmisc:WebAsyncRefreshPanel ID="warpDescriptionArabic" runat="server">

<igtxt:WebTextEdit ID="txtDescriptionArabic" runat="server" AutoPostBack="True" EnableAppStyling="True" onvaluechange="txtDescriptionArabic_ValueChange"

StyleSetName="Office2007Blue">

</igtxt:WebTextEdit>

</igmisc:WebAsyncRefreshPanel>

</td>

<td style="width: 23%" width="70%">

&nbsp;</td>

</tr>

<tr>

<td bgcolor="white" colspan="7" style="border: 1px solid #000000; width: 100%;">

<table align="center" border="0" cellpadding="0" cellspacing="5"

style="width: 100%">

<tr>

<td align="left" style="font-size: 8pt; font-family: Verdana" valign="top">

<asp:Button ID="btnUpdate0" runat="server" CssClass="save_button" Text="Save"

ValidationGroup="SaveArabic" />

</td>

<td align="right">

<asp:Button ID="btnCancel0" runat="server" CssClass="cancel_button"

Text="Cancel" />

</td>

</tr>

</table>

</td>

</tr>

</table>

</ContentTemplate>

</igtab:Tab>

</Tabs>

<SelectedTabStyle ForeColor="Black">

</SelectedTabStyle>

</igtab:UltraWebTab>

 

Parents
  • 24497
    posted

    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

    AddLinkedResponseRenderer or LinkedRefreshControlID

    and use reference to control or its UniqueID.

Reply Children
No Data