Hi ,
my radgirid sample markup
and my button click
but export excell empty whyy my page usercontrol
Help mee Thanks
my radgirid sample markup
<
telerik:RadGrid
ID
=
"RadCagri"
runat
=
"server"
CellSpacing
=
"0"
Culture
=
"tr-TR"
Height
=
"380px"
GridLines
=
"None"
AllowPaging
=
"True"
AutoGenerateColumns
=
"False"
CssClass
=
"Grid_Modul"
AllowFilteringByColumn
=
"True"
AllowSorting
=
"True"
Skin
=
"Simple"
>
<
MasterTableView
DataKeyNames
=
"GERCEKADI"
HierarchyLoadMode
=
"Client"
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
></
EditColumn
>
</
EditFormSettings
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
/>
<
RowIndicatorColumn
FilterControlAltText
=
"Filter RowIndicator column"
></
RowIndicatorColumn
>
<
ExpandCollapseColumn
FilterControlAltText
=
"Filter ExpandColumn column"
></
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"GERCEKADI"
HeaderText
=
"Çağrı Merkezi Uzm."
FilterControlAltText
=
"Filter GERCEKADI column"
UniqueName
=
"GERCEKADI"
FilterControlWidth
=
"250px"
><
ItemStyle
Wrap
=
"False"
/></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"TXTUNVAN"
HeaderText
=
"Müşteri Adı"
FilterControlAltText
=
"Filter TXTUNVAN column"
UniqueName
=
"AG"
DataType
=
"System.String"
FilterControlWidth
=
"400px"
>
<
ItemStyle
Wrap
=
"False"
/></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"TXTPROJEADI"
HeaderText
=
"Proje"
FilterControlAltText
=
"Filter TXTPROJEADI column"
DataType
=
"System.String"
UniqueName
=
"TXTPROJEADI"
>
<
ItemStyle
Wrap
=
"False"
/></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"LNGMERKEZKOD"
HeaderText
=
"merkez Kod"
FilterControlAltText
=
"Filter LNGMERKEZKOD column"
DataType
=
"System.Int32"
UniqueName
=
"LNGMERKEZKOD"
Display
=
"false"
>
<
ItemStyle
Wrap
=
"False"
/></
telerik:GridBoundColumn
>
<
telerik:GridDateTimeColumn
DataField
=
"TRHTARIH"
DataFormatString
=
"{0:dd/MM/yyyy}"
DataType
=
"System.DateTime"
FilterControlAltText
=
"Filter TRHTARIH column"
FilterControlWidth
=
"150px"
HeaderText
=
"Arama Tarihi"
UniqueName
=
"TRHTARIH"
>
<
ItemStyle
Wrap
=
"False"
/></
telerik:GridDateTimeColumn
>
<
telerik:GridDateTimeColumn
DataField
=
"TXTSAAT"
DataFormatString
=
"{0:HH:mm:ss}"
DataType
=
"System.DateTime"
FilterControlWidth
=
"100px"
FilterControlAltText
=
"Filter TXTSAAT column"
HeaderText
=
"Arama Saati"
MinDate
=
""
UniqueName
=
"TXTSAAT"
>
</
telerik:GridDateTimeColumn
>
<
telerik:GridBoundColumn
DataField
=
"TXTDEPARTMAN"
HeaderText
=
"Çağrı Kuyruğu"
FilterControlAltText
=
"Filter TXTDEPARTMAN column"
DataType
=
"System.String"
UniqueName
=
"TXTDEPARTMAN"
>
<
ItemStyle
Wrap
=
"False"
/></
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
DataBinding
Location
=
"GridMasterDetailsService.svc"
FilterParameterType
=
"Linq"
SelectMethod
=
"GetCLG"
SortParameterType
=
"Linq"
ShowEmptyRowsOnLoad
=
"True"
>
</
DataBinding
>
<
ClientEvents
OnDataBound
=
"RadCagri_DataBound"
OnDataBinding
=
"RadCagri_DataBinding"
OnGridCreated
=
"RadCagriCriteria"
/>
<
Selecting
AllowRowSelect
=
"True"
></
Selecting
>
<
Scrolling
AllowScroll
=
"True"
></
Scrolling
>
</
ClientSettings
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
></
HeaderContextMenu
></
telerik:RadGrid
>
RadCagri.ExportSettings.ExportOnlyData =
True
RadCagri.ExportSettings.IgnorePaging =
True
RadCagri.ExportSettings.OpenInNewWindow =
True
RadCagri.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerBind
RadCagri.MasterTableView.ExportToExcel()
Help mee Thanks