Telerik Forums
UI for WinForms Forum
1 answer
531 views
Hello,

i need a solution, that the user only can make time inputs in 15 minute steps. For example:

08:00
08:15
08:30
....

Is there a opportuniy, special for the arrow keys, when he clicks on it and the minutes are chosen, that the tick is 15 minutes and not 1 minute?

Greets,
Shaggy
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Dec 2013
1 answer
81 views
hello,
how to put the appointments side by side in timeline

cordially

Samuel
George
Telerik team
 answered on 05 Dec 2013
4 answers
69 views
Hi, 

I'm currently trying to reproduce the grid that is shwon in the ecran.jpg attachment.

I'm using the hierarchy grid view, but it doesn't seem to work when I try to do a hierarchy with more than 2 levels, the grid won't show the third level in my web app.

Do you have any insights on how to do a grid with more than 2 levels ?

Thanks in advance

George
Telerik team
 answered on 05 Dec 2013
1 answer
78 views

I wish to add a key or a tag with each node (db record id) so when the user selects the node, I can retrieve the key or tag and go query the database.

Suggestions on how to store the key during node creation(node.add) and retrieval would be helpful

Stefan
Telerik team
 answered on 05 Dec 2013
9 answers
170 views
Hi

How can i print the content of Richtextbox without using external apps? e.g. when no Word is installed on system?

Thanks for a hint
Daniel
Stefan
Telerik team
 answered on 05 Dec 2013
4 answers
142 views
Hi,

I am using a Telerik's GridView and experiencing the following issue:
Each row in the gridview has a checkbox, so does the header of the Gridview (to select or deselect all the rows).

There is sorting that works fine everytime I click on column headers.
But when I click on the checkbox in header to select or deselect all rows in the grid, the column headers disappear.

When I switch off the sorting functionality - checkbox works fine and headers are not missing.

When I switch on the sorting functionality, the sorting works fine when clicking on column headers, but again when clicking on header checkbox to select or deselct all rows - headers disappear.

I would appreciate any advice.

Thank you,
Tanya
Stefan
Telerik team
 answered on 05 Dec 2013
10 answers
519 views
hi,

how can i set an image for a command cell / button?

using "e.CellElement.Image = My.Resources.file_doc" together with the cellformatting event handler as like for common cells doesn't work...

thanks,

andi
Nikolay
Telerik team
 answered on 04 Dec 2013
2 answers
138 views
Hi,

I am using RadControls for WinForms Q1 2011 and Visual Studio 2012, Ultimate Edition to develop a .NET4.0 app.
The app uses RadTreeView for showing a very simple file system explorer and removes nodes in two cases:
1. On NodeExpandedChanged the event handler removes a dummy node representing a collapsed directory with a new node.
private void OnDirExpandedChanged(object sender, RadTreeViewEventArgs e)
{
    if (e.Node.Expanded)
    {
        if (e.Node.FirstNode.Name == "____dummy____")
        {
            m_fileExplorer.BeginUpdate();
 
            RadTreeNode l_parent = e.Node.Parent;
            int l_nIx = e.Node.Index;
 
            e.Node.Remove();
 
            RadTreeNode l_new = CreateDirNode(new DirectoryInfo(e.Node.Name), true);
            l_parent.Nodes.Insert(l_nIx, l_new);
            l_new.Expand();
 
            m_fileExplorer.EndUpdate();
        }
    }
} // OnDirExpandedChanged
This code works just fine.

2. On EventArrived fired by System.Management.ManagementEventWatcher upon CD insertion/ejection the event handler removes either a node representing the empty drive or a node representing the CD file system.
Currently I narrowed the code just to the attempt to remove a CD node
private void OnCdInsert(object sender, EventArrivedEventArgs e)
{
    ManagementBaseObject l_wmiDevice = (ManagementBaseObject) e.NewEvent["TargetInstance"];
    string l_sDriveRootDir = l_wmiDevice["Name"].ToString() + Path.DirectorySeparatorChar;
 
    int l_nIx = m_fileExplorer.Nodes[0].Nodes.IndexOf(l_sDriveRootDir);
 
    m_fileExplorer.Nodes[0].Nodes[l_nIx].Remove(); // (1)
    m_fileExplorer.Nodes[0].Nodes.Remove(l_sDriveRootDir); // (2)
} // OnCdInsert
I tried different ways of removing the node, I tried wrapping the code with BeginUpdate()/EndUpdate(), I tried calling Invalidate() or Refresh() - the result is always the same
a) The node itself is still shown, although the debugger shows that the nodes count has decreased;
b) Expanding other nodes, e.g. a node representing C:\, does not work any more, i.e. the event is fired, but view remains unchanged.

Note: The only difference between the nodes removed in the cases #1 and #2 is that OnDirExpanded() removes only grandchildren or farther of the root node, while OnCdInsert() removes a child of the root node.

I am really lost and your help is my only hope now.

I am looking forward to your assistance and thank you in advance for it.

Best regards,
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Dec 2013
5 answers
664 views
RadGroupBox shows a white border around the inner controls. i don't want the control to show the border. i have tried to find different ways but couldn't do it. here is a screenshot. you can see the white border here which i want to be removed.

is there any way to do it?
Nikolay
Telerik team
 answered on 04 Dec 2013
2 answers
124 views
I am using the RowChanged event to determine when a row is added, deleted and modified.

Everything is working perfectly except that I only want to invoke the back-end service layer to apply my 'change' when the row is entirely updated instead after each cell.

If I use RowValidated or RowValidating I lose the state of the row (added, updated, deleted)..
Any advice is appreciated.

Winforms Telerik version: 2013.1.321.40

thanks
Dimitar
Telerik team
 answered on 04 Dec 2013
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?