Telerik Forums
UI for WinForms Forum
3 answers
327 views
Hi,

I was trying to resize the radbutton to be larger in visual style builder so that when I swith theme both text and button can be bigger. I was managed to set the text with a bigger font size but couldn't find a way to make radbutton bigger. When my winform app runs the text on the button is truncated since it's set bigger. I tried minsize on rootradelement, radbuttonelement and elements further down, still doesn't work. Please advise.


Thank you, 
Dannie
Boryana
Telerik team
 answered on 03 Sep 2012
3 answers
282 views
Hi,
I have a column that is connected to an enum, and another column that is connected to a list of objects.
when i try to select an object/enum member on the filter, the system crashes.
in the enum case with the following reason:

System.InvalidCastException was unhandled
  Message="Invalid cast from 'System.String' to 'Sivan3.Dao.Poco.Student+StudentStatus'."
  Source="mscorlib"
  StackTrace:
       at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
       at System.String.System.IConvertible.ToType(Type type, IFormatProvider provider)
       at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       at Telerik.WinControls.UI.GridFilterCellElement.SetFilterValue(Object value)
       at Telerik.WinControls.UI.GridFilterCellElement.set_Value(Object value)
       at Telerik.WinControls.UI.RadGridView.UpdateFiltering()
       at Telerik.WinControls.UI.RadGridView.OnValueChanged(Object sender, EventArgs e)
       at Telerik.WinControls.UI.RadGridView.CallValueChanged(Object sender, EventArgs e)
       at Telerik.WinControls.UI.BaseGridEditor.OnValueChanged()
       at Telerik.WinControls.UI.RadComboBoxEditor.comboBoxElement_TextChanged(Object sender, EventArgs e)
       at Telerik.WinControls.RadItem.OnTextChanged(EventArgs e)
       at Telerik.WinControls.UI.EditorBaseElement.OnTextChanged(EventArgs e)
       at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
       at Telerik.WinControls.UI.PopupEditorBaseElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
       at Telerik.WinControls.UI.RadComboBoxElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
       at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
       at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
       at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
       at Telerik.WinControls.RadObject.SetValue(RadProperty property, Object value)
       at Telerik.WinControls.RadItem.set_Text(String value)
       at Telerik.WinControls.UI.RadComboBoxElement.set_Text(String value)
       at Telerik.WinControls.UI.RadComboBoxElement.SyncTextWithItem()
       at Telerik.WinControls.UI.ComboPopupForm.listBoxElement_SelectedIndexChanged(Object sender, EventArgs e)
       at Telerik.WinControls.UI.RadListBoxElement.OnSelectedIndexChanged(SelectedIndexChangedEventArgs e)
       at Telerik.WinControls.UI.RadListBoxElement.DispatchSelectionEvents(Boolean selectedIndex, Boolean selectedItem, Object oldValue)
       at Telerik.WinControls.UI.RadListBoxElement.SetSelectedIndex(Int32 value, Boolean fireEvents)
       at Telerik.WinControls.UI.RadListBoxElement.set_SelectedIndex(Int32 value)
       at Telerik.WinControls.UI.RadListBoxElement.HandleSelectOne(Int32 newIndex)
       at Telerik.WinControls.UI.RadListBoxElement.ProcessSelection(Int32 newIndex, Boolean onMouseDrag, InputDevice device)
       at Telerik.WinControls.UI.RadListBoxElement.ProcessMouseSelection(RadItem item, MouseNotification reason)
       at Telerik.WinControls.UI.RadListBoxItem.DispatchMouseNotification(MouseNotification notification)
       at Telerik.WinControls.UI.RadListBoxItem.OnMouseUp(MouseEventArgs e)
       at Telerik.WinControls.RadElement.OnCLREventsRise(RoutedEventArgs args)
       at Telerik.WinControls.RadElement.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadItem.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
       at Telerik.WinControls.RadElement.CallDoMouseUp(MouseEventArgs e)
       at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
       at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at Telerik.WinControls.UI.RadPopupControlBase.WndProc(Message& m)
       at Telerik.WinControls.UI.ComboPopupForm.WndProc(Message& msg)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at Sivan3.Program.Main() in D:\Sivan3\trunk\src\PC\Sivan3\Program.cs:line 32
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

on the databound columns, it throws an exception that an Object Must implement IConvertible.

Thanks,
Nadav Ben-Gal
Svett
Telerik team
 answered on 03 Sep 2012
