Telerik Forums
UI for WinForms Forum
3 answers
205 views
Hello,

I'm converting over to telerik controls from straight ms objects and I'm running into a problem with drop down lists. I have a simple class that I created for date selection and I currently use this in my project with combo boxes. With a regular combo box I am able to add the objects right into the combo box, however I don't see that with the rad drop down list and I'm unsure the best way to get the same functionality.

If it helps, the object has a text value and then 2 dates. It's used for a 'quick date' selection, so the drop down has items like "Today", "This Week", "This Month" etc. and when the user selects the item they want I can use the object to get the 2 dates that are attached to the object and filter my data.

Thanks for any help you can provide!
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
1 answer
186 views
Is there a way to export the new theme Office 2010 black to a tssp ?

The visual style builder does not seem to be aware of it's existance, and "Export Built in Themes" does not export it.
Nikolay
Telerik team
 answered on 21 Mar 2011
1 answer
208 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
221 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
544 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
281 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
278 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
199 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
457 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
308 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
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?