Hi, how can I set the default value for Draw Shape and Draw Text element. For example I set the default value border thickness=3 , shape color = red, shape fill = transparent. For now, all the setting I need to set at the DrawShapeDialog. Can I hide this pop up? So that user can straight forward to make a draw.
Hi,
The default color of the checkbox in the grid is beige or grey. How do I change the color of the background to white?
I use: Office2013light
Attached image.
Hi, excel have a very nice feature that, when on a pivot, if you double click a cell, it shows the full dataset which is bound to the same cell.
It is possible to achieve the same by using the radpivotgrid?
For example we need to know, when a user double clicks on a cell which is the result of an aggregate (sum, average etc..) what are the rows on the dataset which generated that sum.
Best
Andrea
I am struggling with an feature that I'd like to implement.
Basically, I'd like a visual cue that indicates the current value of the range as end user changes the value of the range.
My TrackBar has 1440 minutes and I'd like to display what minute they're on without it being guess work.
I attached a screenshot of my implementation of the track bar.
Ideally, I'd like to display a label underneath the TrackbarThumbElement that would update as the value updates and then disappear. Any ideas how I might be able to update the UI with the current value of the range as the end user is manipulating the control?
void
TextCodeGridView_CellEditorInitialized(
object
sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
var editManager = sender
as
GridViewEditManager;
var editor = editManager.ActiveEditor
as
RadDropDownListEditor;
if
(editor ==
null
)
return
;
var editorElement = ((RadDropDownListEditor)editor).EditorElement;
switch
(e.ColumnIndex)
{
case
0:
var tcArray = _db.TCs.Where(t=>t.TC_GROUP_MEMBERs.Any(tcg=>tcg.TC_GROUP.LAND_IDX == Startup.CurrentConsultant.CountryId)).ToList();
tcArray.Insert(0,
null
);
((RadDropDownListEditorElement)editorElement).DataSource = tcArray;
((RadDropDownListEditorElement)editorElement).DisplayMember =
"TC1"
;
((RadDropDownListEditorElement)editorElement).ValueMember =
"TC1"
; ;
if
(
this
.TextCodeGridView.CurrentRow.Cells[0].Value ==
null
)
((RadDropDownListEditorElement)editorElement).SelectedIndex = 0;
else
((RadDropDownListEditorElement)editorElement).SelectedIndex = tcArray.IndexOf(_db.TCs.SingleOrDefault(t => t !=
null
&& t.TC1 ==
this
.TextCodeGridView.CurrentRow.Cells[0].Value));
break
;
case
1:
var tclistArray = _db.TC_LISTs.Where(t => t !=
null
&& t.TC ==
this
.TextCodeGridView.CurrentRow.Cells[0].Value).ToList();
tclistArray.Insert(0,
null
);
((RadDropDownListEditorElement)editorElement).DataSource = tclistArray;
((RadDropDownListEditorElement)editorElement).DisplayMember =
"TEXT"
;
((RadDropDownListEditorElement)editorElement).ValueMember =
"VALUE"
; ;
((RadDropDownListEditorElement)editorElement).SelectedIndex = tclistArray.IndexOf(tclistArray.SingleOrDefault(t => t !=
null
&& t.ISDEFAULT));
this
.TextCodeGridView.CurrentRow.Cells[1].Value = tclistArray.SingleOrDefault(t => t !=
null
&& t.ISDEFAULT).TEXT;
break
;
}
}
Hello all,
i am trying to follow the official tutorial considering custom items for the RadPropertyGrid (https://docs.telerik.com/devtools/winforms/controls/propertygrid/custom-items) in a Progress Openedge 11.7 environment. I set up a test project consisting of a Form that holds a RadPropertyGrid and a Button whose Click Event will set the SelectedObject of the RadPropertyGrid. All other classes are more or less exactly translated into OpenEdge code from the tutorial.
The problem appears to be the assignment of the "ItemElementType" in the custom CreateItemElement
On the line "e:ItemElementType = TypeHelper:GetType("CustomItemElement")." the client begins to fire the event again and cause an infinit loop of event calls.
I could provide the sample project as .7zip if you like.
HI,
I tried to export from my winform radgridview data which contains view definition using example provided in link https://docs.telerik.com/devtools/winforms/controls/gridview/exporting-data/spread-export. Once I tried this code application is not compiling. There were no errors in output window when we carefully checked I found that there is an error related to SpreadExportRenderer. The error was "error BC30002: Type 'Telerik.WinControls.Export.SpreadExportRenderer' is not defined". My TelerikExport.dll version is 2016.1.216.20. Can you please help me out how to solve this issue.
Regards
Harsha D
.AllowFiltering =
true
I also have a cellformatting event that will change the button text based on a date but I no longer am able to ref the cell.commandbutton as the cell type has changed from "GridCommandCellElement" to
"GridFilterCellElement"
Hi
This code correctly changes the name of the tab after a myUserControl is added.
How can I change the title of the selected tab anywhere in the program without calling RadTabbedFormControlEventArgs e?
code snippet:
private void radTabbedFormControl1_TabAdded(object sender, RadTabbedFormControlEventArgs e)
{
UserControl1 myUserControl = new UserControl1();
myUserControl.Dock = DockStyle.Fill;
e.Tab.Controls.Add(myUserControl);
e.Tab.Owner.SelectedTab = e.Tab;
e.Tab.Text = myUserControl.this_title;
}