Telerik Forums
UI for WinForms Forum
5 answers
368 views
I'm not sure if this is a bug or by design. I handle the TextChanging event of a RadTextBox to prevent users from entering invalid characters. If they enter an invalid character, I set e.Cancel to false. While the text does not change, the cursor returns to beginning of the textbox. This is annoying if you don't notice you typed an invalid character. For example, if I were typing "Hello, world" and canceled the event as the space was typed, the TextBox would now read "worldHello,"

If it matters, I haven't upgraded to Q2 yet.
Boryana
Telerik team
 answered on 18 Oct 2012
2 answers
198 views
I have a radmenu with a sub radmenucomboitem, I want to close themain menu item on the click event of the radmenucomboitem.  I have the selected changed event wired to change the theme of the app based on what the user selects however the menu stays on the screen until you click the mouse on the main form.  Is there a way to programatically close this?
Scott
Top achievements
Rank 1
 answered on 17 Oct 2012
1 answer
428 views
Hello ,
I'm trying to use the dock functionality as MDI container, but there are a problem that when a MDI child form very height but no a scrollbar showing.How can I show scrollbars on docked MDI child forms?
Julian Benkov
Telerik team
 answered on 17 Oct 2012
2 answers
81 views
I have an embarrassingly simple question. 

I'm new to the RadGridView but need to build something for a customer. I have done a mock up of the interface using the built in Project Datasource to show how the grid will work. ( hierarchical presentation etc) and using SQL Database. This was all nice and straightforward.
But now I need to build the actual application using customer selected parameters to form the SQL query. ( does not change the columns, just changes the data returned).

Do I need to completely change the datasource type or can I adapt the DatasetGenerator to update the SQL statement. I have tracked down the CommandText , but this is all private to the class.

What the best approach to use? I have a master and 1 sub level of data to get  or if the user selects to see the data in another way, a completely separate data set to query and display ( with different columns and no hierarchical data).

Thanks a million.

Rob


Julian Benkov
Telerik team
 answered on 17 Oct 2012
1 answer
137 views
Hello
I have a trackbar and a grid in my form ,I want to change the width of grid columns by scrolling the trackbar, for example when I scrool to right the columns width change to columns width +5and when I scroll trackbar to the left  the columns width change to columns width -5.
please help me to do this.
thanks alot
Anton
Telerik team
 answered on 17 Oct 2012
1 answer
198 views
Hello all

I've got a strange one. I've got a treeview with check boxes in a tool window in a RadDock.

When I change the docking on the window, the treeview loses its children. The parents stay, but the children are gone - there are no children at all and the parent node doesn't expand.

As a work around I tried reloading the treeview after the dock state changes, but then the children get reloaded, so that every time I dock I get a new set of children nested inside the existing children. I've tried clearing the treeview and setting the data source to nothing before reloading. Here's the code:

Private Sub DockMain_DockStateChanged(sender As System.Object, e As Telerik.WinControls.UI.Docking.DockWindowEventArgs) Handles DockMain.DockStateChanged
    Filter_Equipment.BeginUpdate()
    Filter_Equipment.DataSource = Nothing
    Filter_Equipment.Nodes.Clear()
    'Filter_Equipment.Nodes.Refresh()
 
    LoadEquipmentTreeView()
    Filter_Equipment.EndUpdate()
End Sub


Private Sub LoadEquipmentTreeView()
    Filter_Equipment.DataSource = _Context.FindEquipmentType(Nothing, Nothing, Nothing)
    Filter_Equipment.DisplayMember = "EquipmentTypeName"
    Filter_Equipment.ValueMember = "EquipmentTypeID"
    Filter_Equipment.RelationBindings.Add(New RelationBinding(_Context.FindEquipment(Nothing, Nothing, Nothing, Nothing, Nothing, Nothing), "EquipmentShortName", "EquipmentTypeID", "EquipmentTypeID", "EquipmentID"))
    Filter_Equipment.Nodes.Refresh()
End Sub

Some screenshots attached - I have blocked out the values displayed in the nodes because it's client data, but hopefully you can see.

Any suggestions?

Thanks in advance....
Julian Benkov
Telerik team
 answered on 17 Oct 2012
5 answers
446 views
I am using a hierarchy GridView... How could I select a row inside a childTemplate ?
http://www.telerik.com/help/winforms/gridview-selection-selecting-rows-and-cells-programmatically.html

RadGridView.rows[..]  only can reach to 1 level down.... What if the master template contains many childtemplates... how could I select the any number of rows ?

I am current finding a way to acheive it... please give advice ? Thanks !
Nikolay
Telerik team
 answered on 17 Oct 2012
1 answer
116 views
I using the RadPageView in ExplorerBar view and need to remove the white frame around each page. How do i do this. the padding is 0, the margins are o.

Thanks
John
jwilhelm@taisoftware.com
Nikolay
Telerik team
 answered on 17 Oct 2012
1 answer
177 views
hello , i want to use RadRichTextBox in a form while it is right to left , so i can use right to left languages plus english language , like it's possible in MS-Word when you use the right to left button , but it seems like RadRichTextBox doesn't support it , it doesn't make any difference when i RightToLeft the control , is there anyway to do it ?
Stefan
Telerik team
 answered on 17 Oct 2012
1 answer
130 views
Update: Figured it, I need to export all the themes as custom packages and then open one, then edit it. This is not obvious!
I'm on the current version of the controls and using a RadGridView to show some data, but it is showing the current row as highlighted in orange.

On other RadGridViews I have removed this programmatically but I'd like to use the Visual Style Builder so I can apply this fix once across my whole project. I just need some help finding it as it is quite impenetrable.

In VSB I've selected Control Default (the theme I want to customise) then drilled down as follows;
RadGridView
RadGridViewElement
GridTableElement
GridDataRowElement
GridDataCellElement

From what I understand, I should be able to set or clear the element state in the top right hand corner window for IsCurrentRow.

This is the confusing bit, it is already there and marked as 'no style'. I would have though it would have a colour applied to it which I would be able to clear.

Is the orange colour being set in a parent item? I've gone up the hierarchy and none of them have a style set for IsCurrentRow.
Perhaps I need the IsSelected?

Where am I going wrong? VSB seems fairly complex so I may not even be looking at the right theme for all I know.

Thanks in advance
 
Stefan
Telerik team
 answered on 17 Oct 2012
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?