Telerik Forums
UI for WinForms Forum
1 answer
103 views
Hey at Telerik

Untill i upgraded to Q1 2011 i was hooking the event VScrollBar.VisibleChanged on the RadTreeView in order to correctly place another control relative to the offset it gives when the vertical scollbar shows.

What am i supposed to hook the change on now ?

Sincerly

Jan
Jan Pfeffer
Top achievements
Rank 1
 answered on 12 Apr 2011
8 answers
805 views
Please help!
How to apply a best fit programmatically for radGridView Winform control ?

Thanks.
Martin Vasilev
Telerik team
 answered on 12 Apr 2011
2 answers
174 views
Hi,
      I am trying to set the decimal places in the export to be a customizable setting. I am using the following lines of code


col.ExcelExportType =

 

DisplayFormatType.Currency

 

 

col.ExcelExportFormatString = GetDecimalFormat()



WHere the GetDecimalFormat would return "{0:#.##} for 2 decimal places.

But this snipet does not work. It renders on the csv witht the same number of decimal places as in the data. Are there similar properties for csv as there are for excel?

Thanks
Deepak
Martin Vasilev
Telerik team
 answered on 12 Apr 2011
3 answers
127 views
Hi guys,

this may sound stupid but how do you add edit the time in a GridDateTimeColumn in the grid view? Everytime i click on the column, the text box shows only the date component e.g.[ Thursday, 1 April 2011 ] which is fine but I would also like to be able to edit the time in the column... clicking on the dropdownbutton in the editor calls up the calendar but that only allows me to change the dates.

Please Advise.

Thanks







Martin Vasilev
Telerik team
 answered on 12 Apr 2011
3 answers
120 views
Hello,

Can anybody point me in the right direction on how to implement or check to see if a context menu right click is being clicked on a Parent Row or a Child row of a hierarchy grid?

Many thanks

Terry
Richard Slade
Top achievements
Rank 2
 answered on 12 Apr 2011
1 answer
121 views
The gridviewcolumngroupheaders are wrapping texts. While this is ideal, it does not expose a property or method to show tool or screen tips with the full text on mouse over. In the attached image, (Q1) - Spontaneous Awareness -  is actually (Q1) - Spontaneous Awareness - First Mention

Thanks
Deepak
Richard Slade
Top achievements
Rank 2
 answered on 12 Apr 2011
1 answer
1.3K+ views
Hi there

I'm trying to achieve row-level validation and saving. The validation is working OK and and I can reject invalid user-input at the row level.

However I'm a bit lost as to how which event to use to catch the fact a row has changed so I can then call dataset.savechanges().

I've tried -
RowsChanged event but it fires when the grid is first populated with data
RowValidated event but it fires AFTER I leave the row that was updated
RowValidating event which is nearly there but it isn't until it's finished that I can detect changes in my dataset using datatable.getchanges()

The basic point is that i'd like remove the need for a Save button that will save ALL changes to the data in the grid. The reason for this is that the database has lots of users and I want to maintain concurrency. If I can get the database record to change when a ROW is updated then there is less chance of concurrency issues.

Thanks in advance



Richard Slade
Top achievements
Rank 2
 answered on 12 Apr 2011
1 answer
191 views
I have problem making array of telerik controls or converting or casting them to Windows forms controls, can anyone help?

when I try to search telerik control in control collection,like this


private
void LoopControls(Control.ControlCollection controls)

{

 

   foreach (Control control in controls)

 

    {

        if (control is RadButtonElement)

        {

        }

    }

 }

 

system generates following execption

 

 

Cannot convert type System.Windows.Forms.Control to Telerik.WinControls.UI.RadButtonElement
Richard Slade
Top achievements
Rank 2
 answered on 12 Apr 2011
2 answers
498 views
Hi
i am using telerik q3 2010 treeview for winforms

in my project i select multiple nodes in the treeview and user can select different nodes depending on his choice but it seems that the old selected nodes is not clearing and keep saving the old selected nodes
i used :
radtreeview.selectednodes.clear()
but it seems it is not clearing the selected nodes is there any code that could be used to clear selected nodes
any help is appreciated
regards,
jack abdallah
Top achievements
Rank 1
 answered on 11 Apr 2011
12 answers
249 views
Hi,

I am getting an error throw when I try to add the column names to the child and parent relations in a hierarchical gridview.  I am using your WINForms sample, except that I changed the datasource to Entity Framework 4 .edmx, and am using .Net 4.0 on a WIN7 OS.  I've attached 2 files, 'Form1' shows the results.  All works fine, except the child grids are not linked to the ContactID on the grid (the relationships are defines properly in the .edmx).  'Relations' shows the results I'm getting when I try to set them in the properties window.

Thanks

Steve
Pavel Pavlov
Telerik team
 answered on 11 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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?