RadAjaxManager in webpart on SharePoint 2010

8 posts, 1 answers
  1. Ovidiu
    Ovidiu avatar
    4 posts
    Member since:
    Jul 2012

    Posted 14 Mar 2011 Link to this post

    Hi,

    I created an usercontrol in SharePoint 2010

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdPublishingRequests">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdPublishingRequests" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Vista" />

    <telerik:RadGrid AutoGenerateColumns="False" ID="grdPublishingRequests" EnableViewState="true" 
                    AllowFilteringByColumn="True" AllowPaging="True" PageSize="15"  
                    AllowSorting="True" Width="100%" Skin="Vista" runat="server">
                    <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
                    <GroupingSettings CaseSensitive="false" />
                    <MasterTableView TableLayout="fixed" />
                    <SelectedItemStyle CssClass="ms-selectednav" Font-Bold="true" />
                    <AlternatingItemStyle CssClass="ms-alternating" />
    </telerik:RadGrid>

    and I use this usercontrol into a custom webpart
    First time everything is ok if I changed the "Page size" after postback I can't access "Page Size"

    This issue is only on SharePoint 2010, on SharePoint 2007 is ok.

    Thanks for help
    Ovidiu
  2. Answer
    Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 15 Mar 2011 Link to this post

    Hello Ovidiu,

    Attached is a small sample that demonstrates how to correctly ajaxify controls within a user control in SharePoint 2010. 

    Greetings,
    Tsvetoslav
    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!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ovidiu
    Ovidiu avatar
    4 posts
    Member since:
    Jul 2012

    Posted 15 Mar 2011 Link to this post

    Hi,

    Thanks is ok now but I can't see loading image at RadAjaxLoadingPanel

    Ovidiu
  5. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 16 Mar 2011 Link to this post

    Hello Ovidiu,

    You should make sure that you have the skin property set for the RadAjaxLoadingPanel control.
     

    Regards,
    Tsvetoslav
    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!
  6. Ovidiu
    Ovidiu avatar
    4 posts
    Member since:
    Jul 2012

    Posted 17 Mar 2011 Link to this post

    Hi

    Yes, I have skin put on ascx file at RadAjaxLoadingPanel

    <Telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7">
    </Telerik:RadAjaxLoadingPanel>

    Thanks for help
    Ovidiu
  7. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 18 Mar 2011 Link to this post

    Hi Ovidiu,

    This behavior is not expected - could you paste your complete ascx mark-up, code-behind for that and the code for the web-part?

    Greetings,
    Tsvetoslav
    the Telerik team
  8. John
    John avatar
    3 posts
    Member since:
    Apr 2013

    Posted 19 Jun 2013 Link to this post

    Hello,

    I downloaded and ran the sample code and it does not work for me. 

    Any updates on this type of issue?

    Thanks!
  9. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 24 Jun 2013 Link to this post

    Hello John,

    Could you please elaborate what exactly is the issue you are facing in ajaxifying the controls in your Web Part? I would suggest you to follow the instructions provided in the forum post below and verify if they work for you:
    http://www.telerik.com/community/forums/sharepoint-2010/integrate-ajax-controls/telerik-ajax-issue-with-sharepoint-2010.aspx

    Regards,
    Maria Ilieva
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017