Telerik Forums
UI for WinForms Forum
1 answer
144 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
85 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
281 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
195 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
226 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
132 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
322 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
137 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
2 answers
135 views
Hi,

We have a  Lookup window having a text box at top and Grid with Data. When user type in text box, we find the data in grid and select that Row. Grid in NOT having focus at that time means we want selected row to be shown while user is writing on text box. In previous version Q2 2010, it was working properly. from Q3 2010, until grid control don't have focus, it does not show Selected row.... 

Kindly advise any solution for this.

Thanks 
devoas
devoas
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
244 views
Hi.

I am using the Visual Style Builder to create the theme for RadGridView.

I am trying to change the RowFill for GridTableHeaderRowElement with a new Gradient type repository item. I don't want the background to be gradient colored and thus I chose the GradientStyle = Solid. This does paint the background with the color I chose but the table header columns still have gradient color (different from what I selected) left in them.

I have attached the snapshot of the VSB screen where I did the above.

As you can see, there is still a tint of gray at the bottom of the header columns that I am not able to remove.

Can someone help?

Thanks.
Nikolay
Telerik team
 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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?