This is a migrated thread and some comments may be shown as answers.

Could not Find Update Panel ID

2 Answers 107 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Philip Victor Jebaraj .S
Top achievements
Rank 1
Philip Victor Jebaraj .S asked on 10 Mar 2011, 10:00 AM
Hi,

I am philip. I am using your product in our project.

I am using RadAjaxManagerProxy in my code. When I run the code I got the error like, Sys.InvalidOperation: Could not find the update panel with ID 'ctl00_ctl00_ContentPlaceHolder1_txtDailuLimtvaluepanel'. Pls find the code below.. Pls solve the problem to avoid the error. Pls find the attachment of error.

<asp:Content ID="BodyContent" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadWindowManager ID="RadWindowManager" runat="server" 
        Skin="Office2007"></telerik:RadWindowManager>    
    <telerik:RadAjaxPanel ID="radAjaxPanel" runat="server">    
        <div id="content">
            <div id="container">
                <div class="left_col">
                    <table class="table">
                        <tr>
                            <td class="table">
                                <div class="box stacked">
                                    <ucCountryBasicInfo:CountryBasicInfo ID="ucCountryBasicInfo" runat="server" />
                                </div>
                            </td>
                        </tr>             
                    </table>
                </div>
                <div class="right_col">
                    <table class="table">
                        <tr>
                            <td class="table">
                                <h2>
                                    <asp:Literal ID="ltrlHomeCountryActivity" runat="server" Text="Home Country Activity"></asp:Literal>
                                </h2>
                            </td>
                        </tr>
                        <tr>
                            <td class="table">
                                <fieldset>
                                    <table class="table">
                                        <tr>
                                            <td class="tableLeft">
                                                <label>
                                                    <asp:Literal ID="ltrlSirasVelocityProfile" runat="server" Text="Siras Velocity Profile"></asp:Literal>
                                                </label>
                                            </td>                                            
                                            <td>
                                                <telerik:RadComboBox ID="cmbVelocityProfileId" runat="server" 
                                                    AutoPostBack="true" 
                                                    Width="210px" 
                                                    onselectedindexchanged="cmbVelocityProfileId_SelectedIndexChanged1">
                                                </telerik:RadComboBox>                                           
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                </div>
                <table class="table">
                    <tr>
                        <td style="height: 1px;" valign="top">
                            <div class="box">
                                <fieldset>
                                    <table>                                            
                                        <tr>                                                                                            
                                            <td style="width: 25%;" valign="top">
                                                <table style="width: 100px;height:130px;" >
                                                    <tr>
                                                        <td style="width: 20%;height:16%;" >
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height:20%;">
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlDaily" runat="server" Text="Daily"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height :20%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlWeekly" runat="server" Text="Weekly"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height :20%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlMonthly" runat="server" Text="Monthly"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height :20%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlTransactions" runat="server" Text="Transactions"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 25%;" valign="top"  runat="server" id="tblValue">
                                                <table style="width: 100px;height:120px;" >
                                                    <tr>
                                                        <td style="width: 20%;height:16%;" >
                                                            <label>                                                   
                                                               <asp:Literal ID="ltrlValue" runat="server" Text="Value"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height:20%;" >
                                                            <asp:TextBox ID="txtDailyValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtWeeklyValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtMonthlyValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtTransactionValueLimit" runat="server" Width="120px" MaxLength="12"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 25%;" valign="top" runat="server" id="tblVolume">
                                                <table style="width: 100px;height: 120px;" >
                                                    <tr>
                                                        <td style="width: 20%;height: 16%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlVolume" runat="server" Text="Volume"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtDailyVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtWeeklyVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtMonthlyVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtTransactionVolumeLimit" runat="server" Width="120px" MaxLength="9"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 25%;" valign="top" runat="server" id="tblUsage" >
                                                <table style="width: 100px;height: 120px;" >
                                                    <tr>
                                                        <td style="width: 20%;height: 16%;" >
                                                            <label>                                                   
                                                                <asp:Literal ID="ltrlUsage" runat="server" Text="Usage"></asp:Literal>
                                                            </label>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtDailyUsageLimit" runat="server" Width="120px" MaxLength="4"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtWeeklyUsageLimit" runat="server" Width="120px" MaxLength="4"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="txtMonthlyUsageLimit" runat="server" Width="120px" MaxLength="4"></asp:TextBox>
                                                        </td> 
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 20%;height: 20%;" >
                                                            <asp:TextBox ID="TextBox1" runat="server" Width="120px" MaxLength="4" Visible="false"></asp:TextBox>
                                                        </td> 
                                                    </tr>                                                    
                                                </table>
                                            </td>
                                            <td style="width: 50%;" valign="top" runat="server" id="tblEmpty"></td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </div>
                        </td>
                    </tr>
                </table>                    
                <p class="buttons">
                    <asp:Button runat="server" ID="btnSave" Text="Save" onclick="btnSave_Click" />
                    <asp:Button runat="server" ID="btnReset" Text="Reset" 
                        onclick="btnReset_Click" />
                </p>
            </div>
            <div id="container-footer">
            </div>
        </div>
        <telerik:RadInputManager ID="radInputManager" runat="server">
            <telerik:RegExpTextBoxSetting BehaviorID="DailyValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtDailyValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="DailyVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtDailyVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="DailyUsage" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtDailyUsageLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="WeeklyValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtWeeklyValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="WeeklyVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtWeeklyVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="WeeklyUsage" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtWeeklyUsageLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="MonthlyValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtMonthlyValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="MonthlyVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtMonthlyVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="MonthlyUsage" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtMonthlyUsageLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="TransValue" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtTransactionValueLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
            <telerik:RegExpTextBoxSetting BehaviorID="TransVolume" ValidationExpression="^\d+$" ErrorMessage="Numbers Only">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtTransactionVolumeLimit" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
        </telerik:RadInputManager> 
        <telerik:RadAjaxManagerProxy ID="radAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnSave">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="txtDailyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyUsageLimit" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="cmbVelocityProfileID">
                <UpdatedControls>                    
                    <telerik:AjaxUpdatedControl ControlID="txtDailyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsValueLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtTransactionsVolumeLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtDailyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtWeeklyUsageLimit" />
                    <telerik:AjaxUpdatedControl ControlID="txtMonthlyUsageLimit" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy> 
    </telerik:RadAjaxPanel>       
</asp:Content>

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 15 Mar 2011, 02:00 PM
Hi Philip,

 Note that it is not supported scenario to wrap RadAjaxManager control into RadAjaxPanel or used the both controls for updating the same controls on the page. Please suggest using just one of these Ajax components on the page and verify how it goes.


All the best,
Maria Ilieva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Maria Ilieva
Telerik team
answered on 15 Mar 2011, 02:00 PM
Hi Philip,

 Note that it is not supported scenario to wrap RadAjaxManager control into RadAjaxPanel or used the both controls for updating the same controls on the page. Please suggest using just one of these Ajax components on the page and verify how it goes.


All the best,
Maria Ilieva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Ajax
Asked by
Philip Victor Jebaraj .S
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or