Hi,
I have a problem. We have migrated from old library to RadPageView and everything is working, except ShortCuts to specific tabs. In previous library we had feature that, we can add & before letter and it has been using as a shortcut to this tab. Also this char has underline under themselves. Is if possible to do it in Telerik? I was looking for it, but without success
Thank you in advice for any answers.
Best regards,
Patryk
Hello
I need to open the contextmenu of a radgridview without having the current row changed.
Can I identify if the right mouse button is clicked and cancel the current row changing
or do I need to open the menu from the MouseUp event, in which case I need to identif the row on which the right mouse is click event is fired
Thanks in advance
Best Regards
Hi,
i need to create a custom RadDiagramConnector with custom shape then add it to a shape like RoundRectShape and i should connect from it with a drag operation to another RoundRectShape and create programmaticalli the connection.
It is possible to have a complete example
Thanks in advance
Raffaele Z.
Hello,
I'm trying to use RadGridView to export a datatable to Excel. I've created a method that takes a datatable as a parameter, creates a RadGridView, sets the dataSource to the datatable, and then exports. Problem is that the RadGridview doesn't seem to be getting populated with the contents of the dataTable. I feel like I'm missing something like 'gridView.DataBind();' but I can't find anything like that in the documentation. Code is below:
public static void ExportToExcel(DataTable myDT)
{ using (Telerik.WinControls.UI.RadGridView grid = new Telerik.WinControls.UI.RadGridView())
{
grid.AutoGenerateColumns = true;
grid.DataSource = myDT;
//grid.LoadElementTree();
//grid.Refresh();
GridViewSpreadExport spreadExporter = new GridViewSpreadExport(grid); SpreadExportRenderer exportRenderer = new SpreadExportRenderer();
spreadExporter.RunExport("c:\\exportedFile.xlsx", exportRenderer);
}
}
Hello there,
I have some question about working with RadScrollablePanel.
Sometimes the RadScrollablePanel does not correctly display the scrollbars. For example, I use RadLabel bounded by width of RadScrollablePanel (using the dynamically changeable MaximumSize property).
I noticed that the vertical scrollbar does not always appear if the height of RadLabel and height of RadScrollablePanel.DisplayRectangle differ by about 10 pixels (at 96 DPI and Segoe UI 8.25pt font). This is clearly seen in example 1.
If we change width of RadScrollablePanel by a few pixels, we will see a different picture. A vertical scrollbar will be displayed on the screen and everything will look like it’s supposed to be. Keep in mind that the height of the elements remains unchanged. This is seen in example 2.
But that's not all. If we change the RadForm size a little more again, then we will see that the vertical scrollbar disappeared from the screen again; however, it's marked as Visible = True and if we take the focus on RadScrollablePanel, we can scroll the content using mouse wheel for example. This is seen in example 3.
Example 1: https://c2n.me/3ZabLEg
Example 2: https://c2n.me/3Zaclrf
Example 3: https://c2n.me/3ZacJol
At first sight, this may seem like a minor bug. However, considering that RadForms (or another container) with a fixed size can be used, and the text itself can change dynamically during operation, this bug causes problems with displaying information for users.
What guidelines can you give to work with RadScrollablePanel to prevent this bug?
Below I attach project with example. Please change extension from JPG to ZIP.
I use Telerik 2018.3.1016.20 with .Net 3.5 on Win7
Best regards.
HEllo
I would like to display a lower case greek delta in the header of a grid view
in the view formatting event I use the following
If e.CellElement.Text = "D" Then
e.CellElement.ColumnInfo.HeaderText = "d"
e.CellElement.Font = New Font("Symbol", MyPreference.Font.Size, FontStyle.Bold)
Else
e.CellElement.ResetValue(VisualElement.FontProperty, ValueResetFlags.Local)
End If
and it displays a latin lowercase "d"
However if I set a upper case latin D :
If e.CellElement.Text = "D" Then
e.CellElement.ColumnInfo.HeaderText = "D"
e.CellElement.Font = New Font("Symbol", MyPreference.Font.Size, FontStyle.Bold)
Else
e.CellElement.ResetValue(VisualElement.FontProperty, ValueResetFlags.Local)
End If
I do get a Greek uppercase Delta
Any clue why it does not work for the lowercase ?
Thanks a lot for any suggestion
Best regards
Pierre-Jean