Telerik Forums
UI for WinForms Forum
4 answers
159 views

I have 10 panelbargroupelements and when the mouse is hovering on each of them there should a button visible and enabled to click, otherwise it should not be visible.

also, on click of the button I want to get which groupelement was clicked.
thanks for your help in advance.

Regards,
khizar
Martin Vasilev
Telerik team
 answered on 18 Feb 2010
5 answers
351 views
Hello

I'd like to be able to unit test (using NUNIT) my Telerik Winforms application. In the past, I have been able to use NUNITForms to do this, but as most of the controls are not derived from Windows Forms controls, I can't get it to work.

Do you know of any way of unit testing the UI of a Telerik Winfoms application please?
Many thanks

Boyan
Telerik team
 answered on 18 Feb 2010
3 answers
118 views

I have a RadPanelBar with Several GroupElements. I like the look and feel of the OutlookNavPane GroupStyle.

 

There are an indeterminate number of GroupElements. In the picture below(attached image1), 4 groups.

I would like to the RadPanelBar to look like this:(attached image2)

With just two groups showing, the rest minimized on the bar at the bottom. The User can achieve this y either dragging the dotted line down, or by using the Down Arrow at the bottom right, and choosing “Show Less Buttons”.

How can I do this programmatically, at Initialization time?

 

Also (onus Question), how do I style the top Caption bar?  Is it Themable?

I am using 2009 Q3, SP1

Boyko Markov
Telerik team
 answered on 18 Feb 2010
8 answers
535 views
Hi,
I want to compare two columns in a RadGrid and change the row color dynamically according to the result,
For example,
Column A  : (DataTime) OrderDate
Column B : (DateTime) DueDate
if(OrderDate > DueDate) the row turns to yellow and the fore color of the cell turns to red,
I have tried to set the TValue1 and TValue2, but it seems only to accept specified value which can't be dynamically assgined.

Is there any way to do this or any wrong could you please point out for me?

Thanks for your reply,
                                           Joy
Martin Vasilev
Telerik team
 answered on 18 Feb 2010
4 answers
213 views
Is it possible with your controls to sort my Listbox by the Valuemember not the Displaymember?

Thank You
jerry
Top achievements
Rank 1
 answered on 17 Feb 2010
1 answer
101 views
Hi...

 I have a MultiColumnBox in RadGridView and i have three columns in the MultiColumnBox. I am unable to find any property that sets their width. there is a width property that sets the overall MultiColumnBox width but no proerty that set the inner columns ( database fields it contains ) width....

Martin Vasilev
Telerik team
 answered on 17 Feb 2010
1 answer
123 views
Hello,

I am using OpenAccess and the Telerik Winform Controls for a new project.

I wanted to use the hierarchical-view of the RadGridView in Connection with an OpenAccess Object of type A that contains a collection of type B.

But it does not work because i don´t have any "ID Property" (or something else) to connect those types.

Is it possible to use the hierarchical-view if the only connection between parent and child is that the parent contains it´s childs?

Regards,
Johannes Atzmüller





Martin Vasilev
Telerik team
 answered on 17 Feb 2010
0 answers
226 views

 

I have been attempting to work around a known issue and limitation of the RadDock control when displaying images assigned to tool windows on tab strips. My understanding, please correct me if this is not the case, is that images assigned to tool windows are rotated by 180 degrees when shown on a tab strip and are not shown at all when in auto hide mode.

In the application I am writing I am attempting to produce a user interface similar to that of visual studio. I am therefore looking to show the image of my tool windows followed by there names whenever they are shown on tab strips. I have contacted Telerik support who provided me with the basis for the below code. The code shown is my implementation of an event handler for the TransactionCommitted event of a RadDock control which I believe achieves my goal.

I was wondering if others have come across this problem and how they went about solving it.

Note: The event handler will need to be added to the RadDock control before adding any tool windows. If your adding tool windows before your event handlers you will need to rotate the images of your tool windows by 180 degrees.

        private void TransactionCommitted(object sender, RadDockTransactionEventArgs e)  
        {  
            foreach (DockWindow window in e.Transaction.AssociatedWindows)  
            {  
                if ((e.Transaction.TransactionType == DockTransactionType.AutoHide) && (e.Transaction.TargetState == DockState.AutoHide))  
                {  
                    PropertyInfo propInfo = typeof(ToolWindow).GetProperty("AutoHideTab", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);  
                    TabStripItem tabStripItem = (TabStripItem)propInfo.GetValue((ToolWindow)window, null);  
 
                    tabStripItem.Image = window.Image;  
 
                    foreach (TabStripItem item in tabStripItem.ParentTabStrip.Items)  
                    {  
                        switch (((AutoHideTransaction)e.Transaction).Position)  
                        {  
                            case AutoHidePosition.Right:  
                            case AutoHidePosition.Top:  
                                item.ImagePrimitive.AngleTransform = 180;  
                                item.TextImageRelation = TextImageRelation.TextBeforeImage;  
                                break;  
 
                            default:  
                                item.ImagePrimitive.AngleTransform = 0;  
                                item.TextImageRelation = TextImageRelation.ImageBeforeText;  
                                break;  
                        }  
                    }  
                }  
                else if ((e.Transaction.TargetState == DockState.Docked) || (e.Transaction.TargetState == DockState.Floating))  
                {  
                    ((ToolWindow)window).TabStripItem.ImagePrimitive.AngleTransform = 180;  
                }  
            }  
        } 

 

 

Phil
Top achievements
Rank 1
 asked on 17 Feb 2010
3 answers
162 views
Hello,

Several months ago I had problems with recurring events where someone changed a specific occurance, thus causing an exception to be generated. It was explained to me that there were problems with Exception binding, but these were supposedly fixed in Q3 2009. I've now installed this new Telerik Version, and I've attempted to set the appointmentMappingInfo appropriately, but I still cannot get the databinding for exceptions to work correctly. In addition, I have not gotten several other columns to save to SQL, such as MasterEventId, Duration, and a few others. After looking through the documentation, I feel that nowhere is it explicitly stated what the datatypes for these columns must be, and the proper method to ensure databinding for ALL data points around appointments, especially the Exceptions field. At this point I am pretty lost about how I can get these things taken care of. Can I get some help here?

Thanks!
Jeremy
Dobry Zranchev
Telerik team
 answered on 17 Feb 2010
1 answer
191 views
I have added a combobox column that is based on a user selection.  The first time through the column appears and works correctly.  The second time through the combobox column is already within my grid so I don't have to create it again but I need to know how to change it's source when a users changes a different combobox within my form.  Do I have to remove the added column and re add it?

Thank You
Nikolay
Telerik team
 answered on 17 Feb 2010
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?