Telerik Forums
UI for WinForms Forum
2 answers
513 views
I have an application with 3 GridViews bound to 3 datatables.  I use a single VB subroutine with the GridView as an argument to write changes in these datatables to an Oracle database.  In this subroutine, after the database has been updated, I call RadGridView.DataSource.AcceptChanges to reset all the data row states.  My problem is this:

In a GridView with, let's say 500 rows, I select row 250 and position it in the middle of the displayed rows.  After the save routine completes and RadGridView.DataSource.AcceptChanges is called, the GridView refreshes and the selected row is now displayed at the top of the GridView.  This behavior disrupts the users' workflow.  Is there any way I can suppress this refresh?

Thanks,
Robert S.
Jack
Telerik team
 answered on 03 Oct 2011
2 answers
190 views
Hello Guys

As you can see the attached file, I have a gridview with 4 hierarchical views, I need that when the user click one of the tabs of the hierarchical view, and other row is expanded the selected tab view will be the previous selected. And if more of 1 row is expanded and the user change the  hierarchical view, in all the expanded rows change the selected tab view to the selected for the user.

 I tried to make it with the RadGridView1_ChildViewExpanding Event but i didnt find the Select Tab Property,
 in the hirarchical view




Private Sub RadGridView1_ChildViewExpanding(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.ChildViewExpandingEventArgs) Handles RadGridView1.ChildViewExpanding
        'RadGridView1.Templates.GetTemplateByCaption(e.ParentRow.ActiveView.ViewTemplate.Caption)
        Dim stemplate As String
        If e.IsExpanded = False Then
            For Each row As GridViewRowInfo In RadGridView1.Rows
                If (row.IsExpanded = True) Then
                    stemplate = DirectCast(row, Telerik.WinControls.UI.GridViewHierarchyRowInfo).ActiveView.ViewTemplate.Caption
                    Exit For
                End If
            Next
 
        End If
 
    End Sub
Cesar
Top achievements
Rank 1
 answered on 03 Oct 2011
1 answer
134 views
I am using a GridViewMaskBoxColumn for formatted string entry, because I am working with an existing data store that contains text entries. I would like to save the fully formatted value, not just the entered characters .

Am I able to bind the column so that the Text property of the cell editor is saved to the data store instead of the Value property. It would be the difference between storing :
masked Value : 1234567890
masked Text :    12-34-567-89-W0

Here is the columns Designer code.
gridViewMaskBoxColumn1.FieldName = "LSD";
gridViewMaskBoxColumn1.HeaderText = "ll-ss-ttt-rr-mm";
gridViewMaskBoxColumn1.Mask = "00\\-00\\-000\\-00\\-\\W0";
gridViewMaskBoxColumn1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
gridViewMaskBoxColumn1.Name = "LSDM";
gridViewMaskBoxColumn1.Width = 120;
Peter
Telerik team
 answered on 30 Sep 2011
1 answer
54 views
Good morning everyone,

I have a project that uses Telerik WinForm controlls and the version is 2010.2.10.0914 and it works perfectly.  It compiles and runs.  I recently upgraded to the latest telerik winform controls 2011.2.11.0831 and i am getting compile errors where the project is trying to look for the RadSelectedNodesCollection class.  It doesn't seem to be available in the dlls i am using in the project.

The dlls i'm using are:

Telerik.WinControls
Telerik.WinControls.GridView
Telerik.WinControls.UI
TelerikCommon

I was looking in the documentation as well and this class is not in there either.

Has this class been renamed in the latest telerik winform controls???

thank you very much for all your help

sam
Jack
Telerik team
 answered on 30 Sep 2011
1 answer
211 views
I have a light blue button in my application and would like to add text to the button in a different, but also light, color.  As it stands now it's totally unreadable.  If there was a way to add a black outline around the font that would make it pop out and be easily readable, but I have no idea if this is possible.  I see that I can add a border around the label itself, but what I want is a border around each letter.  Is this possible?
Ivan Petrov
Telerik team
 answered on 30 Sep 2011
8 answers
675 views
I have a GridViewDecimalColumn that I'm using to store integers entered by the user.  I set the DataType property equal to GetType(Integer) (I'm using VB.NET).  When a user enters a value such as 24.8, it automatically gets rounded up to 25.  If they enter 24.2, obviously it gets rounded down to 24.  The users shouldn't be entering decimal numbers, but I've heard that they have been and they don't ever want the numbers to round up.

My question is this:  How can I force the value to always round down, so that 24.8 will be changed to 24?  I know I can use a cell value change event, but I was hoping there was some property in the GridViewDecimalColumn that could be set to handle this.

Thanks,
Robert S.
Alexander
Telerik team
 answered on 30 Sep 2011
3 answers
178 views
Just getting started with Telerik controls...

I need to get the behavior of the RadDropDownList for a column in a GridView.

For the RadDropDownList, I am using databinding to link the SelectedValue to the property of a Business Object or Entity.

I'm trying the same approach in the GridView but no luck.

I have added a GridViewComboBox column and set its DataSource to the list of entities I want in the drop down list.  That works fine, and when displaying data the correct item is highlighted.  However, trying to pick a new item from the list gives this error: "Object of type 'System.String' cannot be converted to 'mynamespace.Product'.

I can see in the docs it wants me to set the ValueMember to the property on the data source that I want to use, but I don't want to use a property, I want the whole object.  How can I do this??

I found this other post and the poster was in the same situation as I am:
http://www.telerik.com/community/forums/winforms/gridview/csla-bindinglist-with-default-objects.aspx

It is from 2010 - so has anything changed or is it still not supported?  Do I still have to make up some kind of workaround?
Peter
Telerik team
 answered on 30 Sep 2011
2 answers
92 views
Hi,

I have a radgridview (Q2 2011) in which I am grouping orders by production line.  When I move an order by changing the line number in the grid, the row correctly moves to the correct line grouping, however I need to be able to recalculate the subtotals for both the line group that it was removed from in addiition to the line group that it was added to.....I am trying to find the event that fires when the row is moved to another group in the group by definition.....any suggestions / examples are appreciated.

Regards,
Shawn
Julian Benkov
Telerik team
 answered on 30 Sep 2011
4 answers
152 views
Hi, I would like to change the text displayed in the ErrorProvider when the validation fails; how can I do that?

Thanks!
Peter
Telerik team
 answered on 30 Sep 2011
5 answers
154 views
Hi.

Correct me if i am wrong but i dont see a difference between AutoClose and ManualClose (hitting the predefined CloseButton) in the RadPopupCloseReason Enum.

I would like to suggest this feature in the next version!!!

Is there a way to do this with the current version?
Jack
Telerik team
 answered on 30 Sep 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)
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?