Telerik Forums
UI for WinForms Forum
9 answers
452 views
hi all
i am not getting default cellcontextmenu on grid view right click
previously i disabled it.
and now i want it to work,but its not even after setting allowCellContextMenu to true.
Actually i want to allow copy on a cell and paste  it to any of the filter property.
plz help me
norma
Top achievements
Rank 1
 answered on 04 Apr 2011
1 answer
108 views
Dear Telerik Team
                             I am not able to find any property to change the Hover color (when we open the drop down and hover mouse on the list ) for DropDownList in VSB.
Ivan Petrov
Telerik team
 answered on 04 Apr 2011
2 answers
85 views
Hi,
           I am using the RibbonBar in that i have a RadImageGalleryElement .Noe i want to fill the gallery element dynamically how can i do it....

Thanks
Divya
Ivan Todorov
Telerik team
 answered on 04 Apr 2011
10 answers
505 views
Hi,

One of my DB column is a char(1). I use it to report "y" or "n" for a row.
I've added GridView which has a combobox column.

I used dataset to connect between the two.
How to I change the "true" of "false" which the combobox returns to a "y" or "n" value?

Now when I change the value of "Active" combobox (see image attached), an exception thrown "Cannot set column 'bool_active'. The value violates the MaxLength limit of this column."
Svett
Telerik team
 answered on 04 Apr 2011
3 answers
1.6K+ views
Hi

I'm using version Q3 2009 SP1.

I have a RadLabel (with AutoSize = True) on a form I use to indicate loading status.  I constantly change the Text in the RadLabel during the loading phase.  The problem is that the size of the RadLabel does not change after I set the Text.

The workaround is that I have to do the following:

lblLoading.AutoSize = false
lblLoading.Text = _loadingText; 
lblLoading.AutoSize = true

Also I've noticed that it does not work out the correct size of the RadLabel if the form is not shown (even with the above workaround). 
So the following code snippet will not work, I need to move the setting of LoadingText to after the Show().

frmLoading loadingForm = new frmLoading(); 
loadingForm.LoadingText = "Validating License..."
 
loadingForm.Show(); 

Are these bugs or am I missing something?

Ralph
Peter
Telerik team
 answered on 04 Apr 2011
1 answer
1.2K+ views
Hi guys,

I'm in the process of upgrading the previous RadComboBox from 2009 to the newest version and I encountered a weird behaviour with the new RadDropDownList. ( note: this also affects RadComboBox in the newest version)

I did a simple test by binding the controls to a strongly typed datatable, setting the valuemembers and display members and then set the default value to 1 of the items that exist in that table. -

Listed below are code snippets from the old RadComboBox (2009) and the new RadDropDownList.
 
2009 version of the code which works. - The end result of this is that when the combobox is loaded, the default selected value is Australia. If I just refactored the code by changing this RadComboBox to a RadDropDownList and try to Debug it right after the box.SelectedValue = "Au"; shows that the selectedValue is still null.

RadComboBox box = new RadComboBox();
 box.ValueMember = "Code";
 box.DisplayMember = "Name";
 box.DataSource = [StronglyTypedCountryDataTable] // this table contains columns code, name
 box.SelectedValue = "Au";

After upgrading to the new 2011 version, the above mentioned code doesnt work any more. when the control is loaded, it always displays the 1st item in the box ("Afghanistan") even when the selected value has been set to Au. I tried changing the datasource to a List, DataView and the same behaviour exists.

Finally, I tried adding the items manually and it worked...

2011 version -

RadDropDownList list = new RadDropDownList();
list.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
Country country = Country.Get();
list.ValueMember = "Code";
list.DisplayMember = "Name";
 
foreach (CountryBe.CountryRow row in country.BusinessEntity.Country)
{
    list.Items.Add(new RadListDataItem(row.Name,row.Code));  
}
 
list.SelectedValue = "Au";

Can someone explain to me why the 1st method of implementation doesnt work the same as the 2nd method?

Peter
Telerik team
 answered on 04 Apr 2011
3 answers
161 views
Hi Guys,

I wonder if anyone can help? We are converting our application to use the Telerik RibbonBar (2009 Q2) and a request has come through for the groups to be centrally aligned in the tabs rather than to the left. I have had a play about with all of the alignment properties I can find for the RadRibbonBarGroup objects and the RibbonTab objects, but I can not get the groups to do anything but 'float' to the left.

Is there a way to align them centrally?

Any help appreciated.

Best regards,
Duane.
Peter
Telerik team
 answered on 04 Apr 2011
1 answer
162 views
Hi.  I have a CommandBarButton that I would like to set the backcolor to whatever the "hover" backcolor is for the current theme.  (This is a visual cue to the user and a toggle button is not appropriate).  I have tried using button.SetValue and button.ResetValue but I can't seem to find out what the backcolor is for the hover state. 

Is it possible at runtime to extract properties for certain states from a theme?

Thank you!
Ivan Todorov
Telerik team
 answered on 04 Apr 2011
12 answers
322 views
Hi,

I am trying to find a way to add a color picker to a ribbon group. I couldn't find the color picker control as such.
Could someone help me in this regard?

I am using RadControls for WinForms Q3 2010.


Jack
Top achievements
Rank 1
 answered on 04 Apr 2011
4 answers
150 views
Hi,
           Why i am getting that line refer the screenshot please......


Thanks
Divya
Peter
Telerik team
 answered on 04 Apr 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?