Telerik Forums
UI for WinForms Forum
6 answers
250 views

Hi,

I'm new to RadControls.  We're in the process of replacing our existing grid control with RadControls' GridView.  I've been tasked with theming GridView to look like the existing grid.

The existing grid is very conservative and uses standard scrollbars.  If a user changes their Windows Appearance settings through the Windows Control Panel > Display, the color scheme they select will affect the scrollbars of our existing grid.  Is it possible to achieve the same thing with RadControls GridView?

I've been trying to find the answer and haven't had much luck finding others talking about this issue.  Thank you for any assistance you might be able to provide in pointing me in the right direction.

Thanks,

-C.Scott

Nikolay
Telerik team
 answered on 26 Sep 2008
5 answers
1.5K+ views
Hi,
I have a GridView control with 3 columns. The first is a text column, the second is a combobox column and the third is a command column.
Basically, all the gridview values are readonly so I don't need to change them.
I have been trying to add items to the gridview through code but I can't find a the way to insert the values into the combobox cell. I'm using the Add method of the Rows collection but I don't know what value to pass to it. (I have been trying different ways). In the documentation there's only an example of strings or numbers that are pass to the Add method.
ANother question in the same subject, how can I initialize my grid from an xml file - I look at this link:
http://www.telerik.com/support/kb/article/b454K-ehc-b454T-bhb-b454c-bhb.aspx
but some of the objects are not recognized - like 'GridBoundColumn'. Is there a

certain format that the xml file should be in, so the values will be set to the right cells


Nikolay
Telerik team
 answered on 26 Sep 2008
1 answer
50 views
Hi guys, fyi I noticed when I change the property

         this.FormElement.TitleBar.IconPrimitive.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

In the designer, it does as expected and looks great but when I run the app it has no efffect..  seems the designer does not persist the setting for whatever reason, although I was able to insert it into my form_load() code and it works great.

cheers
ewart
Nikolay
Telerik team
 answered on 26 Sep 2008
2 answers
147 views
The tree node text is very light.  You can see it in the TreeView theming sample application.  Interestingly, in the PanelBar sample, the TreeView text on the Mail panel looks good.
Mark Griebling
Top achievements
Rank 1
 answered on 26 Sep 2008
1 answer
120 views
I'd like to see a Task Dialog that takes on a custom theme.  There are other products to easily use Task Dialogs, but they can't be themed with the same style as the rest of the application.
Peter
Telerik team
 answered on 26 Sep 2008
4 answers
181 views
Hi
I use this control in a MDIParent....
How I can put in Start Menu the list of active MDIchildren forms?

In MenuStrip of .NET the code is:

Me

.WindowsMenu = New System.Windows.Forms.ToolStripMenuItem

Me.MenuStrip.MdiWindowListItem = Me.WindowsMenu

Then when a user open a new form the name of this form is added to the list (Me.WindowsMenu


Thank you




dp
Top achievements
Rank 1
 answered on 25 Sep 2008
1 answer
178 views
Hi Guys,

<rant>sometimes I really wonder if there is any quality control before rolling out new software releases. i am really a supporter of telerik controls, but such problems I come accross are really a pain in the arse.
my suggestion is to put more effort into quality than new flashy features.....
this theme-thingy and visual style builder does not even deserve the title "beta"-version in my opinion</rant>

since my last therming issue, where we at last achived it to successfully load a ressource-file into thememanager, i focused on more important bits and pieces of my application.
but now i am back to style my application and...well, i actually dont care much if visual studio renders the application and controls at design-time in wrong colors and styles(as it does sometimes...) as long as it does it right when starting the application. but it really fucks me off, if it is the other way around.

i am still using RadControls for Winforms Q1 2008 SP1

I am trying to style a textbox... to paint the background grey if it gets the focus.
plus I dont want to paint a border, so I set the border-property in visual style builder to hidden and the forecolor to transparent(bec. hidden is apparently not quite hidden?!?!?). the result is a thinner than usual textbox. it gets displayed the right way in visual studio design view, but just after i set the theme-name at the control again.
but when I close and reload the form with the designer it gets displayed wrong again. it also gets displayed wrong when starting the application.

when i look into my theme-style.xml i see several entries named something with "textbox". is there a mixup occured???!???

what i want is simply a way how to style my application.
but this try and error approach i am doing at the moment is 1. very time consuming, 2. very frustrating and 3. not acceptable. i am way faster to edit/style the ui-items of every control individually and this cant be the way doing it!??

i will supply you with a screenshot if you cant follow my explanations...

best regards




Peter
Telerik team
 answered on 25 Sep 2008
1 answer
86 views
Hi,

I use a custom save/load layout of a RadGridView... Basically I save/load column and grid properties as an xml file in a database.

My problem is that when I load and set the Group By Expressions, the group panel appears over the column headers. If I resize the form or fill the grid with data, the group panel takes its proper position above the column headers.

Furthermore, the UpdateGroupPanel() seems to be missing from the grid as a method. Instead, it appears as an obsolete method of MasterGridViewTemplate.

I do use SuspendLayout() and ResumeLayout() befaore and after the loading.

How can I get around this? If the UpdateGroupPanel has to be used by the owner grid, where is this method in Q2 2008 SP1?
Jack
Telerik team
 answered on 25 Sep 2008
3 answers
118 views
How can I put RadListBoxes inside a RadPanelbar?
Martin Vasilev
Telerik team
 answered on 25 Sep 2008
1 answer
251 views
How do you add a RadContextMenu to a node in the treeview?

The RadContextMenuManager allows you to add a RadContextMenu to the RadTreeView control but that only gives you the ability to add a context menu to the whole control regardless of where it is clicked.

The RadTreeNode has a ContextMenu property but it is of type RadDropDownMenu which has previously been said to be obsolete.  Since the RadDropDownMenu is no longer part of the Toolbox, manually changing the RadContextMenu to a RadDropDownMenu allows it to be added to a treeview node but this does not seem to be the correct way to do this. 

radTreeNode1.ContextMenu = radDropDownMenu;

Are there any other ways to do this?

Jordan
Telerik team
 answered on 25 Sep 2008
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
+? 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?