Telerik Forums
UI for WinForms Forum
3 answers
216 views
I hate ClearType.

How can I disable ClearType on ALL controls and themes in this Telerik control suite?

I have ClearType disabled on my system for a reason.

Thank you.

-Brian
Georgi
Telerik team
 answered on 13 Jul 2009
5 answers
384 views
Hi,
Can we display PDF or MS Word documents or Simple Text Documents using the Carousel Control?
If yes, can anyone point tme to some samples or codes using which I can do this.
This is one of the requirements and we are evaluating the Telerik Carousel Control for the feasibility.
Thanks.
-Dip.
Nick
Telerik team
 answered on 13 Jul 2009
5 answers
263 views
Hi

I am using the GridView similar to a table, where a long note is displayed as wrapped text over multiple lines. The problem is that the row size is not adjusting to display the entire text.

So I'm trying to use the "AutoSizeRows" property b/c my understanding from reading other posts on the forums is that it should do exactly that, but it's throwing a run time error:

rgvNotes.AutoSizeRows =

True

 


And I get:

System.InvalidOperationException was unhandled
  Message="MeasureOverride returned positive infinity: Telerik.WinControls.UI.GridTableHeaderRowElement"
  Source="Telerik.WinControls"
  StackTrace:
       at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
       at Telerik.WinControls.UI.GridRowElement.Initialize(GridViewRowInfo rowInfo)
       at Telerik.WinControls.UI.GridTableBodyElement.UpdateRow(Int32 position, GridViewRowInfo rowInfo)
       at Telerik.WinControls.UI.GridTableBodyElement.UpdateRowElements(IEnumerable`1 rows, RectangleF clientRect, Single& y, Int32& position, Int32 startIndex, Int32& added, Single left, Single width)
       at Telerik.WinControls.UI.GridTableBodyElement.ArrangeOverride(SizeF finalSize)
       at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
       at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
       at Telerik.WinControls.UI.GridTableElement.ArrangeOverride(SizeF finalSize)
       at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect)
       at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
       at Telerik.WinControls.RootRadElement.ArrangeOverride(SizeF finalSize)
       at Telerik.WinControls.RootRadElement.ArrangeCore(RectangleF finalRect)
       at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect)
       at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayout()
       at Telerik.WinControls.RadElement.UpdateLayout()
       at Telerik.WinControls.UI.RadGridView.set_AutoSizeRows(Boolean value)
       at InsurancePro.frmTaskList.RefreshView() in C:\Documents and Settings\RSyed.ITC\My Documents\Visual Studio 2005\Projects\InsurancePro.Net\frmTaskList.vb:line 664
       at InsurancePro.frmTaskList.cmdPend_Click(Object eventSender, EventArgs eventArgs) in C:\Documents and Settings\RSyed.ITC\My Documents\Visual Studio 2005\Projects\InsurancePro.Net\frmTaskList.vb:line 208
       at InsurancePro.frmTaskList.frmTaskList_Load(Object eventSender, EventArgs eventArgs) in C:\Documents and Settings\RSyed.ITC\My Documents\Visual Studio 2005\Projects\InsurancePro.Net\frmTaskList.vb:line 423
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       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.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
       at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
       at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
       at System.Windows.Forms.Control.CreateHandle()
       at System.Windows.Forms.Form.CreateHandle()
       at System.Windows.Forms.Control.get_Handle()
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.Show()
       at InsurancePro.frmMain.vbalExplorerBarCtl_ItemClick(Object eventSender, ExplorerBarItemClickEventArgs eventArgs) in C:\Documents and Settings\RSyed.ITC\My Documents\Visual Studio 2005\Projects\InsurancePro.Net\frmMain.vb:line 1049
       at vbAccelerator.Components.Controls.acclExplorerBar.OnItemClick(ExplorerBarItemClickEventArgs e)
       at vbAccelerator.Components.Controls.acclExplorerBar.ActionFocusItem(MouseButtons button, Point location)
       at vbAccelerator.Components.Controls.acclExplorerBar.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 System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at vbAccelerator.Components.Controls.ExplorerBarUtility.ControllableScrollableControl.WndProc(Message& m)
       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(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at InsurancePro.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
       at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
       at System.Activator.CreateInstance(ActivationContext activationContext)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()



PLEASE HELP!
Victor
Telerik team
 answered on 13 Jul 2009
1 answer
140 views
I want to set CellBackColor of RadMultiColumnComboBox.But how to do this? Thank you.
Victor
Telerik team
 answered on 13 Jul 2009
1 answer
140 views
Hello,

I'd like to suppress the dropdown from opening when I change the Text property of my combobox. Presently, I'm doing:

                cboRecord.Text = psName + " [" + psID + "]";
                cboRecord.CloseDropDown();
                cboMasterfile.Text = Sands.GetFullMasterfile(psMasterfile);
                cboMasterfile.CloseDropDown();

But when this executes, you still see the dropdown open and then immediately close, which looks buggy. Is there any way to avoid having it open altogether? I've tried disabling the control before and enabling after, but that does not work.

Thanks!
Jeremy
Victor
Telerik team
 answered on 13 Jul 2009
2 answers
236 views
Hi:
I have a problem and maybe an issue.
1. How can I do to validate when I add a new row into a GridView?...
      * I have 2 numeric columns, when I add a new row, I validate that a column is greater than the other column, if not I have to display a message and cancel the insertion.
I try with the RowValidating event, but I can not get the values captured in the 2 columns.
Note: Is to add a new row.
     



2. I have a column of type GridViewCheckBoxColumn and I set the ReadOnly property equal to true for this column, but at runtime I can change the column, and should not be assumed, that because is ReadOnly.

The controls are the new Q2

Thank you!!
Manuel
Top achievements
Rank 1
 answered on 10 Jul 2009
3 answers
136 views
I upgraded to Q2 yesterday and am getting a warning that the ExportToExcelML class is obsolete. The documentation for RadGridView has not been updated. Any news on what replaces the ExportToExcelML class?
Martin Vasilev
Telerik team
 answered on 10 Jul 2009
3 answers
105 views

I have created a raddock-manager with a documentwindow and a tool window. 

I set the tool window to autohide.

When the tool window is visible and it looses the focus it is getting invisible but i can see several redrawing issues when this happens. 

When the tool window is hidden and it gets activated so that is getting visible this happens very smooth. 

Is it possible to change this behaviour when the tool window is hidden so that it is similar to the activating of the tool window ?

Regards,

Ramius

Georgi
Telerik team
 answered on 10 Jul 2009
1 answer
243 views
Hi,
When we add dynamically a new doc windows like this:
        Dim Doc As New DocumentWindow  
        Doc.Text = "test" 
        m_RadDockMain.AddDocument(Doc) 

the doc always add himself at the left of the current document. It is possible to inverse that and add all new document to the right?

thanks
Georgi
Telerik team
 answered on 10 Jul 2009
3 answers
655 views
I'm trying to get a little space around the items in the grid, some right-justified numbers are running right up against the grid line. I tried setting the Padding attribute of the RadGridView but it does not seem to have any noticeable effect. Can you advise if this should do what I expect?

Stephen
Jack
Telerik team
 answered on 10 Jul 2009
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?