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

RadAjaxManagerProxy and PageControls

3 Answers 62 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Joao Araujo
Top achievements
Rank 1
Joao Araujo asked on 17 Sep 2009, 03:59 PM
Hello,


       I am using Telerik 2009.2.826.35  ajax controls .
       Unfortunately, whenever I try to set the controls to be updated by the ajaxmanagerproxy everything
       is messed on the screen, as you can see below. I am use a Page Control.
       Does anyone know why this should be happening?
       I tried many variations of the controls configuration without success. I also looked at samples, but
       none of them has something compared to my configuration .

       Thanks.
       See more details below.....

330|updatePanel|ctl00_ctl00_Body_CustomerList_ItemListGridPanel|
|

4862|updatePanel|ctl00_ctl00_Body_CustomerList_TransactionsGridPanel|
Transaction # Description Date Created    
4 1 09/16/2009 12:00  
5 2 09/16/2009 03:49  
6 15 09/16/2009 03:50  
|




       I have a master page with the following

        <form id="Main" runat="server" width="100%">
           <asp:ScriptManager ID="ScriptManager1" runat=server />
           <telerik:RadAjaxManager ID="RadAjaxManager1" EnableAjax="true" runat="server">
           </telerik:RadAjaxManager>       
           .......
        </form>

         A Default page ......
                <%@ Register Src="List.ascx" TagName="List" TagPrefix="Customer" %>
                 <%@ Register Src="Item.ascx" TagName="Item" TagPrefix="Customer" %>
                <asp:Content ID="BodyContent" ContentPlaceHolderID="Body" runat="server">

                 <asp:UpdatePanel ID="CustomerUpdatePanel" runat="server">
                  <ContentTemplate>
                 <Telerik:RadMultiPage ID="CustomerMultiPage" runat="server">
                            <Telerik:RadPageView ID="ListView" runat="server">
                                 <Customer:List ID="CustomerList" runat="server" />
                            </Telerik:RadPageView>
                            <Telerik:RadPageView ID="ItemView" runat="server">
                                   <Customer:Item ID="CustomerItem" runat="server" />
                            </Telerik:RadPageView>
                  </Telerik:RadMultiPage>
                  </ContentTemplate>
                 </asp:UpdatePanel>
          </asp:Content>
           A list page control
                <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
               <AjaxSettings>
                     <telerik:AjaxSetting AjaxControlID="ItemListGrid">
                          <UpdatedControls>
                                     <telerik:AjaxUpdatedControl ControlID="ItemListGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
                                     <telerik:AjaxUpdatedControl ControlID="TransactionsGrid" LoadingPanelID="RadAjaxLoadingPanel2" />
                         </UpdatedControls>
                     </telerik:AjaxSetting>
                     <telerik:AjaxSetting AjaxControlID="TransactionsGrid">
                         <UpdatedControls>
                                      <telerik:AjaxUpdatedControl ControlID="TransactionsGrid" />
                         </UpdatedControls>
                      </telerik:AjaxSetting>
               </AjaxSettings>
              </telerik:RadAjaxManagerProxy>
             <p>
                    <telerik:RadTextBox ID="CustomerNamePart" Runat="server"  Width="370px" style="display:inline">
                    </telerik:RadTextBox>
                    <asp:Button ID="FilterButton" CssClass="Button" runat="server"
                                   CausesValidation="false" Text="Search" OnClick="Search_Click"
                                     Height="26px"/>    
                     <br />
               </p>
    
              <Telerik:RadGrid ID="ItemListGrid" runat="server" .../>
              <Telerik:RadGrid ID="TransactionsGrid" runat="server" .../>





John,

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 18 Sep 2009, 03:03 PM
Hello Joao,

Unfortunately I am not able to reproduce the issue based on your information. Could you please provide us with a screenshot or a sample page showing the appearance you get?

Looking forward to your reply,
Martin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Joao Araujo
Top achievements
Rank 1
answered on 22 Sep 2009, 03:03 PM
Hello,

    We found that the error is caused by the RadMultiPage control at the Default Page.

     Whenever I include the RadMultPage at the default page, with WebUserControls inside. It
     goes ballistic. It also causes other sort of error depending on what kind of Ajax manager I use.

     For Example. If I use the RadAjaxManagerProxy on the inserted control. The below result shows up before the grid. 
                           4862|updatePanel|ctl00_ctl00_Body_CustomerList_TransactionsGridPanel|


      I will try to put together a small application presenting the error. Right now I have a lot on my plate, I cant do it.
    
      BTW, before the last finds on the issue. We found out we were using RadAjaxManagerProxy inside a RadAjaxPanel, which
      can cause all sort of problems. Though, it was not related to the above problem .

      Thanks for your help though,
Joao,
0
Accepted
Martin
Telerik team
answered on 24 Sep 2009, 10:23 AM
Hello Joao,

Thank you for the clarification. However I would prefer to see the issue in a sample project that I could debug locally. Meanwhile in your post you mentioned "We found out we were using RadAjaxManagerProxy inside a RadAjaxPanel, which can cause all sort of problems". This approach is not recommended and should be voided. For more details please review this help topic.

I hope this helps

Regards,
Martin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
Joao Araujo
Top achievements
Rank 1
Answers by
Martin
Telerik team
Joao Araujo
Top achievements
Rank 1
Share this question
or