Telerik Forums
UI for WinForms Forum
3 answers
116 views
I am trying to add checkboxes to a RadTreeView, but I only want the checkboxes to be on one level of the tree.  I have discovered that to do this, I need to turn on checkboxes for the entire tree, and then suppress them where I don't want them.  As far as I can tell, using the SetPropertyValueCommand in an Execute would do this, but I haven't been able to find any code showing how this would be done.  I need to know how to specify which property is being changed, and how to specify that value.

Otherwise, if there is a better way to accomplish the task, I would appreciate hearing the solution.  Any advice would be appreciated.
Victor
Telerik team
 answered on 06 Aug 2010
1 answer
147 views
I have experimented with the export functionality of Radgrid to html , pdf and Excel.
In my opinion its not worth putting it to the production version.

Export to PDF just jumbles up the columns if wrap text is set in the column. It should have exported "what you see is what you get" ... Infragistics control do that and they this functionality working fine for the last two years....

Export to Excel screws up the Date type columns.  .e.g the date column having value as 2007/12/01 is exported as 39417 .. no idea what it is ??
In export to html it just appends time to it also.. just as 12:00 AM etc
I am attaching the screenshots of original grid and then the export to each format as explained above...

Telerik should have tested it thoroughly and added good documentation and examples...

Martin Vasilev
Telerik team
 answered on 06 Aug 2010
3 answers
168 views
Hi all,

Currently I am creating a proof of concept with the new Telerik WinForms controls. The application interface is a Outlook Look a Like.
For the navigation panel (like the one in Outlook 2007) I'm using the RadPageView Control. 

In Outlook I have the option to minimize the navigation panel. (see attached file)
I was wondering if this option also is available in the RadPageView Control?

Looking forward to hearing from you soon.

Gerben
Deyan
Telerik team
 answered on 06 Aug 2010
1 answer
83 views
Hi all,

I have a few issues with the panelbar layout on windows 7.
As you can see in the attached files.

I was also wondering why the helpbutton in the ribbonbar, isn't positioned at the right corner. in the designer it is positioned in the right corner, but when I run the app, it is positioned as in screen2.png

Deyan
Telerik team
 answered on 06 Aug 2010
8 answers
301 views
Hi Guys
I want to change row color based on column value, How can I do this.. I'm using telerik 2008.
Alexander
Telerik team
 answered on 06 Aug 2010
1 answer
425 views
I am not able to update/insert/delete the data of database table which is bounded to a radgridview by selecting the Data Source for it.
The changes which i make in the gridview, i want that to be reflected in the database table automatically or on a button click, which i could not so please help me and give me code for it in c#.
The database I am using is Sql. 
Julian Benkov
Telerik team
 answered on 06 Aug 2010
4 answers
465 views
Hello,

I recently discovered a problem with the scrollable panel with right to left mode enabled.
The horizontal scrollbar is not showing when controls are out of bounds to the left (everything works fine if the same thing happens on the right side).

Test scenario: Use a docked scrollable panel, set the autoscroll to true, set right to left to true
Add one or more buttons in a line, set the anchor to top and right, and right to left to inherit.
we can see that if we change the size of the form the buttons will go out of view, but no scrollbars will be shown...

Is there a fix for this?
Boryana
Telerik team
 answered on 06 Aug 2010
1 answer
109 views
Is there an easy work around for the MultiSelect not working in child grids?  I'm using ver 2010.1.10.504 and if I try to select (Ctrl-Click) a couple child rows under one parent row it works. However if I try to select two child rows under different parent rows, selection of the first row is removed upon clicking the second.  Is creating and using a new checkbox column the only way?   Thanks...
Martin Vasilev
Telerik team
 answered on 05 Aug 2010
3 answers
157 views
Hello,

I'm working with GridViewDecimalColumn and I would like that digits shown to have differents numbers of decimals according to their row. I've only found a command to impose the fomatString for all the columns. Before the update, it was possible through the command radGridView.rows[i].cell[j].cellElement.formatString, but won't functionnate anymore. I've searched in the documentations and tryed with GetCellElement function and with the cellFormating, but found nothing.

Does someone have an idea ?

Thank you

Georges DE VOS
Stefan
Telerik team
 answered on 05 Aug 2010
13 answers
205 views
Hello!
Need your help!

I have following code:
if (_providerGridView.CurrentCell.ColumnIndex == 0) return;
Cursor.Current = Cursors.WaitCursor;
DataRowView row = (DataRowView) gNSSDataProviderBindingSource.Current;
DataRow provRow = row.Row;
var rows = provRow.GetChildRows(_relationName);
_pointGridView.DataSource = rows;
CheckSeletedRows(rows);
Cursor.Current = Cursors.Default;

which throws ArgumentOutOfRangeException  when I try to switch in parent grid when some filter is applied to child grid (for example I selected several rows in child grid  based on some condition).
I try to add _pointGridView.EndEdit() before
_pointGridView.DataSource = rows;

but nothing helps.

Stack trace is :
System.ArgumentOutOfRangeException was unhandled by user code
  Message="Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"
  Source="mscorlib"
  ParamName="index"
  StackTrace:
       at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
       at Telerik.WinControls.RadElementCollection.get_Item(Int32 index)
       at Telerik.WinControls.RadElement.DisposeChildren()
       at Telerik.WinControls.UI.GridTableBodyElement.CleanupRows()
       at Telerik.WinControls.UI.GridTableElement.Update_Reset(GridUINotifyAction action, GridViewRowInfo[] rowInfos)
       at Telerik.WinControls.UI.GridTableElement.UpdateCore(GridUINotifyAction action, GridViewRowInfo[] rowInfos)
       at Telerik.WinControls.UI.GridTableElement.Update(GridUINotifyAction action, GridViewRowInfo[] rowInfos)
       at Telerik.WinControls.UI.GridViewTemplate.UpdateUI(GridUINotifyAction action, GridViewRowInfo[] rowInfos)
       at Telerik.WinControls.UI.GridViewTemplate.Update(GridUINotifyAction action)
       at Telerik.WinControls.Data.DataAccessComponent.InitDataGrid()
       at Telerik.WinControls.Data.DataAccessComponent.Bind(Object dataSource, String dataMember)
       at Telerik.WinControls.Data.DataAccessComponent.set_DataSource(Object value)
       at Telerik.WinControls.UI.RadGridView.set_DataSource(Object value)
       at DataProviderUI.ProivderTask.ProviderTaskControl.gNSSDataProviderBindingSource_CurrentChanged(Object sender, EventArgs e) in D:\SVN\Trunk\Archivarius\src\DataProviderUI\ProivderTask\ProviderTaskControl.cs:line 164
       at System.Windows.Forms.BindingSource.OnCurrentChanged(EventArgs e)
       at System.Windows.Forms.BindingSource.CurrencyManager_CurrentChanged(Object sender, EventArgs e)
       at System.Windows.Forms.CurrencyManager.OnCurrentChanged(EventArgs e)
  InnerException:

Thanks.
Nikolay
Telerik team
 answered on 04 Aug 2010
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
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
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
VirtualKeyboard
NavigationView
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
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?