Telerik Forums
UI for WinForms Forum
5 answers
256 views
Hi Telerik

Can you give us a example how to implement the scroll bar to the telerik and Micorsoft Control? We can't find it User manual.

And  when we try to use the telerik control, we found "flicker" is a big problem at many place. Do you have anu good solution to make the change between the different control more smooth?

Thank you
Deyan
Telerik team
 answered on 23 Nov 2009
2 answers
125 views

hi,telerik,
   I'm a telerik user ,i encountered a problem when i used the gridview Control in my gui,i have two question as following:
  1>i just want to set the height of the header in the gridview,but i can't find out  which property should be set,could u pls give me an example  about how to implement it ?
  2>and another question ,when you set up a relation in the gridview ,and the childtable will be displayed in the current record,you will find a plus(+) image in the first cell ,i want to replace the plus(+) image with my image ,and how to implement ?
 thanks for you help and support

 

Ray Wang
Top achievements
Rank 1
 answered on 23 Nov 2009
2 answers
278 views
Hi,

I am in a fix right  now.
I want a column to have radio buttons yes or no depending upon the questions in the previous column.

For eg if question is do you want coffee in the prev column the ans would be yes or no.

Again if the question is how much creme> the radio button cell now becomes a text box cell .

So I want the column to be radio button or text box cell depending upon the prev column.

I have used the code provided in the radiobuttoncolumn in prev telerik posts ... It works fine if i just want radio button. But what if i want to have a single column as radiobutton or text box...Please explain. If there is a snippet that would help too.. 


More over how do i make the text box column enter multiline text and have accept return in it..

Thanks,



Smitha Test
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
249 views
Before I beat myself silly,  Is it possible in WinForms to have nested MDI parents. Or in other words a MDI child that is also a MDI Parent.
Seems reasonable... but you cannot in standard .Net.

Why you ask?  I am building a Dashboard type app where the main dashboard (or desktop) is a MDI form.  But when the user opens a 'project' folder, I would like it to be a MDI parent as well, so subsequent forms etc will stay in the projects mini-dashboard.

Thanks
Ray



Deyan
Telerik team
 answered on 20 Nov 2009
3 answers
111 views
Hello,
In design I am adding Item 10 to TabStrip collection.  I have named it TabOnline, however the ContentPanel name is TabItem1.  However if I select the tab and then the content panel, it is correctly called TabOnline.  Also, in the code it does not know the tabitem TabOnline.  I've tried deleting and readding the item and tried a different name too.  I've even tried keeping the tab the default of TabItem1, but it still is not available in code.
I did install Q3 yesterday.
Thanks.
Martin Vasilev
Telerik team
 answered on 20 Nov 2009
1 answer
120 views
I'd like to put in a vote for a ListView control , I myself and many people I know still find using listviews very useful especially with their capacity for multiple style views. Possibly also a TreeListView like the silverlight suite has too ?

I'd love to see versions for winforms and for wpf .
Nikolay
Telerik team
 answered on 20 Nov 2009
1 answer
148 views
I've got an empty winform where I want to drag and drop the new radgridview Q3 2009. But when dropped I'm getting a messagebox with the following error:

"No such property registered: IsMouseOverScrollBar, Telerik.WinControls.UI.RadScrollBarElement"

Before doing this I inserted all .dll files into visual studio 2008 into a new tab called "Telerik Q3 2009". I've got another tab called "Telerik Q1 2009" with those controls that I'm currently using in my prototype.

Now I looked in the folder with the new dll"s, trying to find this element, but couldn't find it. I also didn't find this element in the "Choose Items". So I don't think that I missed a dll file to import into visual studio.

Any solutions?
Thanks
Nikolay
Telerik team
 answered on 20 Nov 2009
7 answers
978 views
I trying implement a Shift-F10 key to activate the ContextMenu.  I have the Key trapped inside the KeyDown Event, but I don't know how to activate the ContextMenu.  RadGridView.ContextMenuStrip is Nothing.

