Telerik Forums
UI for WinForms Forum
2 answers
139 views

     Hello , as I learned from your website , there is a method to create pdf from gridview.

But I have a problem , could you give me information about this?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jul 2019
4 answers
165 views

Hello.

I'm considering using Scheduler but I need to customize recurring appointments in a way that I do not know how to do it.

I need recurring appointments to occur only within an interval.

For example, in a HourlyRecurrence Appointment I'd need only repeat in the interval from 10:00 to 17:00 hours

or in a Daily appointment that only ocurs between 5th and 25th of each month.

Would this be possible?

Thx.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jul 2019
1 answer
3.3K+ views

Hi there,

We're facing this error in one of our recent deployments to one of our customers and it has never happened before to us. When it's happening, a big red cross it's displayed instead of one of the controls, usually in the parent window using either GridView or PageView.

There are different stack traces for the same exception message, but all of them involve some calls to Telerik controls and nothing to our own code. See some examples from the most common errors:

Stack Trace 1:

at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)    
at System.Windows.Forms.Timer.TimerNativeWindow.EnsureHandle()    
at System.Windows.Forms.Timer.TimerNativeWindow.StartTimer(Int32 interval)    
at System.Windows.Forms.Timer.set_Enabled(Boolean value)    
at Telerik.WinControls.MouseHoverTimer.Start(RadElement element)    
at Telerik.WinControls.ComponentInputBehavior.SelectElementOnMouseOver(MouseEventArgs e)    
at Telerik.WinControls.ComponentInputBehavior.OnMouseMove(MouseEventArgs e)    
at Telerik.WinControls.RadControl.OnMouseMove(MouseEventArgs e)    
at System.Windows.Forms.Control.WmMouseMove(Message& m)    
at System.Windows.Forms.Control.WndProc(Message& m)    
at Telerik.WinControls.RadControl.WndProc(Message& m)    
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Stack Trace 2:

at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)    
at System.Windows.Forms.Timer.TimerNativeWindow.EnsureHandle()    
at System.Windows.Forms.Timer.TimerNativeWindow.StartTimer(Int32 interval)    
at System.Windows.Forms.Timer.set_Enabled(Boolean value)    
at Telerik.WinControls.ComponentInputBehavior.EnsureElementUnderMouseMonitorTimer()    
at Telerik.WinControls.ComponentInputBehavior.SelectElementOnMouseOver(MouseEventArgs e)    
at Telerik.WinControls.ComponentInputBehavior.OnMouseMove(MouseEventArgs e)    
at Telerik.WinControls.RadControl.OnMouseMove(MouseEventArgs e)    
at System.Windows.Forms.Control.WmMouseMove(Message& m)    
at System.Windows.Forms.Control.WndProc(Message& m)    
at Telerik.WinControls.RadControl.WndProc(Message& m)    
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Stack Trace 3:

at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)    
at System.Windows.Forms.Timer.TimerNativeWindow.EnsureHandle()    
at System.Windows.Forms.Timer.TimerNativeWindow.StartTimer(Int32 interval)    
at System.Windows.Forms.Timer.set_Enabled(Boolean value)    
at Telerik.WinControls.MouseHoverTimer.Start(RadElement element)    
at Telerik.WinControls.ComponentInputBehavior.SelectElementOnMouseOver(MouseEventArgs e)    
at Telerik.WinControls.ComponentInputBehavior.OnMouseMove(MouseEventArgs e)    
at Telerik.WinControls.RadHostItem.hostedControl_MouseMove(Object sender, MouseEventArgs e)    
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)    
at System.Windows.Forms.Control.WmMouseMove(Message& m)    
at System.Windows.Forms.Control.WndProc(Message& m)    
at System.Windows.Forms.TextBox.WndProc(Message& m)    
at Telerik.WinControls.UI.HostedTextBoxBase.WndProc(Message& message)    
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Unfortunately, it's happening very randomly, so we're totally unable to replicate it, but it seems to be related with our client's users still using Windows 7 (yeah, quite old, I know).

