RadGrid1.ExportSettings.Excel.Format = Telerik.Web.UI.
GridExcelExportFormat.ExcelML;
RadGrid.MasterTableview.ExportToExcel()
and
RadGrid1_ExcelMLExportStylesCreated,
RadGrid1_ExcelMLExportRowCreated.
I just want get whatever in radgrid as it is in excel.
How to achieve this please let me know.
Thanks in advance.
Manoj Gupta

string paramVal = "('" + isConditionalTimeFrame + "','" + imgExpandButton.UniqueID + "','" + grdViewRegistries.ClientID + "')";
if
(isConditionalTimeFrame)
{
dtpLastEventDate.ClientEvents.OnDateSelected =
"dtpLastEventDate_OnDateSelected" + paramVal;
}
This is my java script,
function
dtpLastEventDate_OnDateSelected(isConditionalTimeFrame, imgExpandButtonUniqueID, grdViewRegistriesClientID)
{
}
The issue is, the script is executed immediately after ItemDataBound, and its not triggered when I select any date in the DatePicker.
If anybody have any idea about this, pls share with me.
Thanks.
Protected Sub OnAjaxUpdate(sender As Object, args As ToolTipUpdateEventArgs) Me.UpdateToolTip(args.Value, args.UpdatePanel) End SubPrivate Sub UpdateToolTip(elementID As String, panel As UpdatePanel) Dim ctrl As Control = Page.LoadControl("../Class_Details.ascx") Session("center_id") = elementID panel.ContentTemplateContainer.Controls.Add(ctrl) End SubI am using DataSet as DataSource for RadGrid. I can apply DataSource either through NeedDataSource or through directly datasource property of radgrid. I could not use DataSource control for binding. I went through all examples but could not find one which does not use DataSource control or any example with DataSet.
Edit Scenario:
Records Insert / Update needs to be in-place and all rows are editable from start, User have option of clicking "Save" button to save all changes.
Insert Scenario:
For insert operation, when user clicks "Add New" button. New row will be added at bottom and user can add new record in that. Then clicking on "Save" button will save new record along with any changes made in existing records.
Current Issues:
# DataSource is not retained after post-back from "Save" or "Add New" button and RadGrids shows empty. Any control with in RadGrid, like rows and columns which are rendered in page are also empty.
# For Insert Scenario I tried adding empty row in DataTable and then did binding. But above issue occurs and not data is retained from end user.
Mentioned scenario should be well with-in the capabilities of RadGrid control. Please advise on implementation details.
Hello,
I have a RadGrid with 4 template columns.
1. ASP:TextBox
2. RadEditor
3. ASP:LinkButton (ADD)
4. ASP:LinkButton. (DELETE)
When we click on "ADD" button we are adding a new row next to the selected row. Same way we are deleting the selected row on click of "DELETE" button. This we are doing in postback by rebinding the RadGrid. We need to avoid the postback and Add/Delete rows dynamically in javascript. Please provide the solution. Please find herewith the sample code that we are doing in code behind.
FYI: we are using net framework 4.0 and the Telerik.Web.UI.dll version is v. 2011.2.915.40
I am not able to add the code here.