Telerik Forums
UI for WinForms Forum
3 answers
128 views

How do I set the Size of a DockPanel in a docked state at runtime?  Here's my simple code.

panel = new Telerik.WinControls.Docking.DockPanel();

panel.DockState = DockState.Docked;
panel.Size = new Size(250, 250);

For some reason the Size is not set.  It just remains the same.

Thanks,
Ryan

Ryan
Top achievements
Rank 1
 answered on 26 Sep 2008
1 answer
146 views
Hi,$0$0$0$0I place a Rotator element on my winform.$0$0Then, using properties window (Items), I add a RadItemsContainer.$0$0$0$0$0Under the RadItemsContainer properties I add any element, for example a RadCheckboxElement.$0$0$0$0$0Doing that results in a message "Object reference not set to an instance of an object". $0$0$0$0$0Any thoughts?$0
Martin Vasilev
Telerik team
 answered on 26 Sep 2008
1 answer
544 views
I have two radgrid.
First is binding to object  (radGridAcuse) but second has not binding(radGridEtiqueta).
Both have the same column definitión.
I select some rows from first, and click a button to copy.



GridViewRowInfo[] selectedRows = new GridViewRowInfo[this.radGridViewAcuse.SelectedRows.Count];this.radGridViewAcuse.SelectedRows.CopyTo(selectedRows, 0);
 this.radGridViewEtiqueta.GridElement.BeginUpdate();
for (int i = 0; i < selectedRows.Length; i++){
    this.radGridViewEtiqueta.Rows.AddNew((GridViewDataRowInfo)selectedRows[i]);
}
 this.radGridViewEtiqueta.GridElement.EndUpdate();

this code raise exception.
Is possible add rows to second Grid?
Do both Grid have same Columns?
Is possible drag and drop?
thanks

Martin Vasilev
Telerik team
 answered on 26 Sep 2008
6 answers
301 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.7K+ 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
79 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
192 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
180 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
210 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
223 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
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?