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

We are converting our standard Windows ComboBox controls to the Telerik DropDownList to take advantage of displaying the text property to whatever we want (works great!).  We were previously setting an unbound ComboBox.SelectedItem = myBizObject to select the current value.  However, this does not work with the Telerik DropDownList and setting .Value doesn't apply as the ValueMember is not unique.

Is there a way to manually select the selecteditem like we did with Windows ComboBox?  I tried .SelectedItem.DataBoundItem but that didn't work.

Thanks!
Peter
Telerik team
 answered on 12 Apr 2011
3 answers
120 views
The Text and Value properties of the RadTreeNode are accessing the same thing. 

For example: 

RadTreeNode node = new RadTreeNode();
node.Value = new RadTextBox();  // Text is changed to "Telerik.WinControls.UI.RadTextBox"
node.Text = "Open TextBox"// Value is changed to  "Open TextBox"


Is this how it is meant to work?



Troy
Top achievements
Rank 1
 answered on 12 Apr 2011
1 answer
126 views
Is there any way to add the Telerik theming to non telerik controls - in particular the Microsoft Richtextbox control.  (Telerik does not yet have a substitute for the richtextbox) -

For application look consistency - it would be good to have the same kind of scrollbars (of the telerik theme) for the richtextbox control.

Any workaround would be appreciated.

Jack
Telerik team
 answered on 12 Apr 2011
3 answers
202 views
Hi,

I have two RadForms (a master and detail form).  In the master form, I have one RadButton which display the detail form.
In the detail form, there are two textboxes.
The steps for the problem as following:

1. Open the Master form.  When tab and focus on the button, the "ChangeUICues" event on that button will be fired. 
2. Click that button to open the detail form.
3. In the detail form, press "Tab" to focus on the second textbox.
4. Open the detail form. 
5. After the Master form display again, tab and focus on the button.  This time the "ChangeUICues" event on that button wouldn't be fired.

However, if I skip step 3, there is no problem.  Please advise.

Private Sub btnButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnButton
        frmDetail = New frmDetail 
                frmDetail.MdiParent = Me.MdiParent
                frmDetail.Top = 0
                frmDetail.Left = 0
                frmDetail.Show()
                Me.Hide()
End Sub
  
Private Sub frmDetail_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles frmDetail.FormClosed
        Me.Show() 
End Sub
Stefan
Telerik team
 answered on 12 Apr 2011
2 answers
138 views
Visual Studio 2008 Pro, .Net 3.5, SP 1
SQL Server 2008 R2
Windows 7 Ultimate 64 bit
Winforms Q1 2011

Both issues relate to the property builder for RadGridView

Whenever anything is changed in the property builder and the OK button clicked, the mouse pointer changes to busy and it takes two full minutes for the window to close. This window is modal and I have to wait to do anything else in Visual Studio.

More serious is the grid I created as an auto hierarchy from dataset. This is using two table adapters with a one to many relationship. Creating the grid is OK, and it functions properly. Once I start changing column names/widths etc, it begins to error when I try to open the property builder.

"Error invoking 'Open Property Builder'. Details: Stack Empty.

I've researched this error a bit and found a thread stating that this should have been hot-fixed seven months ago...so I'm wondering what can be done.

Also, once this occurs, strange things start to happen with the RadGridView. Sometimes the context menu doesn't show properly; the designer seems to think the control is actually a MasterTableView. Also had null object errors when viewing the designer code page. After restarting VS, the grid and all references were deleted.

Thanks for any help...I would really like to use the hierarchy function of the grid instead of two separate ones.
Jack
Telerik team
 answered on 12 Apr 2011
6 answers
140 views
Hi,

I have been looking to see if there is some built-in support for databinding the RadGridView to indexers.  Any links to examples/samples would be greatly appreciated.  In my particular case, I have:

class A, which has a several properties and a class B Property
class B, has several properties and indexer access by string and index

I would like to bind the RadGridView so for each row in the grid, I can see the underlying:
A properties
B's properties (the B instance accessed thru one of A's properties)
see select B values returned by B's indexer

Any assistance would be greatly appreciated.
Julian Benkov
Telerik team
 answered on 12 Apr 2011
1 answer
109 views
HI

I have Q3 2010 version for telerik Wincontrols ...

Let me know any way, to prevent  changes in selected rows count....
if having certain condition....

for Example--
   suppose, Gridview selected rows count is 5 And a bool variable XXX is true
Then end user should not be able to select  any other row....

Thanks
Svett
Telerik team
 answered on 12 Apr 2011
7 answers
162 views
Hi,
   I have a grid whoose number of rows go beyond the screen and so the vertical scroll should come in. However in the initial view it does not render all the rows, but shows only those that can be fit to screen. I have acertained this by setting the vertical scroll to true., But any change to filter or any such rerendering the grid shows every row. Please see screenshot attached. The  vertical scroll is set to always show

Thanks
Deepak
Svett
Telerik team
 answered on 12 Apr 2011
1 answer
496 views
hi telerik team,
                 i am using radtreeview which is very useful for me in my current project, but, i need a help to accomplish it successfully ....
i have populated the tree view from a dataset. there will be more number of parent nodes and within each parent node, more than one child nodes will be there. Now i have to restrict the user to drag and drop the child nodes within the parent node itself. (Meaning : User should not interchange a child node from one parent node to another parent node. they should interchange or arrange a child node within its parent node itself). i dont have any idea about doing this in the tree view, so pls help me as soon as possible.


Thanks,
 Guna
Sonya L
Top achievements
Rank 1
 answered on 12 Apr 2011
5 answers
454 views
Hi

I've one question about the radGridView:

I want to bind a list of object (where I have an Enum property called Status) to my radGridView.

the problem is when I try to update a row I have an exception when I update the property Status, and I have the same problem when I try to set the related filter.

One solution was to create a custom Column and a Custom filter and then my grid work fine, and then I have to define the binding by myself.

My question is : when I set the grid DataSource by code and without define the mapping (cells definitions) It is possible to use automatically this custom column (and filter) when the column source is an Enum?

Then, if I have to class (ClassA, ClassB) with an Enum Property and if I try to set the Grid DataSource with a List of ClassA or ClassB, my grid detect my Enum property and  use the custom column.


Thanks for your response



Svett
Telerik team
 answered on 12 Apr 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?