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

Problem using RadAjaxManager

4 Answers 114 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 04 Dec 2010, 07:35 PM
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?

4 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 Dec 2010, 09:40 AM
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.
0
Ben
Top achievements
Rank 1
answered on 09 Dec 2010, 04:33 PM
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
0
Maria Ilieva
Telerik team
answered on 14 Dec 2010, 04:03 PM
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.
0
Ben
Top achievements
Rank 1
answered on 29 Dec 2010, 05:21 AM
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
Tags
Ajax
Asked by
Ben
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Ben
Top achievements
Rank 1
Share this question
or