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

Problem Radwindows and RadGrid with AllowPaging = "True"

2 Answers 109 Views
Window
This is a migrated thread and some comments may be shown as answers.
Marco Antonio
Top achievements
Rank 1
Marco Antonio asked on 12 Apr 2012, 11:26 PM
Asp. Net Versión: Aspnet 2.0
OS:  Windows 7, 
Navegador: chrome 18.0.1025.152 m
Versión Telerik: ASP.NET AJAX Q2 2010
Lenguaje de Programación VB. NET 2008


I am experiencing a problem using RadGrid and RadWindow when property is set AllowPaging = "True", the paging controls do not work:

a) Click the page numbers in the RadWindow is closed
b) Click on Next Page displays the following error: Argument for repayment orinvalid callback. Event validation is enabled using <pagesenableEventValidation="true"/>


Thanks for your help 

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Apr 2012, 11:45 AM
Hello Marco,

Are you using the ContentTemplate of the RadWindow? If so - a postback that originates from inside will close the RadWIndow, as the RadWindow is created, opened and closed via JavaScript and cannot survive postbacks. What you would need to do in this case is to use AJAX to avoid disposing the entire page. How to integrate an UpdatePanel with the ContentTemplate of the RadWindow is explained in the following help article: http://www.telerik.com/help/aspnet-ajax/radwindow-ajaxifying.html.

As for the invalid arguments exception - it can be due to different factors - incorrect attempts to use AJAX, incorrect programmatic creation of the grid (this is the most probable - it is possible that is is created too late and not in the Page Init event and does not have the same ID set). In case doing things correctly does not help I advise that you open a support ticket and send us a small sample that can reproduce the problem so we can debug it and see what is going on.


Kind regards,
Marin
the Telerik team
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 their blog feed now.
0
Olivier
Top achievements
Rank 2
answered on 25 Jul 2012, 04:27 PM
Hello,

Have you resolve this problem since 2009 ?

the workaround work but i would like to have a good library without bug.

if you don't add the workaround , there are a <br/> in the radeditor , i don't know why,
it's by default in a radwindow.

thanks..
olivier,
Tags
Window
Asked by
Marco Antonio
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Olivier
Top achievements
Rank 2
Share this question
or