Problem using RadAjaxManager

5 posts, 0 answers
  1. Ben
    Ben avatar
    20 posts
    Member since:
    Sep 2010

    Posted 04 Dec 2010 Link to this post

    Hi guys
    I have a button and a Radwindow in a page. Radwidow contains two drag and drop radgrids (same as drag and drop ragrid demo) I want Ajaxify these controls. I tried to create a RadAjaxManager like this
    <telerik:RadAjaxManager runat="server" ID="radAjax" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnAdd">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="AddRemoveItemWindow" />                                    
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="grdPendingOrders">
                    <UpdatedControls>                
                        <telerik:AjaxUpdatedControl ControlID="grdPendingOrders" />
                        <telerik:AjaxUpdatedControl ControlID="grdShippedOrders" />                 
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="grdShippedOrders">
                    <UpdatedControls>                
                        <telerik:AjaxUpdatedControl ControlID="grdShippedOrders" />
                        <telerik:AjaxUpdatedControl ControlID="grdPendingOrders" />                
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="UseDragColumnCheckBox">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdPendingOrders" />
                        <telerik:AjaxUpdatedControl ControlID="grdShippedOrders" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    When click on btnAdd,  radwindow "AddRemoveItemWindow"  should popup as Modal popup and then drag and drop items in each grid. Everything is working perfectly. My aim is to include btnAdd and radwindow in Radajaxmanager. When I run with above mentioned code, popup window is working good, but while dragging items from one grid to another, getting error. Anybody can help me?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Dec 2010 Link to this post

    Hello Ben,

    Could toy please elaborate a bit more what is the exact error you receive? Also please let me know what the result is if the Ajax on the page is disabled.


    Best wishes,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Ben
    Ben avatar
    20 posts
    Member since:
    Sep 2010

    Posted 09 Dec 2010 Link to this post

    Thank you for your answer,
    Ajax is working fine on page load and also it is working perfectly when button click. But while drag and drop, getting error :-
    Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    Ben
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 14 Dec 2010 Link to this post

    Hi Ben,

    As the provided information is not enough to isolate the root cause of the issue you are facing, please prepare a simple, fully runnable reproduction demo, open a new support ticket and send it to us along with very detailed reproduction steps and explanations.Thus we will be able to debug it locally and do our best to help.


    Greetings,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  5. Ben
    Ben avatar
    20 posts
    Member since:
    Sep 2010

    Posted 28 Dec 2010 Link to this post

    Hi guys
    I have a Radiobuttonlist with three items and a radgrid. I want to filter the radgrid according to the selection of radiobutton. Filtering is ok. I am using RadAjaxManager for ajaxify this controls. It is also working, but I am not able to make a default selected item in radiobutton. If I make first radiobutton is selected = true, both controls are not working correctly. If it is not selected = true, every thing is fine. But I want to make an item selected by default. How is it possible. Any client side or server side fuctionality? Anybody can help me?
    Thanks
    Ben

    Sorry. I solved this issue. I didn't write RadAjaxManager properly.
    Thanks
    Ben
Back to Top