Telerik Forums
UI for WinForms Forum
1 answer
112 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
89 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
527 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
167 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
165 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
325 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
153 views
Hi,
           Why i am getting that line refer the screenshot please......


Thanks
Divya
Peter
Telerik team
 answered on 04 Apr 2011
1 answer
753 views
After upgrading to Q1 2011 I get a warning saying: Found conflicts between different versions of the same dependent assembly.

Doubleclicking brings out this message:  One or more dependent assemblies have version conflicts. Do you want to fix these conflicts by adding binding redirect records in the app.config file?

Anwering "yes" adds these records in the file:


<dependentAssembly>

<assemblyIdentity name="TelerikCommon" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>

<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.WinControls" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.WinControls.UI" publicKeyToken="5BB2A467CBEC794E" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2011.1.11.315" newVersion="2011.1.11.315"/>
</dependentAssembly>

When attemting to run I get the following error:

Could not load type Telerik.WinControls.Primitives.RectanglePrimitive from assembly Telerik.WinControls, Version=2011.1.11.315, Culture=neutral, PublicKeyToken=5bb2a467cbec794e

Then I get "No source available, no symbols are loaded for any call stack fram, the source code can not be shown". Frustrating...

I have tried removing and adding all the references to Telerik dll's, but I still get the error. Any help is appreciated!

Nikolay
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
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?