Hello,
I know that ViewState can be compressed and it is a bad option for complex controls like RadGrid but please consider the markup below (having in mind that the EnableViewState option of the containing page/control is set to "false"). If I load the page initially and click the button everything's fine. But if I click it after even the slightest column resize a senseless Javascript exception gets fired with no indication what the problem may be.
Is this a correct behavior of the control? Is there some kind of workaround for this crash?
Drilling down to the source of the problem took quite some time... so I guess a more meaningful exception should be thrown....
Best regards,
V.
I know that ViewState can be compressed and it is a bad option for complex controls like RadGrid but please consider the markup below (having in mind that the EnableViewState option of the containing page/control is set to "false"). If I load the page initially and click the button everything's fine. But if I click it after even the slightest column resize a senseless Javascript exception gets fired with no indication what the problem may be.
| <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> |
| <telerik:RadGrid ID="RadGrid1" runat="server"> |
| <MasterTableView /> |
| <ClientSettings> |
| <Resizing AllowColumnResize="true" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| </telerik:RadAjaxPanel> |
| <asp:LinkButton ID="LinkButton1" runat="server" Text="Click Me!" OnClientClick="return Update();" /> |
| <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> |
| <script type="text/jscript"> |
| function Update() { $find('<%= RadAjaxPanel1.ClientID %>').ajaxRequest('', ''); } |
| </script> |
| </telerik:RadScriptBlock> |
Is this a correct behavior of the control? Is there some kind of workaround for this crash?
Drilling down to the source of the problem took quite some time... so I guess a more meaningful exception should be thrown....
Best regards,
V.