Telerik Forums
UI for WinForms Forum
1 answer
128 views
Hi,

I display RadMessageBox in a textbox's validating.  After I press OK button in the messagebox, the cursor is focus in the current control instead of next control.
However, if I use Visual Studio's messagebox, the cursor will stay in the next control after I press OK button.
So, how can I solve it?

p.s. The step to produce this problem as following:
1. Click on TextBox1 in form
2. Tab away from TextBox1
3. Message prompt out.
4. Use mouse to click [OK] button in message box.
5. After the message box disappear, the cursor stay in textbox1 (it should stay in textbox2).



 

Imports Telerik.WinControls
  
Public Class Form1
  
    Private Sub TextBox1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating
        RadMessageBox.Show("Testing", Me.Text, MessageBoxButtons.OK, RadMessageIcon.Info)
    End Sub
End Class
Richard Slade
Top achievements
Rank 2
 answered on 20 Mar 2011
1 answer
136 views
Hi,

I want to use the mouse and select multiple rows in one column or use "Shift-select" a couple of rows.
When I release the mouse (the mouse_up event triggers) I want the selected cells to be editable or maby one of the cells.
When the new value is entered in the editable cell and I hit the Enter button, all marked cells should be updated with the new value.

Is this possible? In that case how?

Thanks!!
Ola
Richard Slade
Top achievements
Rank 2
 answered on 20 Mar 2011
3 answers
420 views
Hi

I cannot seem to find a property on any of the command bar elements to associate it with an "imagelist". Am I missing something or can you not do this ?

I know you can add images directly but I want to use an imagelist to control the size of the images.

Thanks in advance.


Paul.
Ivan Todorov
Telerik team
 answered on 18 Mar 2011
3 answers
205 views
I'm looking for a way to hide the cell border of a child grid in a standard hierarchy gridview. I saw posts about removing the thick border around it, but not the cell border. Is it possible?

Thanks,
Andy
Richard Slade
Top achievements
Rank 2
 answered on 18 Mar 2011
7 answers
240 views
Hi
It would be useful to be able to add nodes to the tree, specifying a key and then to be able to locate that node with a call along the lines of:

RadTreeNode node = radTreeView.GetNodeByKey(key);

Best regards

Marek
Svett
Telerik team
 answered on 18 Mar 2011
2 answers
143 views
I want to prevent some nodes to check by some condition (let's say that is node.Enabled in this case - actually it can be more complicated).
Also I want to use TriStateMode to simplify process of control node's check state and (mainly) make visible to user that some lower nodes in tree are not checked.

In this example, nodes "Not checkable" could not be checked. And, if I check root node "Main node" - this example works fine. But when I change "block 1" and "block 2" and try to check root node - it don't. Event fired for node "Not Checkable node", invert it, return to root node and uncheck it.

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    RadTreeView1.TriStateMode = True
    RadTreeView1.AutoCheckChildNodes = True
    RadTreeView1.Nodes.Clear()
 
    Dim mainNode As Telerik.WinControls.UI.RadTreeNode
    Dim newNode As Telerik.WinControls.UI.RadTreeNode
    Dim newSubNode As Telerik.WinControls.UI.RadTreeNode
    mainNode = New Telerik.WinControls.UI.RadTreeNode("Main node")
    mainNode.Enabled = True
    RadTreeView1.Nodes.Add(mainNode)
 
    ' block 1 - start
    newNode = New Telerik.WinControls.UI.RadTreeNode("Checkable node")
    newNode.Enabled = True
    mainNode.Nodes.Add(newNode)
    newSubNode = New Telerik.WinControls.UI.RadTreeNode("Checkable node 1")
    newSubNode.Enabled = True
    newNode.Nodes.Add(newSubNode)
    ' block 1 - end
 
    ' block 2 - start
    newNode = New Telerik.WinControls.UI.RadTreeNode("Not Checkable node")
    newNode.Enabled = False
    mainNode.Nodes.Add(newNode)
    newSubNode = New Telerik.WinControls.UI.RadTreeNode("Not Checkable node 1")
    newSubNode.Enabled = False
    newNode.Nodes.Add(newSubNode)
    ' block 2 - end
 
    RadTreeView1.ExpandAll()
End Sub
 
Private Sub RadTreeView1_NodeCheckedChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RadTreeViewEventArgs) Handles RadTreeView1.NodeCheckedChanged
    If e.Node.Checked AndAlso Not e.Node.Enabled Then
        e.Node.Checked = False
    End If
End Sub

I am using Telerik version=2010.1.10.308

Another question: How can I maintain view of checkbox in TriStateMode? I mean that "grey sign" instead of "black sign" is not so obvious for user - I would prefer to change color or something like that. May be there is another method to control/theming checkbox? If it's possible, I would not use TriState and maintain checkboxes state (and checkbox representation) manually in code.
Stefan
Telerik team
 answered on 18 Mar 2011
1 answer
380 views
Greetings,

My application has a 48x48 icon used for a form icon and with a standard form, the 16x16 displays in the title and the 48x48 displays in the taskbar.  When I use RadForm the 48x48 is in the titlebar (like the demo) and is massive. I would like to make this 16x16 in the titlebar and managed to scale using VSB, but it looks all distored.  If I use a 16x16 icon for the form, the titlebar is perfect, but the taskbar icon is all distorted.  Is there a way with RadForm to duplicate what the standard winform does? (displays 48x48 as 16x16 in titlebar and 48x48 in taskbar with no distortion)

Also, when I run the application the title does not appear in the jumplist for Win7 (see attached).

Thanks!
Ivan Todorov
Telerik team
 answered on 18 Mar 2011
5 answers
228 views
Some time ago I needed to implement progress bars on my radlistboxitems which I found to be pleasantly easy to achieve. I have done similar modifications to radelement trees on a number of the other controls with no problem but I am now keen to modify the radtreeview somewhat - Only nor the radtreeview nor radtreeviewnodes appear to have a radelement tree like the others. The tree is there but it is very simplistic and with absolutely no breakdown of fillprimitives , borderprimitives and the usual layout panels combined with the standard primitives. Am I missing something ? I won't detail every change I am keen to try but one change I really "need" is to be able to implement a progressbar element on a radtreenode .
Antonio
Top achievements
Rank 1
 answered on 18 Mar 2011
2 answers
127 views
Hey I'm trying to set the dates in my custom Appointment Dialog but it's not working. ;(

I have an option that launches the Custom Dialog when the user right clicks on a date in the scheduler.
I'm wanting to display that selected date as the DateStart and DateEnd in my Custom Dialog.

Please Help!
Dobry Zranchev
Telerik team
 answered on 18 Mar 2011
2 answers
302 views
Hello,
is ist possible to get long text wrapped in a MultiColumnComboBox column?
Haven't found a clue so far.
Thank you in advance.
Best regards
Roberto
Roberto Wenzel
Top achievements
Rank 2
 answered on 18 Mar 2011
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?