Telerik Forums
UI for WinForms Forum
1 answer
97 views
Hi,
I need to create a custom user control which contains a grid and some other components, the grid is a public property of the panel.
When i drop the panel on the form and use the grid property to create columns everything is fine, but suddenly i realized the form is not generating added column's code in designer.cs, and after build there is no column left in my grid.
So, my question is how can i force form to generate the columns code?
Tnx
Dimitar
Telerik team
 answered on 26 Dec 2016
1 answer
238 views

Hello,

I was wondering if it is possible to use the Context Menu on a Line series radchartview? I want to be able to right click on a Line series within the chart and open up a context menu that corresponds to that line and I also want to be able to do the same thing on the legend except with a separate context menu.

Any ideas?

 

Thank you,

 

Erkin

Hristo
Telerik team
 answered on 23 Dec 2016
1 answer
100 views

Hi,

Aft

After experiencing a crash when pressing any alpha-numeric key on a cell containing a VirtualGridDropDownListEditor, I spotted an error in Telerik source code at file RadGridView\VirtualGrid\Input\VirtualGridInputBehavior.cs (around line 1441) :

protected virtual bool HandleAlphaNumericKey(KeyPressEventArgs keys)
{
 
    ...
 
    else if (this.GridElement.ActiveEditor is VirtualGridDropDownListEditor)
    {
        string symbol = keys.KeyChar.ToString();
        RadDropDownListEditor editor = this.GridElement.ActiveEditor as RadDropDownListEditor;
        RadDropDownListEditorElement element = editor.EditorElement as RadDropDownListEditorElement;
 
        if ((element.AutoCompleteMode & AutoCompleteMode.Append) == AutoCompleteMode.Append)
        {
         
            ...

 

The editor variable should be cast as VirtualGridDropDownListEditor

Just to let you know for next releases
Sorry if bug has already been spotted and fixed :)

Regards

Dimitar
Telerik team
 answered on 23 Dec 2016
3 answers
215 views

Hi

I'd like to add custom rows that have a single button on them. I've managed to get a custom row with a button showing instead of the new row as per your documentation, but I'd like to get it showing elsewhere. My grid is not data bound - I'm programatically adding rows to it and I'd like to programatically add the custom row at certain positions. My grid includes a single level of grouping, so I'd need to be able to add the row to a specified group. I'd also like to be able to use different button text in some cases and to pass the button click event up to the form that the grid is on. How do I do this?

Thanks

Dimitar
Telerik team
 answered on 22 Dec 2016
3 answers
290 views

Hi,

I was wondering if there is a way to use tooltips on a line series instead of a trackball. For example if i clicked on a certain line series in a multiline series chart, the information for that point of the line series would be displayed to the user? 

Thank you.

Dimitar
Telerik team
 answered on 22 Dec 2016
7 answers
2.6K+ views

I've got a few RadDateTimePickers which are all bound to various data sources. Some of them have a null value, some have values, which all display fine - however the issue I am having is that when you click the field to select a date, the default date that is selected is from when I added the control to the form.

 

This should be today's date, however the value of the field should remain null until the user has clicked a date. They do need to be able to select a date in the past/future though as well.

 

I'm using the latest version of Telerik UI for WinForms on a VB.net project.

 

Any help would be much appreciated.

 

Thanks, Shane

Hristo
Telerik team
 answered on 22 Dec 2016
6 answers
616 views
Hi, basically I want to simulate the Shift + click to sort multiple columns. For example, if the user click on Column A to do an ascending sort, I want to also sort Column B ascending.
I added the sort descriptors in the designer and it works on startup, but as soon I click on Column A or B, the original sort descriptors are lost.
Any suggestions?

Thanks,
Andy
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Dec 2016
1 answer
109 views

How to make it to catch ChartViewSelectedChanged event? Seems to work for other chart types such as cartesian or pie..

public Form1()
{
    InitializeComponent();
 
    radChartView1.Controllers.Add(new ChartSelectionController());
    radChartView1.SelectionMode = ChartSelectionMode.MultipleDataPoints;
    radChartView1.SelectedPointChanged += new ChartViewSelectedChangedEventHandler(OnChartSelectedPointChanged);
}
 
private void OnChartSelectedPointChanged(object sender, ChartViewSelectedPointChangedEventArgs e)
{
    PolarDataPoint pt = e.NewSelectedPoint as PolarDataPoint;
    if (pt == null) return;
    System.Diagnostics.Debug.WriteLine(" angle = " + pt.Angle + " value = " + pt.Value);
}
Dimitar
Telerik team
 answered on 21 Dec 2016
12 answers
536 views
With the previous editor - this code set the backcolor of the editor to white:
radRichTextEditor1.BackColor = System.Drawing.Color.White

But it doesn't seem to work in this new editor... is there different code required for the new editor?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Dec 2016
1 answer
836 views

Hello,

my goal is to print a PDF-File directly to a printer without showing the print preview.

 

This is what I tried:

 

rpd = new RadPrintDocument();

rpd.PrinterSettings.PrinterName = "printer";

rViewer = new RadPdfViewer();
rViewer.LoadDocument(sFileName);                
rViewer.DocumentLoaded += rViewer_DocumentLoaded;       

 

static void rViewer_DocumentLoaded(object sender, EventArgs e)

{
    //rViewer.PrintPreview(rpd);
      rViewer.Print(false, rpd);

}

 

When I send it directly to the printer ( rViewer.Print(false, rpd); ) it always prints it in portrait-format.

When I use rViewer.PrintPreview(rpd); and then press the Print-Button, it works. 

 

Does anybody have an idea? Thank you!

 

 

Hristo
Telerik team
 answered on 20 Dec 2016
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?