Telerik Forums
UI for WinForms Forum
0 answers
101 views
How to select grid view cell in run time.
How to show selected cell with different formats.

Example :
In loo i have read each and every cell fro the gridview row and if i read the cell need to show which cell was selected?
Veda
Top achievements
Rank 1
 asked on 06 Aug 2014
2 answers
2.1K+ views
I have a couple of issues, but they are all related so I am putting them all in one post.

I have a form with a GridView on it showing several records.  The user selects a record and opens a new form where they can edit all of the values.  After saving, they return to the main form with the grid where I would like to update the grid to display the data the just edited.  I want the grid to retain the current row, or rather, the row for the record they just edited.

Additionally, the user can also add a new record, so after saving and returning to the form, the grid is updated and I want the newly created record to be the current row.

I am programming in MS Visual Studio Pro 2012 version 11.0.50727
with Microsoft .NET Framework version 4.5.50938
I am coding in Visual Basic.
My Telerik version is 2014.2.715.40

My radGridView gets it's data using a DataSet, BindingSOurce, and a TableAdaptor.
My data is coming from SQL Server 10.50.2500

On form load, my gridview gets its data with this line of code:

Me.RadGridView1.DataSource = Me.AutoEmailerTBLTableAdapter.GetData(Environment.UserName, Environment.UserName)

To sum up, I want to:

A - Refresh grid and retain current row
B - Refresh grid and set current row to newly added record





Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Aug 2014
2 answers
109 views
Hi
  In my windows application ,i will bind lot of nodes(more than 50000) in page load event,it will take more time (more than 20 mins).i am use RadTreeview(UI for WinForms Q1 2014).so how to bind quickly.

Pls reply asap.


Regards
  Aravind 
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 06 Aug 2014
1 answer
251 views
I am using drag and drop to reorder nodes in a treeview, but there are certain rules around where nodes can be dropped and what should happen.  I am using a BindingList as the datasource.  

The rule that I am trying to support is that a sibling node that has children can be dropped on another sibling that has children, within the same parent.  The dropped sibling should not become a child of the target sibling, but it should maintain its original parent (which is the same as the target's parent).  

How can I accomplish this behavior?   

Thanks for any help.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Aug 2014
2 answers
129 views
I have a radform which has a menu docked at the top a radstatusbar docked at the bottom and a  radsplitcontainer docked to fill,  the split container has 2 panels which each have a radgridview docked to fill Since adding a radstatusbar to my form the bottom scrollbars have disappeared.  It looks as though the gridview is lying behind the status bar!  Do I have to set the size of the grids dynamically to view the scrollbars?
Joe Bohen
Top achievements
Rank 1
 answered on 05 Aug 2014
1 answer
174 views
Hi

I'm currently designing my application for 1920*1080 screen res which seems to be a popular choice for many hi dpi laptops native resolutions.

I've managed to use some of the code in the forum to good effect and I'm experimenting with the code provided by Ivan Todorov in his useful high dpi article.

If I use the MS message box in my code the dialog size is ok for high res, using radmessagebox I get a reduced size. Can you provide some code or ideas on how to rectify this?

Any other advice or code on adapting to high res screens would be appreciated, although I realise that at the moment there doesn't seem to be a complete solution.

Thanks

Roger
George
Telerik team
 answered on 05 Aug 2014
3 answers
381 views
We have been using the SelectedIndexChanged event to react to user selections in dropdowns. The problem is that this event also fires when the DataSource is set, when the user is using the arrow keys to browse through the dropdown items, and when different items are selected using AutoComplete. Quite often, changing a dropdown selection can trigger a long and expensive process of database calls and changes to other controls.

I would like to use an event that only fires when the user has truly made a selection. We have been handling this problem by either setting module-level flags to ignore the SelectedIndexChanged event, or temporarily disconnecting the event handler.

Is there a different event that will fire only for actual user interaction? The Windows Forms combo box has a SelectionChangeCommitted event that looks better for this purpose, but I don't see an equivalent event for the Telerik dropdown.
Dimitar
Telerik team
 answered on 05 Aug 2014
1 answer
493 views
Hey all.I have been searching to change a background colour of a radbutton when hovered.I found exactly what I was looking for here
When I run the program, all is well.But when I try to implement that exact code in my project it does not work.Is there something I am missing.Bear with me as I am a newbie.

Kind Regards,
Dimitar
Telerik team
 answered on 05 Aug 2014
10 answers
546 views
Hello
I downloaded the demo of Telerik Q2 2014. 
I'm trying Scheduler and Reminder in visual basic 2013. NetFramework 

In the event AppointmentEditDialogShowing RadScheduler1 
I try to show the custom form. 

Private Sub radScheduler1_AppointmentEditDialogShowing (sender As Object, e As AppointmentEditDialogShowingEventArgs) 
e.AppointmentEditDialog = New CustomForm()

End Sub 


I took the code from the following thread
http://www.telerik.com/forums/custom-edit-dialog

but displays an error "System.InvalidCastException"

I try 

Private Sub radScheduler1_AppointmentEditDialogShowing (sender As Object, e As AppointmentEditDialogShowingEventArgs)
CustomForm.show
End Sub

This show the original form and my custom form

Thanks




Jeff
Top achievements
Rank 1
 answered on 04 Aug 2014
1 answer
203 views
I have a RadPageview in Strip Mode and I want my program to had support a right-to-left language. When I changing the Right-to-Left Property to true it works fine. but when I run my program and use Arrow Keys (Left or Right) it doesn't work correctly. Left key goes to Right and Right key goes to Left. How can I fix it?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Aug 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?