Telerik Forums
UI for WinForms Forum
5 answers
509 views
Hi,

I have a multicolumn combobox. on the first time click of the combobox the sizing is not correct, it doesn't render itself properly and all the details are not visible.

but when you type some search text in auto filter text box, it does auto size it properly and all the text is visible.

please have a look @ screen shot attached.

regards,
Khizar

Harsh Dara
Top achievements
Rank 1
 answered on 31 Jan 2011
4 answers
130 views
I am using Gridview (Hierarchy) to display data from the database Northwind with a small modification:
- table Orders has following columns: OrderID, OrderDate
- table Details has: DetailsID, OrderID, ProductID, Quantity, UnitPrice, Total (Total is one column in Gridview using expression)
- table Products has: ProductID, ProductName, TaxID
- table Tax has: TaxID, Tax
The Orders table is parent table and the Details table is child table. With the ProductID and GridviewComboboxColumn I can display ProductName from the Products table, but I don't know how to get the Tax value from table Tax using the same method to complete the goal: Total=Quantity*UnitPrice*(1+Tax).
Do you have any idea to do that?
Any help would be appreciated.
Thanh Ho
Thanh
Top achievements
Rank 1
 answered on 31 Jan 2011
1 answer
173 views
I've created a new project and am trying to do the following:

1. created a ShapedForm as MDI Parent
2. put a radPanel at the top of the ShapedForm
3. put a radMenu on the radPanel
4. set all of the above to Windows7 theme
5. in page load of the MDI (ShapedForm), i want to display a login form (Login) in the center of the MDI (Shaped form) via code below:
Dim fLogin As Form
        fLogin = New Login
        fLogin.MdiParent = Me
        fLogin.StartPosition = FormStartPosition.CenterParent
        fLogin.WindowState = FormWindowState.Normal
        fLogin.Show()

PROBLEMS:
1. the radmenu has no theme
2. in the radmenu, i have a radmenuHeaderItem - it is aligned on the top no matter what i try - so does not line up with the menu items (not aligned middled like the menu items).
3. the login page appears in the upper top left corner not centered.

i've looked for examples but none of what i'm trying to accomplish.
please help. i've been on asp.net for the past 5 years so it's frustrating.
thanks!

Ivan Petrov
Telerik team
 answered on 31 Jan 2011
3 answers
108 views
Hello,

I am using the windows 7 theme. I want my application color to be red so I use color blending. I am not totally satisfied with the result, so I would like to edit the generated red theme in the VSB as it is mentioned in this blog post :

http://blogs.telerik.com/blogs/posts/08-10-31/chameleon_skinning_coming_up_to_winforms_in_q3_2008.aspx
"And finally if the resulting skin still needs some touches, you can export the modified theme data to xml files, and tweak them using the Visual Style Builder app, as much as you wish. "

To export the theme I used the code attached in this thread, that uses XmlStyleBuilderRegistration objects.
http://www.telerik.com/community/forums/winforms/themes-and-visual-style-builder/theme-and-addcolorblend-not-working.aspx

This code generated 56 Xml files. I start the VSB and hit "Open directory" to load all xml file but VSB says that these files are old and no more supported.

How can I export a color blended theme to edit it in the new VSB?

Thank You
Regards
Thibaut
Thibaut
Top achievements
Rank 1
 answered on 31 Jan 2011
13 answers
391 views
Hi,
how can we add custom controls other than the ones provided with the RAD Suite?
thanks.
Peter
Telerik team
 answered on 31 Jan 2011
8 answers
252 views
Hello,

I use "Hide Column" from GridView->Header->Pop-up menu.
Is there some event to get information about column which was hidden?

Thanks
Stefan
Telerik team
 answered on 31 Jan 2011
19 answers
332 views

I really liked Kaspersky's User Interface.

Is it possible to create some UI like that, using Telerik controls for WinForms ?

Thanks

Akhil
Top achievements
Rank 1
 answered on 29 Jan 2011
6 answers
163 views
I want to create a document window tab on the dock when I click a button. how do I go about this?
Thanks!!
-Eric Pacheco
Richard Slade
Top achievements
Rank 2
 answered on 29 Jan 2011
4 answers
402 views
I have created custom cells in rad grid like this

private void radGrid_CellFormatting( object sender, CellFormattingEventArgs e )
 {
           if( e.CellElement.ColumnInfo.Name == "Rate")
            {
                CurrencyRate currencyRate = e.CellElement.RowInfo.DataBoundItem as CurrencyRate;
                RadSpinElement spin = new RadSpinElement( );
                spin.MinValue = 0;
                spin.MaxValue = decimal.MaxValue;
                spin.DecimalPlaces = 2;
                spin.TextAlignment = HorizontalAlignment.Center;
                spin.Value = currencyRate.Rate;
                e.CellElement.Children.Add( spin );              
            }
}

now, how can I get RadSpinElement object from here

private void radGrid_CommandCellClick( object sender, EventArgs e )
{
                 GridCommandCellElement cell = sender as GridCommandCellElement;
                if( cell.ColumnInfo.Name == "Update" )
                {
                        //I need "Rate" RadSpinElement object here
                 }
}

without creating custom RadSpinGridCellElement.

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 29 Jan 2011
3 answers
189 views
Hello,

We started having a weird problem with one of our command bars. It would become inactive somehow when you interact with a rad grid on the same win form, and when you mouse over it the buttons won't change their background as usual, and if you try to click one, it won't do anything. In order to make it work you have to click once anywhere on the bar and then it behaves properly again. I tried explicitly calling Focus() on the bar and the strip element in the code behind but did not help. Any ideas?

Thanks!
Richard Slade
Top achievements
Rank 2
 answered on 28 Jan 2011
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?