Hi,
I have a problem with the RadGrid and the create/update popup.
The radgrid is in a modal dialog (call with javascript showModalDialog).
<telerik:RadGrid ID="grdExternalCosts" runat="server" AllowPaging="True" ShowFooter="true" AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="true" OnPreRender="grdExternalCosts_PreRender" OnNeedDataSource="grdExternalCosts_NeedDataSource" OnUpdateCommand="grdExternalCosts_UpdateCommand" OnInsertCommand="grdExternalCosts_InsertCommand" DeleteCommand="grdExternalCosts_DeleteCommand">
<MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="ExternalCostID" EditMode="PopUp">
<EditFormSettings>
<PopUpSettings Modal="false" ZIndex="500" />
</EditFormSettings>
<Columns>
...
</Columns>
<EditFormSettings UserControlName="ExternalCostsDetail.ascx" EditFormType="WebUserControl">
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
The modal screen is showing nicely but when I click the add new record button, I get an error saying 'the session has expired. The window will be closed. Refresh the main page before continuing'. And when I look at the hyperlink it is the same as the page that I have in the modal dialog, not the user control for inserting a new record.
What can I do to fix this?
Kind regards
Suzy
I have a problem with the RadGrid and the create/update popup.
The radgrid is in a modal dialog (call with javascript showModalDialog).
<telerik:RadGrid ID="grdExternalCosts" runat="server" AllowPaging="True" ShowFooter="true" AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="true" OnPreRender="grdExternalCosts_PreRender" OnNeedDataSource="grdExternalCosts_NeedDataSource" OnUpdateCommand="grdExternalCosts_UpdateCommand" OnInsertCommand="grdExternalCosts_InsertCommand" DeleteCommand="grdExternalCosts_DeleteCommand">
<MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="ExternalCostID" EditMode="PopUp">
<EditFormSettings>
<PopUpSettings Modal="false" ZIndex="500" />
</EditFormSettings>
<Columns>
...
</Columns>
<EditFormSettings UserControlName="ExternalCostsDetail.ascx" EditFormType="WebUserControl">
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
The modal screen is showing nicely but when I click the add new record button, I get an error saying 'the session has expired. The window will be closed. Refresh the main page before continuing'. And when I look at the hyperlink it is the same as the page that I have in the modal dialog, not the user control for inserting a new record.
What can I do to fix this?
Kind regards
Suzy