Telerik Forums
UI for WinForms Forum
11 answers
907 views
.Net's DataGridView allows the Ctrl-Home / Ctrl-End keys to go to the top - left Cell / bottom - right Cell in the grid.  In RadGridView, those keys do the same as the Home / End keys which go to the first / last Cell of the Slected Row.  I couldn't find any combo of Home, End, Page Up, Page Down, Up, Down, Left or Right with the Shift, Ctrl or Alt modifiiers that would go to the top / bottom of the grid.  Are there top  / bottom of grid keys predefined?  Is there a way to override the standard navigation keys?

Telerik Q1 2009 (v2009.1.9.414), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.

Jack
Telerik team
 answered on 23 Nov 2009
8 answers
191 views
When editing the filter value on a Date column:

1. It cuts off the left part of the date regardless of how wide I make the Column.

2. It always requires editing in a "ToLongDateString" fromat (aka "D", aka "dddd, MMMM dd, yyyy") vs. (oh, I don't know, call me crazy, but maybe perhaps) the format specified by the user in your  "FormatString" Property of your "GridViewDataColumn" Class.  ;) This is: a) non-intuitive as it may not (and probably usually does not) match the format used in the data columns since the "D" format is rarely used especially in tables where horizontal space is at a premium, b) may be (and probably usually will be) too wide to fit in the Column (even if #1 is fixed) even when the Column is wide enough to fit the Data Row values which are probably usually in a much shorter format like "MM/dd/yy" or "MM/dd/yyyy" (at least for us weirdos in B.F.E. USA ;) anyway).

Telerik WinForms 2009Q3 Beta (2009.2.9.1016) / 2009Q2 (2009.2.9.729), VB, VS 2005 (v8.0.50727.762 SP.050727-7600), .Net 2.0 (2.0.50727), XP SP3, 3GB, 2.99GHZ, Core2Duo.

Jack
Telerik team
 answered on 23 Nov 2009
4 answers
242 views
Hi

I am adding items to listbox like this (from a background worker thread).

  dim d as New AddDelegate(AddressOf radListBox1.Items.Add)
  dim item as New RadListBoxItem
  item.Text = "some text"
  dim args() as Object = {item}
  radListBox1.Invoke(d, args)

However I sometimes get an error after some items are added (I think it
is also if an item is selected in the listbox and if I change hide and show the form). This is thrown on the main form. If tried using the BeginUpdate and EndUpdate method as well, but that doesn't seem to make a difference.

This is the message
    "Parameter is not valid."

Here is the stack trace

   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
   at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
   at Telerik.WinControls.Paint.RadGdiGraphics.DrawBitmap(Image image, Int32 x, Int32 y, Double opacity)
   at Telerik.WinControls.Paint.RadGdiGraphics.DrawBitmap(Image image, Int32 x, Int32 y)
   at Telerik.WinControls.Primitives.FillElementPaintBuffer.ResetGraphics(IGraphics g, SizeF scale)
   at Telerik.WinControls.Primitives.FillPrimitive.PaintPrimitive(IGraphics g, Single angle, SizeF scale)
   at Telerik.WinControls.Primitives.BasePrimitive.PaintElement(IGraphics graphics, Single angle, SizeF scale)
   at Telerik.WinControls.RadElement.PaintElement(Graphics rawGraphics, IGraphics graphics, Single angle, SizeF scale, Region currentClip)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintOverride(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintOverride(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintOverride(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RootRadElement.Paint(IGraphics graphics, Rectangle clipRectangle)
   at Telerik.WinControls.RadControl.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.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(Form mainForm)
   at Dcsa.WpAdmin2.UI.Startup.Main() in C:\_SourceCode\DCX (SA) Workplace\Workplace.Windows\Workplace.Admin.UI\Startup.vb:line 7
   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()
Victor
Telerik team
 answered on 23 Nov 2009
5 answers
221 views
Hi Telerik

Can you give us a example how to implement the scroll bar to the telerik and Micorsoft Control? We can't find it User manual.

And  when we try to use the telerik control, we found "flicker" is a big problem at many place. Do you have anu good solution to make the change between the different control more smooth?

Thank you
Deyan
Telerik team
 answered on 23 Nov 2009
2 answers
115 views

hi,telerik,
   I'm a telerik user ,i encountered a problem when i used the gridview Control in my gui,i have two question as following:
  1>i just want to set the height of the header in the gridview,but i can't find out  which property should be set,could u pls give me an example  about how to implement it ?
  2>and another question ,when you set up a relation in the gridview ,and the childtable will be displayed in the current record,you will find a plus(+) image in the first cell ,i want to replace the plus(+) image with my image ,and how to implement ?
 thanks for you help and support

 

Ray Wang
Top achievements
Rank 1
 answered on 23 Nov 2009
2 answers
250 views
Hi,

I am in a fix right  now.
I want a column to have radio buttons yes or no depending upon the questions in the previous column.

For eg if question is do you want coffee in the prev column the ans would be yes or no.

Again if the question is how much creme> the radio button cell now becomes a text box cell .

So I want the column to be radio button or text box cell depending upon the prev column.

I have used the code provided in the radiobuttoncolumn in prev telerik posts ... It works fine if i just want radio button. But what if i want to have a single column as radiobutton or text box...Please explain. If there is a snippet that would help too.. 


More over how do i make the text box column enter multiline text and have accept return in it..

Thanks,



Smitha Test
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
234 views
Before I beat myself silly,  Is it possible in WinForms to have nested MDI parents. Or in other words a MDI child that is also a MDI Parent.
Seems reasonable... but you cannot in standard .Net.

Why you ask?  I am building a Dashboard type app where the main dashboard (or desktop) is a MDI form.  But when the user opens a 'project' folder, I would like it to be a MDI parent as well, so subsequent forms etc will stay in the projects mini-dashboard.

Thanks
Ray



Deyan
Telerik team
 answered on 20 Nov 2009
3 answers
99 views
Hello,
In design I am adding Item 10 to TabStrip collection.  I have named it TabOnline, however the ContentPanel name is TabItem1.  However if I select the tab and then the content panel, it is correctly called TabOnline.  Also, in the code it does not know the tabitem TabOnline.  I've tried deleting and readding the item and tried a different name too.  I've even tried keeping the tab the default of TabItem1, but it still is not available in code.
I did install Q3 yesterday.
Thanks.
Martin Vasilev
Telerik team
 answered on 20 Nov 2009
1 answer
102 views
I'd like to put in a vote for a ListView control , I myself and many people I know still find using listviews very useful especially with their capacity for multiple style views. Possibly also a TreeListView like the silverlight suite has too ?

I'd love to see versions for winforms and for wpf .
Nikolay
Telerik team
 answered on 20 Nov 2009
1 answer
136 views
I've got an empty winform where I want to drag and drop the new radgridview Q3 2009. But when dropped I'm getting a messagebox with the following error:

"No such property registered: IsMouseOverScrollBar, Telerik.WinControls.UI.RadScrollBarElement"

Before doing this I inserted all .dll files into visual studio 2008 into a new tab called "Telerik Q3 2009". I've got another tab called "Telerik Q1 2009" with those controls that I'm currently using in my prototype.

Now I looked in the folder with the new dll"s, trying to find this element, but couldn't find it. I also didn't find this element in the "Choose Items". So I don't think that I missed a dll file to import into visual studio.

Any solutions?
Thanks
Nikolay
Telerik team
 answered on 20 Nov 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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?