We have already checked the number of User objects and handles created by the application when crashes and they look fine (between 500 and 1,000 for both in the worst cases). Regular machines are laptops using Windows 7 with 4GB of memory.

We don't know what else we could check, but we were wondering whether you have ever faced an error like this or not. Any light or ideas into this case will be welcomed.

BTW, the Telerik version we're using is 2018.1.220.40 (mainly GridView and PageViewer) and the .NET Framework version is 4.6.1.

Thank you in advanced.

Hristo
Telerik team
 answered on 22 Jul 2019
1 answer
475 views

I want to format group row's title with the following requirements:

 

1. Change the group row's default title:

    I use the GroupSummaryEvaluate event, but I could not get the grouping  column's header text,from the example, I could only the the column's name(e.SummaryItem.Name). I hope to get the column's header text to continue my work.

2. Change the group row's background color or foreground color

   I hope the change the default color of the group row

3. Add simple controls to the group row. e.g. I want to add an label with some red text to the group.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jul 2019
3 answers
288 views

Is this the same as RadDropDownList?

Or two different objects.

I am trying to see if RadDropDownListElement is capable of doing multi-selects on the drop down list.

I see this in docs online: radDropDownList1.DropDownListElement.SelectionMode = SelectionMode.MultiExtended

But not seeing this for the RadDropDownListElement.

Can I use the RadDropDownList in the radRibbonbarbuttongroup?

Thanks.

Dimitar
Telerik team
 answered on 22 Jul 2019
3 answers
265 views

Hi,

Is there a way to enable scrolling and set the grid to disabled?

Thanks

Dimitar
Telerik team
 answered on 22 Jul 2019
2 answers
118 views

Not sure if in correct place for this one.

I have a winform radribbonbarbuttongroup that I would like to put a date picker in for the user to pick a date.

How do I add this in? Does not appear on the Add A Item drop down list in the Dev UI.

 

Thanks

Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 answered on 19 Jul 2019
4 answers
135 views

The dialog uses InitialDirectory = "D:\Executech\Hotel\Documents"

To see the documents in the folder I must specify the parent folder of "Documents". If I use the same path as InitialDirectory, no files are seen.

This is my code that shows the files.

Private Sub saveFileDialog_DirectoryRequesting(ByVal sender As Object, ByVal e As DirectoryRequestingEventArgs) Handles RadSaveFileDialog1.DirectoryRequesting
    If Not e.Directory.FullName.StartsWith("D:\Executech\Hotel") Then
        e.Cancel = True
    End If
End Sub

 

Dimitar
Telerik team
 answered on 19 Jul 2019
6 answers
128 views

I have set the initial directory.  But when the save dialog shows up, the left panel directory list is not expanded to Initial directory.  It is expanded only when I click to select that initial directory.  Is there a way that it is expanded "at the beginning" and have the location hints (breadcrumb) at the top?

Thanks.

RadSaveFileDialog saveFile = new RadSaveFileDialog();
saveFile.InitialDirectory = @"C:\NHPAYHO\data\";
saveFile.ExpandToCurrentDirectory = true;
DialogResult dr = saveFile.ShowDialog();

Dimitar
Telerik team
 answered on 19 Jul 2019
2 answers
133 views

When I use DirectoryRequesting to set a user's root folder, the Tree Navigation Pane doesn't show the path. The only element that appears is "This PC" and if I cIick it I can't get back to the folder with the files. would prefer that it would show the specified folder as the root element in the Tree Navigation Pane since there will be multiple folders within this root folder.

Private Sub saveFileDialog_DirectoryRequesting(ByVal sender As Object, ByVal e As DirectoryRequestingEventArgs) Handles RadSaveFileDialog1.DirectoryRequesting
    If Not e.Directory.FullName.StartsWith("D:\Executech\Hotel") Then
        e.Cancel = True
    End If
End Sub

 

 

Dimitar
Telerik team
 answered on 19 Jul 2019
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?