I have a grid that is working fine, the problem is, when I put it inside RadAjaxPanel, I click
add new record, the insert open successfully, I enter the values and click insert the RadGrid_InsertCommand
does not get invoked, and the grid shows empty again...
When I remove it from RadAjaxPanel it works normally..
Any pointers to this behavior ??
<
telerik:radgrid
ID
=
"radgrid_Languages"
runat
=
"server"
Skin
=
"Office2007"
GridLines
=
"None"
AllowPaging
=
"True"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
Width
=
"97%"
OnNeedDataSource
=
"RadGrid_NeedDataSource"
OnDeleteCommand
=
"RadGrid_DeleteCommand"
OnInsertCommand
=
"RadGrid_InsertCommand"
OnUpdateCommand
=
"RadGrid_UpdateCommand"
EnableAJAX
=
"True"
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
></
PagerStyle
>
<
MasterTableView
DataKeyNames
=
"ID"
GridLines
=
"None"
Width
=
"100%"
CommandItemDisplay
=
"Top"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
AddNewRecordText
=
"Add new language"
></
CommandItemSettings
>
<
Columns
>
<
telerik:GridEditCommandColumn
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridDropDownColumn
DataField
=
"LanguageID"
DataSourceID
=
"lds_Languages"
HeaderText
=
"Language"
ListTextField
=
"LanguageName"
ListValueField
=
"ID"
UniqueName
=
"LanguageID"
>
</
telerik:GridDropDownColumn
>
<
telerik:GridDropDownColumn
DataField
=
"ReadLevelID"
DataSourceID
=
"lds_ProficiencyLevels"
HeaderText
=
"Read"
ListTextField
=
"LevelName"
ListValueField
=
"ID"
UniqueName
=
"ReadLevelID"
>
</
telerik:GridDropDownColumn
>
<
telerik:GridDropDownColumn
DataField
=
"WriteLevelID"
DataSourceID
=
"lds_ProficiencyLevels"
HeaderText
=
"Written"
ListTextField
=
"LevelName"
ListValueField
=
"ID"
UniqueName
=
"WriteLevelID"
>
</
telerik:GridDropDownColumn
>
<
telerik:GridDropDownColumn
DataField
=
"SpeakLevelID"
DataSourceID
=
"lds_ProficiencyLevels"
HeaderText
=
"Spoken"
ListTextField
=
"LevelName"
ListValueField
=
"ID"
UniqueName
=
"SpeakLevelID"
>
</
telerik:GridDropDownColumn
>
<
telerik:GridButtonColumn
CommandName
=
"Delete"
Text
=
"Delete"
UniqueName
=
"Delete"
ConfirmText
=
"Are you sure you want to delete ?"
ConfirmTitle
=
"Alert"
>
</
telerik:GridButtonColumn
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
UniqueName
=
"EditCommandColumn1"
>
</
EditColumn
>
<
FormStyle
BackColor
=
"#EEF2EA"
Width
=
"100%"
></
FormStyle
>
<
FormTableStyle
CellPadding
=
"2"
CellSpacing
=
"0"
></
FormTableStyle
>
<
FormTableItemStyle
Height
=
"29px"
Width
=
"100%"
></
FormTableItemStyle
>
</
EditFormSettings
>
<
ExpandCollapseColumn
Visible
=
"False"
>
<
HeaderStyle
Width
=
"19px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
NoRecordsTemplate
>
<
table
style
=
"width: 100%;height:100px"
>
<
tr
>
<
td
>
Please add your languages proficiency<
br
/>
<
br
/>
(Indicate Very Good , Good , Average , Weak )
</
td
>
</
tr
>
</
table
>
</
NoRecordsTemplate
>
<
RowIndicatorColumn
Visible
=
"False"
>
<
HeaderStyle
Width
=
"20px"
/>
</
RowIndicatorColumn
>
</
MasterTableView
>
</
telerik:radgrid
>