Telerik Forums
UI for WinForms Forum
2 answers
296 views
Hello everyone,

I am trying to create a ribbon programmatically & trying to set an Image from a file on the RADButtonElement, but I am failing to do so.
Does anyone have a code handly to add a image from the local drive not from the Resource file or the ImageList control. I need to add it from the file.

Thanks,
Claton
D3M1TR1US
Top achievements
Rank 1
 answered on 23 Jul 2007
1 answer
122 views
Hi,
I added a dockpanel  to dockingmanager using Advanced Layout Designer.Then I want to delete this dockpanel from dockingmanager using Advanced Layout Designer window but it was not deleted.I tried to delete from forms designer.cs but did not worked.When I run project it is Ok but in design time I see this dockpanel.How can i remove it from design window.

Regards,
Julian Benkov
Telerik team
 answered on 20 Jul 2007
1 answer
207 views
No commitedit? How do you force an edit to commit? For example if the user hits a save button on the form and they are in the middle of an edit...
Georgi
Telerik team
 answered on 20 Jul 2007
3 answers
161 views
Hi,

I noticed something using your Windows controls for the first time: it seems that for some overloads virtualization was not used. For example:

Control[] ctrl = tabItem2.ContentPanel.Controls.Find(rb.Tag.ToString(), true);
ctrl[0].Focus();


behaves differently from

Control[] ctrl = tabItem2.ContentPanel.Controls.Find(rb.Tag.ToString(), true);
Telerik.WinControls.UI.RadTextBox rtb = (Telerik.WinControls.UI.RadTextBox)ctrl[0];
rtb.Focus();

Based on OO theory and best practices, both should behave the same, but in this case they don't.
From the above example it's noticeable that this problem is generated by the fact that the overload function is not virtual, so the compiler doesn't know to call the correct version based on the object content, instead of using the type.
Was this left like this intentional (and if so why?) or it's just a mishap?

Thanks,
Cristian
Vassil Petev
Telerik team
 answered on 19 Jul 2007
1 answer
169 views
I'm trying to create a simple bar graph for inventory.  I need the month names along the bottom (which are also the column names in SQL ie Jan, Feb, Mar etc) and the total number of the selected items going up the side.  So this would display the total number of the selected item sold and how many where sold in each month.  So it could in thoery be completely databound to the datasource but I can't seem to figure out how to do it. Any ideas?
Dwight
Telerik team
 answered on 19 Jul 2007
2 answers
239 views
i've created a shaped form and want a titlebar that has nothing but a caption/text field.  i've tried to remove/reset the imageprimitive with no luck.

thanks...


john
Top achievements
Rank 1
 answered on 18 Jul 2007
2 answers
260 views
I have dropped a RadTitleBar control into a form with its FormBorderStyle set to "None". I then set the Caption property in the RadTitleBar to "Anything But Default". This shows up in the designer, but when I run the aapplication, the title shows up as "Form1". Even if I remove all of the Caption/Text property values it still shows up as "Form1" when running. What gives? This is a pretty basic custom control property.

Rob.
Jack
Telerik team
 answered on 18 Jul 2007
1 answer
282 views
Am I missing some documentation for the GridView column types? I'm trying to use the GridViewCommandColumn or the GridViewImageColumn, but I don't understand how to use them - they don't seem to have any properties for adding the button text (for command column) or the image location (for the image column). I don't see them mentioned at all in the documentation - am I just missing something?

I am using the Q! sp2 release.
Georgi
Telerik team
 answered on 18 Jul 2007
6 answers
561 views
I love the new feature AutoDetectMdiChildForms, however, I can't seem to find a way to close the mdi form when the close button is clicked on the docking panel.

I see there is a non-public member of ManageedDockables called mdiChild. That holds the value of the form I am trying to close. What I'd like to know is if there is another way to get this value or can you make this member public?

I've searched all other mdichildren members I could find and all were null except this one.
Julian Benkov
Telerik team
 answered on 18 Jul 2007
3 answers
247 views
Hi,

I try to add background to combo box by setting the background image.
But I didnt get what i want. The background was showing. How to set the background image?

Secondly, is it possible to add item image to combo box bounded to database?


thanks
Georgi
Telerik team
 answered on 17 Jul 2007
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
ScrollablePanel
DataEntry
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?