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

RadGrid in AjaxControlKit ModalPopup weird Filter behaviour

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Timothy
Top achievements
Rank 1
Timothy asked on 08 Jan 2012, 11:09 PM
I have a RadGrid loaded in a dynamically created ModalPopup when doing a filter on the columns from the HeaderContextMenu
snippets shown below
AllowFilteringByColumn="True" AllowAutomaticDeletes="True" CellSpacing="0" DataSourceID="theGridViewSqlDataSource" CssClass="gridview" Width="780" AutoGenerateColumns="False" EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" ShowStatusBar="true"
<MasterTableView DataSourceID="theGridViewSqlDataSource" BorderStyle="Solid" Width="100%" DataKeyNames="ID" IsFilterItemExpanded="false" GridLines="Both" ShowGroupFooter="true" >

With some versions of Chrome, IE9 but not Firefox and IE8 the Filtering action invokes a full Postback. The ModalPopups are in an UpdatePanel all by themselves on the MasterPage. When using developer tools in Chrome and IE9 I can see that the Async Postback is cancelled and it is then followed by a full page postback.

All other functions on the RadGrid work as expected, paging, grouping, adding and deleting records etc.

Any ideas???

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 11 Jan 2012, 09:02 AM
Hello Timothy,

Can you confirm if you have enabled auto postback on filter for the columns? If so, try disabling this option and see if this fixes the problem. If so, update your RadControls to the latest version.
Also, you could check which control and with what argument does fire the consequtive postback, so you know where to look for unwanted postback behavior.
Let us know about any further details which you notice about this problem.

Greetings,
Tsvetina
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
Tags
Grid
Asked by
Timothy
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or