Telerik Forums
UI for WinForms Forum
3 answers
125 views
Hi

 We are developing our project  in Windows Xp and When we run in the Windows Xp, we are able to keep the RadGridView Cell Selection.  But when we run the executable in our Server ( Windows 2007) , RadGridView is not keeping the cell selection. 

We are looking for a solution for this. 

Thanks


Jack
Telerik team
 answered on 16 Feb 2010
6 answers
358 views
1.How to show a new appointment dialog in  Radscheduler.
2.Edit radscheduler Controls

anyone can help me...

thanks ,
vignesh
Dobry Zranchev
Telerik team
 answered on 16 Feb 2010
2 answers
138 views
Dear friends,

I am getting irritated and frustrated as i am not getting an answer..please tell me whether it is possible or not...?

 if we remove Maximize box for a normal form,By default,we never get maximize option in windows menu while hitting alt+space.
but in radribbonform,i am getting maximize option in windows menu(by pressing alt+spacebar),i have to get rid of that behavior
please reply me with a means.

I am asking above mentioned behavior for RadRibbonForm not for rad form, i am sending you a screen shot please have a quick watch on it.

i have saw one post about this issue,you mentioned below link,but it describes about only removing titlebar and removing maximize box....if you are not getting my question please reply me back ASAP.


http://www.telerik.com/help/winforms/form-accessing-radform-elements.html


Thanks,
Regards,
Ravi 
Deyan
Telerik team
 answered on 16 Feb 2010
3 answers
139 views
Dear Friends,

I am posing you one more question on RadRibbonForm behavior.


generally,when we remove maximize box in the title bar of a form,Maximize option in windows menu caused by Alt+spacebar is disabled.
but for radribbonform,i am not getting such behavior.

if i hit alt+spacebar although maximize box in the title bar of radribbonform sets to false,User can maximize it..how can i stop this behavior..?

Are you getting what i am saying.....? if so please tell me........i will explain it again...
How can i get rid of this frustrating behavior,....please help me.....

Thanks,
Regards,
Hari


Hari Atluri Atluri
Top achievements
Rank 1
 answered on 16 Feb 2010
1 answer
682 views
Hi,

