I am using RadScheduler with TimeLineView Only, GroupBy Resource with GroupDirection set Vertical.
I set the object height to 585px, but when rendered, it only shows 360px, as you can see in the image.
What can I do to work around this situation without changing the rowHeight property?
I am using server-side binding but if I change to client-side binding, can I solve this problem modifying Client Rendering?
Hi,
I am trying to run the example https://docs.telerik.com/devtools/aspnet-ajax/controls/diagram/server-side-programming
But the output is as shown in the attached picture.
Can anyone inform me what I am missing?
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//RadDiagram2.Visible = true;
//RadDiagram2.DataSource = GetShapes();
//RadDiagram2.ConnectionDataSource = GetConnections();
//RadDiagram2.DataBind();
}
RadDiagram RadDiagram1 = new RadDiagram();
// General diagram settings
RadDiagram1.Width = 800;
RadDiagram1.Height = 600;
RadDiagram1.ShapeDefaultsSettings.Width = 140;
RadDiagram1.ShapeDefaultsSettings.Height = 30;
RadDiagram1.ShapeDefaultsSettings.StrokeSettings.Color = "#fff";
Form.Controls.Add(RadDiagram1);
// Layout settings
RadDiagram1.LayoutSettings.Enabled = true;
RadDiagram1.LayoutSettings.Type = Telerik.Web.UI.Diagram.LayoutType.Layered;
RadDiagram1.LayoutSettings.Subtype = Telerik.Web.UI.Diagram.LayoutSubtype.Right;
RadDiagram1.LayoutSettings.VerticalSeparation = 20;
RadDiagram1.LayoutSettings.HorizontalSeparation = 30;
// Programmatic creation of shapes and connections
AddDiagramShape("Shape1", "#8CB20F", "Shape 1", "#fff", RadDiagram1);
AddDiagramShape("Shape2", "#F8C43A", "Shape 2", "#fff", RadDiagram1);
AddDiagramShape("Shape3", "#F18100", "Shape 3", "#fff", RadDiagram1);
ConnectDiagramShapes("Shape1", "Shape3", RadDiagram1);
ConnectDiagramShapes("Shape2", "Shape3", RadDiagram1);
} protected void AddDiagramShape(string shapeID, string backgroundColor, string contentText, string contentColor, RadDiagram diagram)
{
var shape = new DiagramShape()
{
Id = shapeID,
};
shape.ContentSettings.Text = contentText;
shape.ContentSettings.Color = contentColor;
shape.FillSettings.Color = backgroundColor;
diagram.ShapesCollection.Add(shape);
}
protected void ConnectDiagramShapes(string startShapeID, string endShapeID, RadDiagram diagram)
{
var connection = new DiagramConnection();
connection.FromSettings.ShapeId = startShapeID;
connection.ToSettings.ShapeId = endShapeID;
diagram.ConnectionsCollection.Add(connection);
}
Regards,
Omar

Hi,
How to get all Rad Controls that are within the selected TAB PageView? using JS
I know that you can get all the controls within the form using this code.
var allRadControls = $telerik.radControls;
Thanks,
Omar
Can anyone help with a database structure to create RadDiagram Shapes and Connectors in the database using co-ordinates to automatically load the diagram.
I couldn't find anything in the demos or docs. For example on the link beloq the sql connections are shown but not what structure is need to create this?
http://demos.telerik.com/aspnet-ajax/diagram/examples/databind/defaultcs.aspx
Thank you.
I would like to put DataFormat on a cell level in a batch grid.
Jobs # 5
Unemployment 3.25%
What is the best way?

I am using Aggregate="sum", but one of my rows contains years and should not be aggregated.
Is there a way?
When exporting to a CSV file the download works as expected with the delimiter set to comma. Once the delimiter is changed to any other value, i.e. Semicolon, Vertical bar the file opens in the browser window instead of downloading.
Is there a way to initiate the download instead of opening the file in a browser window?
Hi,
I want to attach the client event to a dynamically created radio list.
Below is an example of a dynamically created radio list.
The question is, How to attach the JS function to OnSelectedIndexChanged, to display the selected radio value?
Many thanks in advance.
Omar
RadRadioButtonList RBL = new RadRadioButtonList();
RBL.ID = "Radio" + i.ToString();
RBL.AutoPostBack = false;
ButtonListItem answer1 = new ButtonListItem();
answer1.Text = "Answer " + i.ToString();
answer1.Value = i.ToString();
RBL.Items.Add(answer1);
ButtonListItem answer2 = new ButtonListItem();
answer2.Text = "Answer " + i.ToString();
answer2.Value = i.ToString();
RBL.Items.Add(answer2);
ButtonListItem answer3 = new ButtonListItem();
answer3.Text = "Answer " + i.ToString();
answer3.Value = i.ToString();
RBL.Items.Add(answer3);
RBL.ClientEvents.OnSelectedIndexChanged = "OnItemClicked";The following code disables the combobox, but I cannot enable it by unchecking the checkbox again...howcome?
<telerik:RadComboBox Width="100%" ID="rcb_zorgverzekeraar" runat="server"></telerik:RadComboBox>
<asp:CheckBox ID="chk_verzekeraar" CausesValidation="false" AutoPostBack="true" OnCheckedChanged="chk_verzekeraar_CheckedChanged" Text="Ik weet het niet" runat="server" />
with:
Protected Sub chk_verzekeraar_CheckedChanged(sender As Object, e As EventArgs)
rcb_zorgverzekeraar.Enabled = Not chk_verzekeraar.Checked
End Sub
Marc
Hi, we found a problem after updating our project to our last available version witch is "Complimentary R1 2020 Version", we are on 2016.2.607.40, and after find a problem in radgrid and keyboard interaction we look at out download page and have the complimentary version, we try it and that problem solves, but in a recently added radfilter we discover that stop working as spectated.
We use RadFilterDropDown with radcomboboxes, which load on demand.
First, we see that load settings displays the saved info of combos in blank.
Second, we discover also that selecting a item from combo, not saving on settings and not showing on preview also
With 2016.2.607.40
With Trial version of 2023.3.1010 (we try it to see if problem solved on last version)
Attached isolated sample for reproduction