Hi,
We use Telerik's grid for VS2008. We added context menu to grid and one of option is to export grid data to MS Excel file. I've created the popup window that opens when we choose that option from context menu. The window opens up and we have Telerik's combo box on it.
My question is - how can I get the value of chosen option from combo box when click "OK" and proceed further in ASP.NET code? The code that should be executed to export grid data to MS Excel file is as following:
We have 2 options in combo box: export all data from grid or export only selected data. It means I need to know which option has been chosen in order to proceed.
I need some code sample.
Thank you in advance,
Goran
We use Telerik's grid for VS2008. We added context menu to grid and one of option is to export grid data to MS Excel file. I've created the popup window that opens when we choose that option from context menu. The window opens up and we have Telerik's combo box on it.
My question is - how can I get the value of chosen option from combo box when click "OK" and proceed further in ASP.NET code? The code that should be executed to export grid data to MS Excel file is as following:
this.Grid.ExportSettings.ExportOnlyData = true;this.Grid.ExportSettings.OpenInNewWindow = true;this.Grid.MasterTableView.ExportToExcel();We have 2 options in combo box: export all data from grid or export only selected data. It means I need to know which option has been chosen in order to proceed.
I need some code sample.
Thank you in advance,
Goran