hi,
i am having grid(placed) in RADAJAXPANEL and i want export to all but when i click to any button for exporting nothing will happen
How can i do this?
my Grid is
thanks
i am having grid(placed) in RADAJAXPANEL and i want export to all but when i click to any button for exporting nothing will happen
How can i do this?
my Grid is
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
>
<%-- EnableViewState="False" --%>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
Width
=
"530px"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
AllowPaging
=
"true"
PageSize
=
"10"
AllowSorting
=
"true"
ShowGroupPanel
=
"True"
Skin
=
"Default"
OnDeleteCommand
=
"RadGrid1_DeleteCommand"
HeaderStyle-Font-Bold
=
"true"
OnPreRender
=
"RadGrid1_PreRender"
OnUpdateCommand
=
"RadGrid1_UpdateCommand"
OnItemCreated
=
"RadGrid1_ItemCreated"
OnInsertCommand
=
"RadGrid1_InsertCommand"
>
<
ExportSettings
ExportOnlyData
=
"true"
OpenInNewWindow
=
"true"
IgnorePaging
=
"true"
>
<
Pdf
PageHeight
=
"210mm"
PageWidth
=
"297mm"
DefaultFontFamily
=
"Arial Unicode MS"
PageTopMargin
=
"45mm"
BorderStyle
=
"Medium"
BorderColor
=
"#666666"
>
</
Pdf
>
<
Csv
/>
<
Excel
/>
</
ExportSettings
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
AlwaysVisible
=
"true"
></
PagerStyle
>
<
ClientSettings
Selecting-AllowRowSelect
=
"true"
AllowDragToGroup
=
"True"
EnablePostBackOnRowClick
=
"true"
>
<
Selecting
AllowRowSelect
=
"True"
UseClientSelectColumnOnly
=
"True"
></
Selecting
>
</
ClientSettings
>
<
MasterTableView
EditMode
=
"EditForms"
AutoGenerateColumns
=
"true"
DataKeyNames
=
"CompId"
CommandItemDisplay
=
"Top"
CommandItemSettings-ShowAddNewRecordButton
=
"true"
>
<
CommandItemSettings
ShowExportToPdfButton
=
"true"
/>
<
CommandItemSettings
ShowExportToCsvButton
=
"true"
/>
<
CommandItemSettings
ShowExportToExcelButton
=
"true"
/>
<
CommandItemSettings
ShowExportToWordButton
=
"true"
/>
<
EditFormSettings
FormMainTableStyle-HorizontalAlign
=
"Center"
EditColumn-ButtonType
=
"ImageButton"
FormTableStyle-Width
=
"300px"
FormTableButtonRowStyle-HorizontalAlign
=
"Center"
FormTableStyle-CellPadding
=
"3"
FormMainTableStyle-Font-Bold
=
"true"
FormMainTableStyle-ForeColor
=
"Purple"
FormStyle-CssClass
=
""
FormTableStyle-CellSpacing
=
"5"
InsertCaption
=
"Add New Record"
FormCaptionStyle-Font-Bold
=
"true"
FormCaptionStyle-Font-Underline
=
"true"
FormCaptionStyle-ForeColor
=
"Black"
FormCaptionStyle-Font-Size
=
"Large"
FormCaptionStyle-HorizontalAlign
=
"Center"
FormCaptionStyle-Width
=
"100%"
>
<
FormStyle
Width
=
"100%"
BackColor
=
"LightCyan"
></
FormStyle
>
</
EditFormSettings
>
<
Columns
>
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
>
</
telerik:GridEditCommandColumn
>
</
Columns
>
</
MasterTableView
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridButtonColumn
CommandName
=
"Delete"
Text
=
"Delete"
UniqueName
=
"DeleteColumn"
ButtonType
=
"ImageButton"
/>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
telerik:RadAjaxPanel
>
thanks