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

Two Grids each with NestedViewTemplate's

1 Answer 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 12 Aug 2008, 10:07 PM
I have a small problem
I am using 2 RadGrids within a RadMultiPage, and each grid has a NestedViewTemplate.

The first grid is working as expected, and the second grid is a mirror image of the first with only a different datasource and name.

The NestedViewTemplate in the second one is throwing an error though.

I have noticed that if I click the arrow on the first Grid, there is no "link" at the bottom of the page, and the details show up without a postback.

If I click the arrow on the SECOND Grid, there IS a "link" (pagename.aspx), and there is a postback... below is the error.

[quote]
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.[/quote]

Any help would be appreciated... Hopefully this isnt the ASS Theory again (Always Something Simple/Stupid)

1 Answer, 1 is accepted

Sort by
0
Chase Florell
Top achievements
Rank 1
answered on 12 Aug 2008, 10:10 PM
Ok so it totally WAS the ASS Theory Kicking In... GRRR

I forgot to add the RadGrid2 to my RadAjaxManager
    <telerik:RadAjaxManager runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="Grid1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="Grid1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="Grid2">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="Grid2" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
Tags
Grid
Asked by
Chase Florell
Top achievements
Rank 1
Answers by
Chase Florell
Top achievements
Rank 1
Share this question
or