Telerik Forums
UI for WinForms Forum
2 answers
84 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
152 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
213 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
463 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
125 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
187 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
143 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
277 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
3 answers
87 views
Hi , 

Is it possible to implement scroll in RadChart for Win Forms. We are currently using version Q3 2010.

Thanks,
Marut
Evgenia
Telerik team
 answered on 16 Oct 2012
1 answer
144 views
Hey,

I'm working with mvc and asp.net. I have a telerik grid with 10 columns. But I need the first 5 columns grouped under 1 header and the last 5

f.e.

Before christ   |  After christ
1  |2  |3  |4  |5  | 1 |2  |3  |4  |5


I already found this link:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/multicolumnheaders/defaultcs.aspx

But that is for an ajax grid and that is not what I need. I'm using a razor view. Anyone has any ideas?
Ben
Top achievements
Rank 1
 answered on 16 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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?