Telerik Forums
UI for WinForms Forum
2 answers
255 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
484 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
116 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
177 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
248 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
512 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
151 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
216 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
184 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
3 answers
310 views
Hi Telerik team,

 I am into investigations on do you provide, Winform telerik grid where I intend to have excel like functionality on cells and features as:

  1. Insert row
  2. Delete row
  3. Copy/paste row/rows in and out of grid
  4. Copy and paste entire grid contents out to excel/word,etc
  5. Sort columns
  6. Hide columns
  7. Edit at cell level on certain rows and certain cells
  8. Formatting at cell level (highlight,etc)
  9. Show /hide rows
  10. Filter on columns based on unique column field
  11. Set a formula on column with data on other columns like excel and change it accordingly with change on other data column cell
  12. Export to excel feature.
  13. Freeze column or rows
  14. Grid like excel with all or relative editable rows

Your earliest reply will be a great help.

Thanks,
Puja

 

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)
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?