2009Q2 (2009.2.9.729), VS 2005 (v8.0.50727.762 SP.050727-7600), .Net2 (2.0.50727), XP SP3, Core2Duo 2.99GHZ with 3GB.



Martin Vasilev
Telerik team
 answered on 20 Nov 2009
6 answers
270 views
We're trying to automate testing of the WinControls using a couple of different tools (QTP and Project White) .  These tools use the Microsoft UI Automation framework.  We are using UI Spy to find Telerik controls in our WinForms application and they don't show up. 

We have an immediate need for UI automation.  What are your plans for providing support for Microsoft's UI automation framework?
Georgi
Telerik team
 answered on 19 Nov 2009
22 answers
1.2K+ views
I'm trying to implement keyboard shortcuts for expanding and collapsing hierarchical templates via the Right and Left Arrow Keys like you can do in the Folders Pane of Windows Explorer or Outlook.  I started by inheriting the BaseGridBehavior and overriding the ProcessKey Function (like you guys had suggested for implementing Ctrl-Home/-End Keys for Top/Bottom of Grid).  The Right key works fine for Expanding a Row.  The Left key works fine for Collapsing a Row if its currently Expanded.  However, if the Current Row is not Expanded, the Left key doesn't seem to do anything.  If I set the CurrentRow.Parent.IsExpanded = False, it'll collapse the Current Template, but then it doesn't set the Current / Selected Row in the Parent Template (no Row is highlighted until I move up or down or click on a Row in the Parent Template) even if I set CurrentRow =  ParentRow, SelectedRows(0) = CurrentRow and SelectedRows(0).IsCurrent = True and call CurrentRow and SelectedRows(0)'s  InvalidateRow() and EnsureVisible() methods.  However, I'm not sure I want it to immediately collapse the Current Row's Template.  In Windows Explorer and Outlook, if the CurrentRow is not Expanded when you press Left Arrow, it simply moves the Current Row up to it's Group / Template's Parent Row.  Then you collapse that Parent Row normally when you press the Left Arrow again since it would be an Expanded Current Row at that point.

Else ' -- Not Keys.Control, .Shift or .Alt  
 
    Select Case keys.KeyCode 
 
        Case Windows.Forms.Keys.Left 
 
            If Not .MasterGridViewTemplate.AllowEditRow Then 
                ' -- If Only One Row Selected 
                If .SelectedRows.Count = 1 Then 
                    ' -- If Selected Row is Expanded 
                    If .SelectedRows(0).IsExpanded Then 
                        .SelectedRows(0).IsExpanded = False 
                        Return True 
                    Else 
                        Dim oParentRow As GridViewDataRowInfo = .CurrentRow.ViewInfo.ParentRow 
                        If oParentRow IsNot Nothing Then 
                            .CurrentRow = oParentRow 
                            'oParentRow.IsExpanded = False 
                            .SelectedRows(0) = .CurrentRow 
                            .SelectedRows(0).IsCurrent = True 
                            .SelectedRows(0).InvalidateRow() 
                            .CurrentRow.InvalidateRow() 
                            .CurrentRow.EnsureVisible() 
                            .SelectedRows(0).EnsureVisible() 
                        End If 
                        Return True 
                    End If ' -- Else Not (Selected Row is Expanded) 
                End If ' -- Only One Row Selected 
 
                ' -- Don't allow Column selection on Master Template 
                Return True 
            End If ' -- Not AllowEditRow 
 
            ' -- End Case Windows.Forms.Keys.Left 
 
        Case Windows.Forms.Keys.Right 
 
                If Not .MasterGridViewTemplate.AllowEditRow Then 
                    If .SelectedRows.Count = 1 Then 
                        .SelectedRows(0).IsExpanded = True 
                    End If 
                    Return True 
                End If ' -- Not AllowEditRow 
 
                ' -- End Case Windows.Forms.Keys.Left 
 
    End Select ' -- keys.KeyCode 
 
End If ' -- Else Not Keys.Control, .Shift or .Alt  
 

Jack
Telerik team
 answered on 19 Nov 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?