Hello Team,
We are using the telerik RadGridView in our windows application. In the grid we are having the header sorting option, after sorting we need to clear the sorting dynamically when click the remove filter icon. Video link mentioned for your reference. Please help us to resolve this issue.
Video link : https://suganya-gmail.tinytake.com/df/1265942/thumbnail?type=attachments&version_no=0&file_version_no=0&thumbnail_size=preview
Thanks in advance.
Hi, good day.
I have developed web applications using telerik controls with Visual Studio.We use the same shortcut key in different places, where they can be in the general RadMenuItem but also on a menuitem in a RadContextMenu tied to a text box.
But, when i am focused on the text box and hit F12, it fires the radmenuitem F12 shortcut and never fires the contextmenu option. The ZIP file has the program that shows this.
Within windows using the standard menu and context menu, the context menu shortcut is fired and not the general menu shortcut. Windows seems to be treating it as you are on this field and there is a context menu with this shortcut - fire that event. Whereas Telerik seems to be looking at the general menu before the context menu.
Am i doing something wrong to get the context menu shortcut to fire and not the general menu shortcut?
Hello,
I have an unbound hierarchical radgridview that has a parent template and two child templates. The master templates work fine, I can insert, type or paste data. But in the child template, I cannot add any data or rows. It remains blank. Can you tell me what I am doing wrong?
My code are below.
Sorry I am using UI Winform
Thank you in advance.
private void TestForm_Load(object sender, EventArgs e)
{
// Setup the Master Template
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Name"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Description"));
RadGrid.MasterTemplate.Columns.Add (new GridViewDateTimeColumn("Date"));
RadGrid.MasterTemplate.Columns.Add (new GridViewDecimalColumn ("Value"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Status"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("NameCode"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Event"));
RadGrid.AllowAddNewRow = true;
RadGrid.AutoGenerateHierarchy = true;
RadGrid.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
//Setup Child Template
GridViewTemplate Childtemplate = new GridViewTemplate();
RadGrid.MasterTemplate.Templates.Add (Childtemplate );
Childtemplate.AllowAddNewRow = true;
Childtemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
Childtemplate.Columns.Add (new GridViewTextBoxColumn ("Name"));
Childtemplate.Columns.Add (new GridViewTextBoxColumn ("Description"));
//Relation between Parent & child
GridViewRelation relation = new GridViewRelation(RadGrid.MasterTemplate);
relation.ParentTemplate = RadGrid.MasterTemplate;
relation.ChildTemplate = Childtemplate;
relation.ParentColumnNames.Add("Name");
relation.ParentColumnNames.Add("Description");
relation.ParentColumnNames.Add("PtDate");
relation.ParentColumnNames.Add("Value");
relation.ParentColumnNames.Add("Status");
relation.ParentColumnNames.Add("NameCode");
relation.ParentColumnNames.Add("Event");
relation.ChildColumnNames.Add ("Name");
relation.ChildColumnNames.Add ("Description");
RadGrid.Relations.Add(relation);
//load data
LoadUnboundData();
}
Buonasera
devo realizzare un pannello, contenete testo e immagini, scollabile in modo touch , cioè senza barra laterale, attivando lo scoll con il mouse
"su e giu", sto provando con scollablepanel ma non so come attivare gli eventi scoll .
e possibile avere una diritta ? magari c'e' un esempio in vb.net ?
grazie
I am new at Telerik.
I would like to validate data that are in my radgridview,. If data are saved in the database they must be highlighted orange. The radgriview in my form does not have any columns before I run the application. The columns are developed programmatically and the radgridview bound at runtime.
How can I validate the columns?
I have tried the following code but it does not work.
Can you tell me what I am doing wrong?
Thank you in advance
void RadGridView_CellValidating(object sender, Telerik.WinControls.UI.CellValidatingEventArgs e)
Hello,
I have an unbound hierarchical radgridview that has a parent template and two child templates. The master templates work fine, I can insert, type or paste data. But in the child template, I cannot add any data or rows. It remains blank. Can you tell me what I am doing wrong?
My code are below.
Thank you in advance.
private void TestForm_Load(object sender, EventArgs e)
{
// Setup the Master Template
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Name"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Description"));
RadGrid.MasterTemplate.Columns.Add (new GridViewDateTimeColumn("Date"));
RadGrid.MasterTemplate.Columns.Add (new GridViewDecimalColumn ("Value"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Status"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("NameCode"));
RadGrid.MasterTemplate.Columns.Add (new GridViewTextBoxColumn("Event"));
RadGrid.AllowAddNewRow = true;
RadGrid.AutoGenerateHierarchy = true;
RadGrid.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
//Setup Child Template
GridViewTemplate Childtemplate = new GridViewTemplate();
RadGrid.MasterTemplate.Templates.Add (Childtemplate );
Childtemplate.AllowAddNewRow = true;
Childtemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
Childtemplate.Columns.Add (new GridViewTextBoxColumn ("Name"));
Childtemplate.Columns.Add (new GridViewTextBoxColumn ("Description"));
//Relation between Parent & child
GridViewRelation relation = new GridViewRelation(RadGrid.MasterTemplate);
relation.ParentTemplate = RadGrid.MasterTemplate;
relation.ChildTemplate = Childtemplate;
relation.ParentColumnNames.Add("Name");
relation.ParentColumnNames.Add("Description");
relation.ParentColumnNames.Add("PtDate");
relation.ParentColumnNames.Add("Value");
relation.ParentColumnNames.Add("Status");
relation.ParentColumnNames.Add("NameCode");
relation.ParentColumnNames.Add("Event");
relation.ChildColumnNames.Add ("Name");
relation.ChildColumnNames.Add ("Description");
RadGrid.Relations.Add(relation);
//load data
LoadUnboundData();
}
We would like to draw a red border around the camera stream while video is recording. I tried attaching ot the StartRecording event and modifying the UI internals:
((Telerik.WinControls.UI.RadWebCamElement)(radWebCam1.GetChildAt(1))).DrawBorder = true;
((Telerik.WinControls.UI.LightVisualElement)(radWebCam1.GetChildAt(2))).BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder;
((Telerik.WinControls.UI.LightVisualElement)(radWebCam1.GetChildAt(2))).BorderWidth = 8F;
((Telerik.WinControls.UI.LightVisualElement)(radWebCam1.GetChildAt(2))).BorderColor = System.Drawing.Color.Red;
and it sortof works.. the border reduces size, and isn;t shown at the bottom. I have the
radWebCam1.ControlPanelHeight = 0;
because we are adding custom controls. but when we StopRecording and I execute
((Telerik.WinControls.UI.RadWebCamElement)(radWebCam1.GetChildAt(1))).DrawBorder = false;
the border is not hidden.
The camera control is docked on teh form next to a collapsible panel, If I expand the panel, the border goes to full size. But it still doesn't hide when I set DraBorder to false.