Telerik Forums
UI for WinForms Forum
3 answers
538 views
Hi Telerik,

i got a GridView with a ImageColumn

within the cellFormatting event I do the following:

            if (e.CellElement.ColumnInfo is GridViewImageColumn)
            {
                if (e.CellElement.Image == null)
                {
                    if (((GridViewImageColumn)e.CellElement.ColumnInfo).FieldName == "PicturePath")
                    {
                        string strPath = ((GridImageCellElement)e.CellElement).Value.ToString();
                        if (strPath != string.Empty)
                        {
                            e.CellElement.Image = new Bitmap(strPath);
                            e.CellElement.ImageLayout = ImageLayout.Stretch;
                        }
                    }


this works fine basically, but when I get to a certain number of records it gets considerably slow when scrolling (because it has to repaint the grid again....)

I also noticed, when scrolling forward and backwards it randomly places displayed images within the column (even to record who actually dont have an image yet)


Any idea how to improve the performance and how to get around the scrolling issue?

thank you

cheers

Christian
Dimitar
Telerik team
 answered on 23 May 2014
2 answers
164 views
I want to use this control because of the search capability. I want the user to look up an item based off its code or description. This works just fine. Once the user finds the item they want, I need to add it to a grid. This functionality works. Here is the problem. I need to get the value of what's clicked or the value when they hit enter or tab. SelectedIndexChanged fires off on everything. This causes unwanted items to be added to the grid. I only want the items added if the user clicks on it or hits tab or enter. SelectedIndexChanged fires off on up and down arrows and so on. How can I get the value of what's actually clicked? Click and mouseclick do not work because it fires off for the list box click only and not the underlying grid.
Anyone have any ideas on how to only get what the user clicks on and not ever item when SelectedIndexChanged fires?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 May 2014
3 answers
758 views
G'day,

I am using a Telerik WinForms Calendar control, with the footer visible so that I can use the Today button.

Unfortunately, when I click the Today button the control only 'shows' today. FOr example, if I had a date in November 2014 selected the control would only move the visible month to todays month (April 2013). 

My desired behaviour is for the calendar to move the display and ALSO select the date (triggering all the usual SelectedDateChanged events).

Do I need to handle the TodayButton click event? How do I do this? Is this possible in any way?

EDIT: It looks like it adds today's date to the selected dates, instead of replacing the selecteddate with todays date. Is this the designed behaviour?

Kind Regards,
Connect Direct Team
Stefan
Telerik team
 answered on 23 May 2014
7 answers
172 views
Does the richtextbox support header and footer. I tried importing a msword document with an image header. The richtextbox was able to import the entire document including the images on the document correctly. However the image on the header section was not imported.
Stefan
Telerik team
 answered on 23 May 2014
1 answer
319 views
Hi,

How can i select an item by pressing first character on keyboard. I can't find any property for this feature.

Thanks and regards,
Kasi
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 May 2014
7 answers
642 views
Can I set font family and size from a FontDialog() for a selected area of text in a RichTextBox? If so, what properties do I need to look for and set? I'm doing this in C#.

Thanks,
Ross
George
Telerik team
 answered on 22 May 2014
35 answers
1.3K+ views
Telerik Team,

Can you drag and drop a row with this control? I am currently using Q1 2007 version.

THanks
Dimitar
Telerik team
 answered on 22 May 2014
2 answers
1.1K+ views
Hi,

I have some code that allows a user to trigger an action from a choice in a DropDownList.  After this action has completed, I would like to reset the index/value of the DropDownList to the first Item on the list (Index = 0).

I am attempting to trigger the action on the SelectedIndexChanged event, but it will not allow me to change the index within the event.  I can change this value within another event, but I am not sure which one to use...   In the past, using Windows Forms, we have used the SelectionChangeCommitted event to do the reset, aftert the event was kicked off with the SelectedIndexChanged event.  What events/event order do I need to accomplish the above scenario?

Thanks
Laura
Ken
Top achievements
Rank 1
 answered on 21 May 2014
1 answer
130 views
Can the ChartView control build a Waterfall chart? if yes, what chart type should be used?

My client want to know if we can provide Waterfall chart,  so I want to confirm with you guys instead of searching to save time. 

Thanks.
Dimitar
Telerik team
 answered on 21 May 2014
2 answers
479 views
Hi. Sorry my english!!!

I use a report system that uses a BindingSource as source of the repot.

How to filter the bindingsource with the same filtered data in datagrid???

I used the ComponentOne C1TrueDBgrid that does it automatically.

When I filter datagrid (C1) data with the filterbar, the filtered rows show in datagrid are same bindingsource. Understand??? kkk (My english is terrible)

How to do this with Telerik datagrid?

Winform.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 May 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
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?