

Hi Telerik team,
Currently I am having the parent - child data in the same table in the below format.
My Data...
Id | ParentId |score2 | 1 | 563 | 1 | 984 | 2 | 755 | 2 | 756 | 2 | 997 | 5 | 73Now I want to build the hierarchy grid using that single table. without defining separate detail table for each level
Note that the level is not limited. it can be extended to many level.
I want the grid to be like below
id | score>1 | 100 >2 | 56 >4 | 75 >5 | 75 >7 | 73 >6 | 99 >3 | 98Please help how to do this
Thanks
Alex

We have a gantt control on a web page that is using a custom provider. Our custom provider handles a project with various project tasks.
When I click on a task in the gantt provider I capture the id of the task via javascript and populate a form (div tag) and display it beneath my gantt control.
The problem I have is that a project could contain hundreds of tasks. If the user wants to select a task and then perhaps edit it and do this over for several other tasks it becomes time consuming. This is because clicking in the task list inside the gantt control causes all the code utilized to build the data for the control to be executed. (postback.. database call.. custom gantt provider dataType conversions.. etc..) Is there any way to prevent a complete regeneration of the gantt control when all I want to do is capture the id of the task selected and populate a <div> with the information about the task?
Thanks!
Julian
Hi,
I have upgraded Telerik dlls from 2012 to 2015 version and have a RadEditor issue inside a user control on Chrome.
This user control is placed inside a Modal popup within an Update panel on the parent page.
When the Radeditor is loaded, IFrame extends beyond the content body area in Design mode but it works fine in HTML mode.
If we set IFrame height to 100%, it works fine in design mode but misaligned in HTML mode(since for HTML mode Iframe height should be 0).
I have also tried to set Iframe height through javascript for different tabs but javascript function is not firing.
Please let me know how to resolve this issue.
I have a radGantt utilizing a custom C# provider. If i select a task in the gantt chart on the left and hit the delete key the code triggers the following server side event..
protected void radGanttPlanning_OnTaskDelete(object sender, TaskEventArgs e)
{​
In this section of code in the code behind how would i obtain the currently selected taskId of the task I need to delete?
Here is the custom provider's getTask method just to show you the structure of the CustomTask should you need it.
public override List<ITask> GetTasks()
{
if (taskList == null)
{
List<CurrencyRates> lsCurrencyRates = CurrencyRate.GetEffectiveCurrencyRates();
var tasks = (from DataRow drDataRow in dtResultTable.Rows
select new CustomTask
{
DatabaseID = int.Parse(drDataRow["id"].ToString()),
ID = drDataRow["projecttaskid"].ToString(),
ParentID = (drDataRow["parentId"] == DBNull.Value) ? null : drDataRow["parentId"],
OrderID = int.Parse(drDataRow["OrderId"].ToString()),
Start = DateTime.Parse(drDataRow["startdate"].ToString()),
End = DateTime.Parse(drDataRow["enddate"].ToString()),
Summary = bool.Parse(drDataRow["issummarytask"].ToString()),
Title = drDataRow["taskname"].ToString(),
Active = bool.Parse(drDataRow["active"].ToString()),
PreferredStart = DateTime.Parse(drDataRow["preferredstartdate"].ToString()),
Expanded = bool.Parse(drDataRow["expandable"].ToString()),
PercentComplete = (Decimal.Parse(drDataRow["percentageComplete"].ToString())/100),
ProjectID = int.Parse(drDataRow["projectid"].ToString()),
GuidID = Guid.Parse(drDataRow["guidid"].ToString()),
PredecessorIndicies = drDataRow["predecessorIndicies"].ToString(),
SchedulingGranularity = int.Parse(drDataRow["schedulingGranularity"].ToString()),
IndentLevel = int.Parse(drDataRow["indentlevel"].ToString()),
//Effort = int.Parse(drDataRow["effort"].ToString()),
TotalActualHours = double.Parse(drDataRow["TotalActualHours"].ToString()),
IsVave = bool.Parse(drDataRow["projectisvave"].ToString()),
lsCurrencyRates = lsCurrencyRates
}).Cast<ITask>().ToList();
taskList = tasks;
}
return taskList;
}
Hi there,
I'm currently using a Radgrid with render mode auto. In Desktop browser, export button does fine. In mobile browser, if I tap filter icon, then open Filter options, but tap export not open export options . I used UI for ASP.NET AJAX Q3 2015 SP1 (version 2015.3.1111).
How can I solve this?
Kind Regards,
I'm using the ExportType.ExcelXslx to export my grid as "Xslx" file, It's working well.
Unfortunatly, when I try to export the grid as Excel file to an email, the Excel file is corrupt.
I get the e.ExportOutput and get bytes from en AsciiEncoding like I did with ExcelML export type in the GridExporting method.
var gridMemoryStream = new MemoryStream(new ASCIIEncoding().GetBytes(e.ExportOutput));
What's the proper way to get the "Xlsx" file from an RadGrid at the ExportExcel() without file corruption ?