Telerik Forums
UI for WinForms Forum
2 answers
268 views
Hi, I am using a RadGridView and have a column that is a GridViewComboBoxColumn.
The ComboBox is bound to a collection of values that are :

ValueMember : DisplayMember
"" : [None]
A : A
B : B
C : C

If the user selects value member A, B or C, all is fine and the associated display member is displayed.
But if the user selects the value member "" (an empty string) the display member [none] is not displayed and the ComboBox displays nothing.  It is like as if when I select an empty string the list will by default go back to selectedIndex = -1.

Here's a code example:

public class ItemComboBox
    {
        public string CleItem { get; set; }
        public string ValeurItem { get; set; }
    }
 
List<ItemComboBox> liste = new List<ItemComboBox>();
liste.add(new ItemComboBox("", "[None]"));
liste.add(new ItemComboBox("A", "A"));
liste.add(new ItemComboBox("B", "B"));
liste.add(new ItemComboBox("C", "C"));
 
//cboInsRslCd is my ComboBoxColumn
cboInsRslCd.DataSource = liste;
cboInsRslCd.ValueMember = "CleItem";
cboInsRslCd.DisplayMember = "ValeurItem";

Anyway, to have my [None] display member to be displayed correctly when the empty string value is selected?
Thanks!
Svett
Telerik team
 answered on 26 Feb 2013
1 answer
178 views
I have a RadCommandBar docked (to the bottom). It contains 2 labels and 2 textboxes with 1 seperataror. Its 'RightToLeft' property is set to true. It looks something like this:

-------------------------------------------|---------------------------
              label1   [ TextBox1 ]   |   label2   [ TextBox2  ]
-------------------------------------------|---------------------------

I'd like to make the width of TextBox1 depending on it's contents. E.g. when it contains "short" the width is 100px, but when "a somewhat longer text" is displayed e.g. 400px. The textboxes are readonly.

The properties "AutoSize" and "AutoSizeMode" of the  RadCommandBar, CommandBarRowElement, CommandBarStripElement and CommandBarTextBox elements are set to True and Auto. The textbox doesn't resize when the textcontent changes?

How can I obtain this functionality?

Kind regards,
Raoul

Peter
Telerik team
 answered on 26 Feb 2013
2 answers
154 views
Hello,

I'd like to use a SaveFileDialog in a RadBrowseEditor. I saw it is possible to configure the editor to use OpenFileDialog or FolderBroseDialog, but is it possible to do so with the SaveFileDialog?

Thanks,
Cordially
Amand
Top achievements
Rank 1
 answered on 26 Feb 2013
3 answers
249 views
How is a dictionary loaded into the RadSpellChecker (UI product)?

I'm working with the beta of the RichTextBox and I have been able to integrate it along with the RadRibbonUI control that you have provided (by the way quite nice, thanks). It was able to figure out that the SpellChecker associated with the RichTextBox is separate from the SpellChecker used to correct the spelling errors. I have been able to load a .tdf file from the web product into the RichTextBox.SpellChecker and only misspelled words are flagged in the RichTextBox and in the SpellChecker UI.

I can even add words to the dictionary and the additions are retained across uses of the program, so I know that my additions are being stored somewhere. But where?

Just to be clear. I do know how to load a dictionary into the DocumentSpellChecker that is associated with the RichTextBox but I do not know how to load a dictionary into the RadSpellChecker nor do I know where updates made via RadSpellChecker are stored.

Thanks for your help.


Svett
Telerik team
 answered on 26 Feb 2013
3 answers
115 views
How to radbiddon bag group table hidden?
Stefan
Telerik team
 answered on 26 Feb 2013
5 answers
963 views
Dear Telerik team,

I have an issue and I can't find the right button property to set.

See my two attached screenshots: The first one shows the buttons as they should be displayed. The second one shows the problem that appears when I resize my form. Shortly before the button groups collapse, the buttons loose their text. As you can see, some of the buttons still have their text, but they also disappear on making the form smaller. My buttons do have StretchVertically and StretchHorizontally on true, but it didn't change anything setting them on false. Nor playing with the minSize and size attributes.

Can you help me, please?

Thanks in advance!
Regards
Fabian
Stefan
Telerik team
 answered on 26 Feb 2013
1 answer
244 views
In my RadGridView I capture the DropDownOpening events to pop up my own context menu like this:
this.ContextMenuGrid.DropDownOpening += new System.ComponentModel.CancelEventHandler (this.ContextMenuGrid_DropDownOpening);


One of the columns in the grid contains self references added like this

 

radGridView1.Relations.AddSelfReference(radGridView1.MasterTemplate, "Id", "AktivitetRef");



So, I get plus icons in the cells where references are available. When the cells containing the plus icon are right clicked, the event is triggered and I generate the context menu I want, but when other cells in that column are right clicked, the event is not triggered and a default context menu is displayed.

Why is the event not triggered? Any idea?

Stefan
Telerik team
 answered on 26 Feb 2013
4 answers
105 views
I  had a radPageview have 3 pages radPageViewPage1,radPageViewPage2 & radPageViewPage3
I had also a radRibbonbar having tabs ribbonTab1,ribbonTab2 & ribbonTab3
i want to select ribbonTab1 when i selected  radPageViewPage1 and so on
How to do this? 
Plamen
Telerik team
 answered on 26 Feb 2013
1 answer
87 views
In my RadGridView I have a comumn containing expand/collapse icons for some rows to drill down into referenced data. Sometimes when scrolling around the GUI these + and - icons start showing up in other columns were they are not expected. I guess something should be reset when drawin the graphics in the CellFormatting event, but what?

Plamen
Telerik team
 answered on 26 Feb 2013
7 answers
237 views
Hello,
I was wondering if there is a way to add a drop-down menu on the tab of a document window in the dock. It would be exactly same as the little down pointing arrow next to the close button on the right-hand side which lists the active documents. Just that I would want it on each tab next to that tab's close button.

Thanks!
Stefan
Telerik team
 answered on 26 Feb 2013
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?