Telerik Forums
UI for WinForms Forum
6 answers
1.0K+ views
hi guys,
i don't know whether its a bug or i'm accessing it wrong , that's why i came here to get some help from the experts.

in radgridview a set of data is loaded using dataset, so when some clicks on the row it will display the row values in a label above.
so what i have done is working 100% untill i do the following, if i use the gridview's bulit in filtering option and filter the results , i'm getting the value of some other row , i have attached a screenshot. as u can see in it somerow is selected but it's displaying someother row name in the textbox above, here is the code i use, i use VC# 2010 with rad Q2 2012.

private void radGridView1_CurrentRowChanged(object sender, CurrentRowChangedEventArgs e){
 txt_Name.Text = radGridView1.Rows[radGridView1.CurrentCell.RowIndex].Cells["NAME"].Value.ToString();
}

please let me know  if u need more info

thanks suren
Brendan
Top achievements
Rank 1
 answered on 21 Nov 2014
1 answer
166 views
Hello,
I using bindinglist with Self Reference to bind data a treeview,
When adding a new object to the bindinglist, the treeview GUI appears all nodes was duplicated (likes 2 trees)
When adding a node to the current node of the tree, the binding list was added new item of course this item doesn't have enough meta data for an object.

Is there any way to add a object to bindinglist and the treeview GUI display correctly?

Thanks in advanced.
Nguyen
Dimitar
Telerik team
 answered on 21 Nov 2014
1 answer
175 views
Hello,

1) How can I make a new tab to be added to the right side (instead of to the left side as it is by defualt)
2) How can I control the size & the location of a tool window when adding it to rad dock via code?
3) How can I show again a tool window that closed by the user (using the x button), also is there any event when the window is hide/shown

Thank you!
Stefan
Telerik team
 answered on 21 Nov 2014
1 answer
397 views
Accidently I upgraded UI for winforms to latest version. Now I need to downgrade to the version 2014.3.1021.40 used in the project. Found no option like "get older versions" neither in control panel nor on the site. Is there any way to do it?
Ralitsa
Telerik team
 answered on 21 Nov 2014
1 answer
226 views
Hi everybody,

i have two Treeviews (e.g. treeLeft, treeRight). Now it should be possible to drag and drop TreeNodes inside each tree, move TreeNodes from treeLeft to treeRight and back. So far everything works fine.

But i need the possibility to switch between "move" (is working) TreeNodes and "copy" TreeNodes from treeLeft to treeRight and back.

Which properties i need to set to get the described feature?

regards Arne
Dimitar
Telerik team
 answered on 21 Nov 2014
14 answers
957 views
Hi All,

I have a problem while exporting to Excel, columns which has data starts with zero is exported without zero.
example 0012003 is exported like  12003, how can I handle this problem ?
Alessio Bulleri
Top achievements
Rank 1
 answered on 20 Nov 2014
9 answers
545 views

Question#1.   I am displaying Products table in grid control.  Its a simple list of products. at the end of grid i want to display Count of products.

Question#2.   when i use grid's group feature, then it should display Count of products for each group and also display Total count at the end of grid.

Is above possible. Any code sample or ideas.

Regards



Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Nov 2014
11 answers
404 views
Hi There

I tried to implemented the code on the forum for the getting the current resource, as detailed in the link below
Previous Thread on this topic

but this code does not return the current resource it provides the first of the group of resources 
So when you try to obtain the second resource and select that one the code returns the first one

It does not seem to cater to the fact that more than one resource can be displayed at once
Sub GetResource()
 
    'Get the Resource
    Dim point As Point = frmMain.rsdDiaryMain.PointToClient(Cursor.Position)
    Dim groupedDayViewElement As SchedulerDayViewGroupedByResourceElement =
            TryCast(frmMain.rsdDiaryMain.SchedulerElement.ViewElement, SchedulerDayViewGroupedByResourceElement)
    Dim cellElement As SchedulerCellElement = SchedulerUIHelper.GetCellAtPoint(point,groupedDayViewElement.GetDayViewElements())
    Dim dayViewElement As SchedulerDayViewElement = TryCast(cellElement.Parent.Parent.Parent.Parent.Parent.Parent, SchedulerDayViewElement)
    Dim resource As EventId = dayViewElement.View.GetResources(0).Id
 
    'Set the ATP dropdown for this resource
    Me.ddlResources.SelectedIndex = CType(resource.KeyValue, Integer)
End Sub

Any idea on how to select the current resource even when you have 2 or more resources showing on the scheduler?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Nov 2014
8 answers
706 views
Hi,
How to get appointment id of a selected rad scheduler appointment  ?
I want the appointment id or can i get the datarow of a selected appointment ?
Gaston
Top achievements
Rank 1
 answered on 19 Nov 2014
3 answers
158 views
I have a class with 32 properties. When i use the  TypeConverter(typeof(ExpandableObjectConverter)) it displays all the properties under the expandable name of the object which is perfect. But some of my project will have less than 32 properties. So i want to be able to dynamically remove/add attributes and have them displayed in the property grid as expandable. So is that something that is possible to do with the PropertyGrid. If that is not possible, is there a way to do this with ICollection object that i can just pass as a dataSource.

Thanks.
Hugues
Top achievements
Rank 1
 answered on 19 Nov 2014
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?