5 answers
123 views
Hi!
After updated Telerik WinForms VS Extension via PackageManager in Visual Studio 2012 i got the error message with exception.
See the attached picture.

My Telerik WinForms VS extensions version is 2012.2.815.0.
Visual Studio 2012 RC.

The error only appears after opening one of my solutions. After clicking "ok" everything works fine.
Igor
Top achievements
Rank 2
 answered on 31 Aug 2012
7 answers
216 views
Hi,

We are currently using telerik Q3 2009 SP1. In order to use the latest feature like SpellCheker, Richtextbox with import\export rtf functionalities, We would like to update our product to the latest version Q2 2012 (Version 2012.2.608).

When we are trying to remove the old telerik dlls reference and add the new telerik dlls, it gives the compilation error for some of the following control.

1. Listbox
2. Combobox
3. TabItem
4. Gridview

We did add the dlls from bin40 directory. And, we were trying to import the namespace for Telerik.QuickStart. But, even then, it throws the compilation error.

Please let us know, what are we missing here.

We would appreciate your immediate response on this.
Petar
Telerik team
 answered on 31 Aug 2012
13 answers
738 views
How can I set every alternating row to a different backcolor? Do I have to do that in the Theme manager or what?
SHAHROKH
Top achievements
Rank 2
 answered on 31 Aug 2012
6 answers
498 views
Hello,
I am using a GridViewTextBoxColumn to display decimal values, and I am applying a formatstring like "{0:0.00##########}" to the column to trim off what may be several trailing zeros in the data.  The data is formatted properly and looks great in the column, but when I go to edit the data by double-clicking, the formatstring is no longer applied.  So my edit box is filled up with the trailing zeros, making editing cumbersome to the user.  Is there a way I can apply my formatstring to what shows up in the editor as well?

Thank you,
Rachel
Rachel
SHAHROKH
Top achievements
Rank 2
 answered on 31 Aug 2012
5 answers
350 views
Using an Object-Relational hierarchy with two levels, I keep getting random crashes in the grid related to index out of bound or removing an item that is not in a collection when calling BindingList<T>.ResetItem. I have already opened a support ticket, but Telerik Support could not recreate the problem, hence no real help was provided.
It is hard to recreate the problem, but I would think with the detailed stack trace of the crashes, it should help point out where in the code it happens and add appropriate error handling.

Below is the stack trace of one of many crashes I have been getting, please let me know if you have seen similar problem before, or have any hints to get around this issue.

System.ArgumentException: Cannot remove the specified item because it was not found in the specified Collection.
   at System.Collections.CollectionBase.System.Collections.IList.Remove(Object value)
   at Telerik.WinControls.RadElementCollection.Remove(RadElement value)
   at Telerik.WinControls.UI.GroupPanelElement.UpdateView()
   at Telerik.WinControls.UI.GroupPanelElement.ProcessEvent(GridViewEvent eventData)
   at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessCollection(GridViewEvent gridEvent, PriorityWeakReferenceList list, GridEventProcessMode processMode)
   at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessEvent(GridViewEvent gridEvent)
   at Telerik.WinControls.UI.GridViewSynchronizationService.NotifyListeners(GridViewEvent gridEvent)
   at Telerik.WinControls.UI.GridViewSynchronizationService.OnPostCallback(Object state)

Thanks,
Andy
Julian Benkov
Telerik team
 answered on 30 Aug 2012
5 answers
203 views
Hi support,

Is it possible to hide the overflow menu with a tab strip in Outlook view mode?

Regards,
Nadia
Nikolay
Telerik team
 answered on 30 Aug 2012
1 answer
101 views

Hi,

I tried to create and use a custom Recurrence Dialog derived from EditRecurrenceDialog. I've not found a factory like IAppointmentFactory for appointment dialogs so I tried to use the derived dialog directly in the event handler:

private void radScheduler1_RecurrenceEditDialogShowing(object sender,
Telerik.WinControls.UI.RecurrenceEditDialogShowingEventArgs e)
  e.RecurrenceEditDialog = new MyRecurrenceDialog(e.Appointment);
}

But it always shows the standard dialog layout. What I'm doing wrong?
Ivan Todorov
Telerik team
 answered on 30 Aug 2012
3 answers
139 views
Hello,

How do you enable things like row borders, or to show the select item as selected, when dealing with a custom visual item?

Best regards.
Ivan Todorov
Telerik team
 answered on 30 Aug 2012
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
ProgressBar
CheckedDropDownList
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
VirtualKeyboard
NavigationView
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?