Telerik Forums
UI for WinForms Forum
1 answer
148 views
Hello,

I have an unbound grid with 30 columns and not more than few hundred rows. When the application is in full screen mode (grid takes almost whole screen), the grid is reacting quite slow. When using keyboard to navigate it takes up to 2 seconds to move to next cell even on a relatively fast PC (Intel Core 2 Duo, 1,86 Ghz, 2 GB RAM). It  happens only when navigating left/right, up/down works fine. I noticed that when going into edit mode then all visible rows are refreshed, then when leaving edit mode visible rows are refreshed, and finally when the focus moves to another column all visible cells are refreshed. There is quite a lot of cells to refresh and that seems to be causing the slowdowns. Is there any way to make the grid respond faster to keyboard actions (refresh only the affected cells/columns/rows) ?
I'm using Telerik Controls for WinForms (.net 2.0), tried it on 2008 Q3 SP2 and the newest demo 2009.2 729 (Jul 29, 2009)

Thanks in advance
Jack
Telerik team
 answered on 31 Aug 2009
1 answer
158 views
I have a private instance of a collection of business objects on a form.  On form load, I fill the collection with data and bind it to a treeview.  In reaction to user input elsewhere on the form, I add and remove items from the collection.  At that point I need to refresh the binding of the TreeView.  I tried resetting the DataSource property and I've tried the Refresh and Update methods, but nothing I do makes the TreeView display the new data.

How do I do this?
Victor
Telerik team
 answered on 31 Aug 2009
1 answer
174 views
I seem to have a small problem with the CellDoubleClick event with the GridView.  It seems that when I doubleclick anywhere in the header for each of the rows it processes the event.   How can a prevent this from happening?  Can the header for the GridView be disabled so that when a user doubleclicks any header it won't fire the event? 

Thanks


Victor
Telerik team
 answered on 31 Aug 2009
3 answers
179 views
How to add image column in master grid?
yaqub
Top achievements
Rank 2
 answered on 31 Aug 2009
1 answer
325 views
Hi,
Recently i have faced a problem, which surely i think u guys will hae a solution.

Scenario:
I have a gridview, a picture box and a sql database.
Procedure:
Basically, its a client information entry form which takes in data from a user and stores it in a database and then recalls it in a gridview for administrative purposes.
The userclickes the picture box and gets a picture through a fileopendialog box, which is then converted into a byte array. i have made a client class which takes in all the client information using get/set properties, the image datatype is still unsure (need a little help on that too), then there is a stored procedure written which takes this class parameters and writes them to a database.
on the administrative side a connection is made to the sql server and a reader method is used which returns all the objects in the database and generates a list based on the client class. the class is then fed directly to the gridview as a datasource.
Problems:
Firstly there are no columns defined in gridview, it just takes the returned class and populates on that basis. probelm is with the image column. can u please guide me on storing image from picture box to the database and then retreiving into the gridview.
do i need to define all columns before populating it, and/or add a image column in it. Urgent help is required please.
PictureBox image convertsto byte array.
Sql database table has a field named 'ClientImage" of datatype 'image'
SqlReader method retrieves an object only, so one has to convert back to image 
display this image with other info in gridview.
can u please help me on all these datatypes and how to show image in gridiew. it would be more helpful if i dont have to specify any columns in gridview, and directly populate from datasource.

Thanks in advance!!!!







Robert
Top achievements
Rank 1
 answered on 28 Aug 2009
1 answer
200 views

Hi,

I would like to know if you have an easy way to implement Undo-Redo on all node action (Moving, deleting, adding, rename, drag and drop from one control to another, etc...)?

The only way I found is to save all the control structure in xml temp file after each change but this way is absolutely not efficient... I would like to know if there is a better and faster way.

Thanks in advance for your help.

Best regards,

Fred


Victor
Telerik team
 answered on 28 Aug 2009
2 answers
950 views
Hi,
I am encountering a problem with searching radlistbox items. MyCode:
private void searchListBox(object sender, EventArgs e) 
        { 
            int count = 0; 
            foreach (RadListBoxItem item in this.lbLiveClients) 
            { 
                if(item.DescriptionText == this.txtFindLiveClient.Text) 
                { 
                    this.lbLiveClients.SelectedIndex = count; 
                    break; 
                } 
                count++; 
            } 
        } 

gives an error:

foreach statement cannot operate on variables of type 'Telerik.WinControls.UI.RadListBox' because 'Telerik.WinControls.UI.RadListBox' does not contain a public definition for 'GetEnumerator'.

Any Solution to this:
I have items that have both text and description text. I wanted to search description text for some reason. then i decided on simple for loop.

            for (int i = 0; i < this.lbLiveClients.Items.Count; i++) 
            {  
                this.lbLiveClients.Items[i]. 
            } 

but no description text property there for items there, only the text property.
Any Solution to any of this.??
Thanks in advance
Faheem Nadeem
Top achievements
Rank 1
 answered on 28 Aug 2009
3 answers
516 views
Is there a property I am missing to hide the Row Indicator?  This occupies a lot of space that I would rather not have.

Thanks
Julian Benkov
Telerik team
 answered on 27 Aug 2009
4 answers
312 views
How to Handle Inner (Child)Grid events in Rad Grid view Hierarchy (Win Forms)

How to set  Inner (Child)Grid  Heigh in Rad Grid View Hierarchy (Win Forms).
Sudhakar
Top achievements
Rank 1
 answered on 27 Aug 2009
5 answers
643 views
I have a RadGridView that is being used to edit data.  Some of the cells contain bold text. 

I am attempting to add a RadToggleButton that will be used to bold or unbold text.  When the user selects a row with bold text, I toggle the RadToggleButton to ON.  When the user selects a row not formatted with bold text, I toggle the RadToggleButton to OFF.

I need to handle the ToggleStateChanged event differently when the button is clicked than when I toggle the state programatically.

Any suggestions on how to do this?
southwynd
Top achievements
Rank 1
 answered on 27 Aug 2009
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?