Hi,
Currenlty, we're using the ASP.NET AJAX Scheduler control for our project, and we already implement the adaptive for mobile as example below:
http://demos.telerik.com/aspnet-ajax/scheduler/mobile-examples/overview/default.aspx?name=overview&utm_source=AJAX+Demos&utm_medium=QRcode&utm_campaign=Ajax_mobile_demos_qrcode
It's easy to use and behavior is perfect and there is no confusion between events/user actions (like move, extend, zoom, ...)
Now we plan to upgrade the project to MVC and intend to use the ASP.NET MVC Scheduler. But after made some research and try some example, I cannot setup the scheduler similar to ASP.NET AJAX Scheduler control.
http://runner.telerik.io/fullscreen/eLUyU
You see it's not really easy to use for mobile,
Could you let me know if I can achieve the behavior the same as ASP.NET AJAX Scheduler control.
Thanks
Is it possible to show only pointer cursor and click functionality on the shapes and NOT on the connections?
Marc
My app has a TreeView with tristate checkboxes. The state is stored in a database. I'm wondering about the best way to save and restore state for parent nodes that are Indeterminate.
If I simply save the collection of nodes I get from the treeview.Checked method and restore the same nodes (as checked), the TreeView doesn't end up looking like the original state. Parent nodes that are indeterminate are restored as Checked and all their children are restored as checked.
Do I need to go through the Checked nodes and remove the ones that are indeterminate for storage? This seems to work differently in the current version of the TreeView than it did in a version from a few years back.
--Mark
Hello,
IndexOutOfRangeException error has occurred when PieSeriesItem is over thirteen.
It works normally up to twelve PieSeriesItem.
Is there a limit of twelve PieSeriesItem to use?
Hi
I am working on the project where customer wants editor which can track changes. I would like to integrate RadEditor in Dynamics CRM 2016 with tracking change. can you please guide me through how can I use radEditor in CRM forms.
Thanks
Hi,
After upgrading from 2013:3:1114:35 to 2017.1.228.35.
When a grid returns no data (by filtering a column for example) the word "caption" appears.
This stays even after the filtering has been removed and data gets displayed.
The code has the following set
MasterTableView.NoMasterRecordsText = string.Empty;
The grid data is loaded client-side
I'm using a RadGrid with a GridTemplateColumn. In my EditItemTemplate I place a RadDropDownList and I set the OnClientDropDownClosed event to a JS function. Everything has been working fine for quite a while. Then after updating our project to 2017.1.228.45 the OnClientDropDownClosed event is now firing twice.
This is a problem for the application because inside our OnClientDropDownClosed JS function we have a Confirm pop up. When the event is fired twice Two pop up's get displayed on the UI.
Any suggestions on how to correct this behavior?
I'm trying to automatically resize the rad window containing a rad editor when the rad editor changes size when AutoResizeHeight is true.
I've tried following the directions in: http://www.telerik.com/forums/what-event-is-fired-on-resize but it doesn't appear that onResizeEnd is called when auto resizing. Can I get some direction about what event to trap on so I can resize my Rad Window manually? Or perhaps that is some other way to get the rad window with .AutoSize = true to automatically resize when rad editors in the window change size.
Thanks!
Hello,
I'm using try version and I found two problem and would like your help.
1. My line disappears when I have more four sub items (see example)
2.This example is more difficult to explain because but I try.
I have structure (see image OrgChart4.PNG) and I need that my orgChart stay as OrgChart1.PNG, group by Header (like "Operacional") but some other "Operacional" groups name are in blank.
What is happening?
Regars,
Renato Vilela
List<
Structure
> lsStructure;
CreateOrg(lsStructure);
private void CreateOrg(List<
Structure
> lsStructure){
DataTable nodeTable = CreateNode(lsStructure);
DataTable itemsTable = CreateItems(lsStructure);
rocKAS.GroupEnabledBinding.NodeBindingSettings.DataFieldID = Support.GetMemberName((Structure c) => c.EnteID).ToString();
rocKAS.GroupEnabledBinding.NodeBindingSettings.DataFieldParentID = Support.GetMemberName((Structure c) => c.EnteParentID).ToString();
rocKAS.GroupEnabledBinding.NodeBindingSettings.DataSource = nodeTable;
//Nome das Pessoas
rocKAS.GroupEnabledBinding.GroupItemBindingSettings.DataFieldNodeID = Support.GetMemberName((Structure c) => c.EnteID).ToString();
rocKAS.GroupEnabledBinding.GroupItemBindingSettings.DataFieldID = Support.GetMemberName((Structure c) => c.DivisionID).ToString();
rocKAS.RenderedFields.NodeFields.Add(new Telerik.Web.UI.OrgChartRenderedField() { DataField = "Division" });
rocKAS.GroupEnabledBinding.GroupItemBindingSettings.DataSource = itemsTable;
rocKAS.DataBind();
rocKAS.CollapseAllNodes();
}
private DataTable CreateNode(List<
Structure
> lsStructure)
{
DataTable nodeTable = new DataTable();
DataRow row;
nodeTable.Columns.Add(Support.GetMemberName((Structure c) => c.EnteID).ToString(), typeof(int));
nodeTable.Columns.Add(Support.GetMemberName((Structure c) => c.EnteParentID).ToString(), typeof(int));
nodeTable.Columns.Add(Support.GetMemberName((Structure c) => c.DivisionID).ToString(), typeof(int));
nodeTable.Columns.Add(Support.GetMemberName((Structure c) => c.Division).ToString(), typeof(string));
foreach (var item in lsStructure)
{
row = nodeTable.NewRow();
row[Support.GetMemberName((Structure c) => c.EnteID).ToString()] = item.EnteID;
row[Support.GetMemberName((Structure c) => c.DivisionID).ToString()] = item.DivisionID;
row[Support.GetMemberName((Structure c) => c.Division).ToString()] = item.Division;
if(item.EnteParentID == 0)
row[Support.GetMemberName((Structure c) => c.EnteParentID).ToString()] = DBNull.Value;
else
row[Support.GetMemberName((Structure c) => c.EnteParentID).ToString()] = item.EnteParentID;
nodeTable.Rows.Add(row);
}
return nodeTable;
}
private DataTable CreateItems(List<
Structure
> lsStructure)
{
DataTable itemsTable = new DataTable();
DataRow row;
itemsTable.Columns.Add(Support.GetMemberName((Structure c) => c.EnteID).ToString(), typeof(int));
itemsTable.Columns.Add(Support.GetMemberName((Structure c) => c.EnteParentID).ToString(), typeof(int));
itemsTable.Columns.Add(Support.GetMemberName((Structure c) => c.EntePosition).ToString(), typeof(string));
itemsTable.Columns.Add(Support.GetMemberName((Structure c) => c.Division).ToString(), typeof(string));
itemsTable.Columns.Add(Support.GetMemberName((Structure c) => c.DivisionID).ToString(), typeof(Int16));
itemsTable.Columns.Add(Support.GetMemberName((Structure c) => c.EnteName).ToString(), typeof(string));
foreach (var item in lsStructure)
{
row = itemsTable.NewRow();
row[Support.GetMemberName((Structure c) => c.EnteID).ToString()] = item.EnteID;
row[Support.GetMemberName((Structure c) => c.EnteParentID).ToString()] = item.EnteParentID;
row[Support.GetMemberName((Structure c) => c.EntePosition).ToString()] = item.EntePosition;
row[Support.GetMemberName((Structure c) => c.Division).ToString()] = item.Division;
row[Support.GetMemberName((Structure c) => c.DivisionID).ToString()] = item.DivisionID;
row[Support.GetMemberName((Structure c) => c.EnteName).ToString()] = item.EnteName;
itemsTable.Rows.Add(row);
}
return itemsTable;
}
I have an excel export on my grid in which i export some balances.
Some of the balances are returned in big negative numbers from the database. I need to round them up so they don't show up as big negative numbers in excel.
They show fine in the grid. My column declarations are like:
<
telerik:GridBoundColumn
Aggregate
=
"Sum"
DataField
=
"TransferDollars"
HeaderText
=
"Transfers"
DataFormatString
=
"{0:c2}"
UniqueName
=
"Transfers"
SortExpression
=
"TransferDollars"
AllowFiltering
=
"false"
HeaderStyle-Width
=
"9%"
FooterStyle-HorizontalAlign
=
"Right"
>
</
telerik:GridBoundColumn
>
I change them to a currency format in my InfrastructureReporting event, how can i round them up before export.
protected virtual void grid_InfrastructureExporting(object sender, GridInfrastructureExportingEventArgs e)
{
foreach (xls.Row row in e.ExportStructure.Tables[0].Rows)
{
row.Cells[2, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[3, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[4, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[5, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[6, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[7, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[8, row.Index].Format = "$#,##0.00;($#,##0.00)";
row.Cells[9, row.Index].Format = "$#,##0.00;($#,##0.00)";
}
}
How can I do this?