Ive created a grid, one of my columns in the grid is a GridViewLookupColumn.  Ive subscribed to the CellBeginEdit event because I want to prevent users from editing certain cells.  When the condition is met in the event handler I set e.Cancel to true so that the editor is not displayed.  All works fine until the form is closed (disposed), I then get the following exception (stack trace), can somebody help please?

   at Telerik.WinControls.UI.PopupEditorBaseElement.ClosePopup(RadPopupCloseReason reason)
   at Telerik.WinControls.UI.PopupEditorBaseElement.DisposeManagedResources()
   at Telerik.WinControls.UI.RadComboBoxElement.DisposeManagedResources()
   at Telerik.WinControls.DisposableObject.PerformDispose(Boolean disposing)
   at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
   at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
   at Telerik.WinControls.DisposableObject.Dispose()
   at Telerik.WinControls.UI.GridViewEditManager.Dispose()
   at Telerik.WinControls.UI.RadGridView.savedForm_FormClosed(Object sender, FormClosedEventArgs e)
   at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
   at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FContinueMessageLoop(Int32 reason, Int32 pvLoopData, MSG[] msgPeeked)
   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.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at TelerikDataGridView.Form1.radGridView1_CellDoubleClick(Object sender, GridViewCellEventArgs e) in C:\Documents and Settings\dms\My Documents\Visual Studio 2008\Projects\TelerikDataGridView\TelerikDataGridView\Form3.cs:line 96
   at Telerik.WinControls.UI.RadGridView.OnCellDoubleClick(Object sender, GridViewCellEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseDoubleClick(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 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.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at TelerikDataGridView.Form4.button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\dms\My Documents\Visual Studio 2008\Projects\TelerikDataGridView\TelerikDataGridView\Form4.cs:line 23
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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 TelerikDataGridView.Program.Main() in C:\Documents and Settings\dms\My Documents\Visual Studio 2008\Projects\TelerikDataGridView\TelerikDataGridView\Class1.cs:line 16
   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()
Martin Vasilev
Telerik team
 answered on 15 Feb 2010
1 answer
116 views

Hi,

I have a problem with the most simplest thing with RadDateTimePicker (2009.3.9.1203). I only want to set date, at form opening, like this :

 

 

 

Me.radDateTimePickerStart.Value = DateTime.Now.AddDays(-7)

 

 

 

Me.radDateTimePickerEnd.Value = DateTime.Now

if I set property of format to System.Windows.Forms.DateTimePickerFormat.Custom, the render is not updating on the form, but if i debug the control, the value is ok. With custom format the problem disappear.

Here is the complete control setup :
Me.radDateTimePickerStart.AutoSize = True

 

 

 

Me.radDateTimePickerStart.Culture = New System.Globalization.CultureInfo("fr-CA")

 

 

 

Me.radDateTimePickerStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom

 

 

 

Me.radDateTimePickerStart.Location = New System.Drawing.Point(782, 531)

 

 

 

Me.radDateTimePickerStart.MaxDate = New Date(9998, 12, 31, 0, 0, 0, 0)

 

 

 

Me.radDateTimePickerStart.MinDate = New Date(1900, 1, 1, 0, 0, 0, 0)

 

 

 

Me.radDateTimePickerStart.Name = "radDateTimePickerStart"

 

 

 

 

Me.radDateTimePickerStart.NullDate = New Date(1900, 1, 1, 0, 0, 0, 0)

 

 

 

Me.radDateTimePickerStart.Size = New System.Drawing.Size(150, 22)

 

 

 

Me.radDateTimePickerStart.TabIndex = 5

 

 

 

Me.radDateTimePickerStart.Text = "RadDateTimePicker1"

 

 

 

 

Me.radDateTimePickerStart.Value = New Date(2010, 2, 12, 14, 18, 35, 101)

thx,

 

 

 

Dobry Zranchev
Telerik team
 answered on 15 Feb 2010
8 answers
132 views
If I have a gridview and want to export it to excel it does export all values correct.
But if I have a column that is a lookup I get the ID and not the displayed value of the lookuptable value.
Where do I set that settings for my export?

My exportfunction from your VB examples
    Private Sub ExportToExcel(ByVal ExportAsML As BooleanByVal Exportfor2007 As BooleanOptional ByVal exportVisual As Boolean = True)  
        If ExportAsML = False AndAlso saveFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then 
            'Export To Excel  
            If (Not saveFileDialog.FileName.Equals(String.Empty)) Then 
                Dim file As New FileInfo(saveFileDialog.FileName)  
                If file.Extension.Equals(".xls"Then 
                    'Här skall det bli Ã¤ndring till gamla Excel  
                    '  Export(saveFileDialog.FileName)  
                Else 
                    MessageBox.Show("Felaktig filtyp")  
                End If 
            Else 
                MessageBox.Show("Välj ett filnamn.")  
            End If 
        ElseIf ExportAsML = True AndAlso saveFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then 
            'Export To ExcelML  
            If (Not saveFileDialog.FileName.Equals(String.Empty)) Then 
                Dim fileName As String = Me.saveFileDialog.FileName  
                Dim exporter As New ExportToExcelML()  
                If Exportfor2007 Then 
                    exporter.RunExport(Me.RadGridView1, fileName, ExportToExcelML.ExcelMaxRows._1048576, exportVisual)  
                Else 
                    exporter.RunExport(Me.RadGridView1, fileName, ExportToExcelML.ExcelMaxRows._65536, exportVisual)  
                End If 
                MessageBox.Show("Export klar.")  
            Else 
                MessageBox.Show("Välj ett filnamn.")  
            End If 
        End If 
    End Sub 
 
Thomas Ossowski
Top achievements
Rank 1
 answered on 15 Feb 2010
1 answer
109 views
Hi,

The contents of the panelBar in ExplorerBarStyle do not resize, if a scrollbar is visible. The vertical scrollbar stays at the current location until one of the contained groups is collapsed or expanded.

Steps to reproduce the problem:

1. Create a new form and add a Panelbar with DockStyle.Fill and set the GroupStyle to ExplorerBarStyle
2. Add a few groups to the Panelbar and set the EnableHostControlMode to true
3. Make sure the CanScroll Property of the Panelbar ist set to true
4. Start the Application
5. Resize the window so that the vertical scrollbar is displayed
6. Drag the right border of the window and resize it (now the scrollbars should be at the location they were before the resizing)
7. Click one of the groups to place the scrollbars in the correct location

Is this behaviour a bug or am I missing something really simple? What do I have to do to always place the Scrollbars at the right border of the window?

My System:
  • OS: Windows 7 64bit
  • Framework: Version 2 0

Edit: Sorry, wrong forum. I've posted it in the Panelbar forum.
Nikolay
Telerik team
 answered on 15 Feb 2010
1 answer
88 views
Hi,

The contents of the panelBar in ExplorerBarStyle do not resize, if a scrollbar is visible. The vertical scrollbar stays at the current location until one of the contained groups is collapsed or expanded.

Steps to reproduce the problem:

1. Create a new form and add a Panelbar with DockStyle.Fill and set the GroupStyle to ExplorerBarStyle
2. Add a few groups to the Panelbar and set the EnableHostControlMode to true
3. Make sure the CanScroll Property of the Panelbar ist set to true
4. Start the Application
5. Resize the window so that the vertical scrollbar is displayed
6. Drag the right border of the window and resize it (now the scrollbars should be at the location they were before the resizing)
7. Click one of the groups to place the scrollbars in the correct location

Is this behaviour a bug or am I missing something really simple? What do I have to do to always place the Scrollbars at the right border of the window?

My System:
  • OS: Windows 7 64bit
  • Framework: Version 2 0
  • Telerik RADControls for WinForms: Q3 2009 SP1 (2009.3.9.1203)
Uwe Honermann
Top achievements
Rank 1
 answered on 15 Feb 2010
8 answers
400 views
Hello Telerik team.

NOTE: this issue appies to  RadCheckBox (and derived/related) in general.

I've noticed that when using a RadCheckBox in either a winform or a as RadCheckBoxkElement (as custom cell edit control in a grid cell) it shows a checkmark when it is set the value Indeterminate.

This occurs as well as for invokation by the user as well as programatically.

MS's checkbox has a nice square to indicate that the value of the checkbox is indeterminate. So Telerik showing a checkmark for both checked and indeterminate is quite confusing to a user.

On a usercontrol / winform the workaround is simple: Just use the MS checkbox instead.
However, as a RadCheckBoxElement in a gridview, there is no workaround for this....??????:


Please let me know how I can use the RadCheckBoxElement in the radgridview cell and see the differnce between Checked, Unchecked and Indeterminate visually.

Kind regards,

Jack
Nikolay
Telerik team
 answered on 15 Feb 2010
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?