Telerik Forums
UI for WinForms Forum
3 answers
157 views

Hello

I would like to set grid lines width to bold them in gridview. Is it possible?

 

All the best

 

Nadya | Tech Support Engineer
Telerik team
 answered on 20 Apr 2021
3 answers
1.3K+ views

I am using the 2016 Q2 release of the RadCalendar control...

 

I have reviewed the years old threads regarding the week selection in a Calendar control and I am still unable to achieve what I am after.  Hopefully someone can help...

 

When the form is loaded, I want the Calendar to display the month for the system date, and select all days in the associated week for the system date, using a Sunday - Saturday week format. So if today is Aug 3, 2016, I would want the Calendar to display 7 columns, 6 rows, showing dates Jul 31, 2016 to Sep 10, 2016, with the dates for the current week, Jul 31, 2016 to Aug 6, 2016 selected.

 

Additionally, if the User selects any other date in the Calendar, I want to clear to previous week selection, and select all days in the associated week for the select date, using a Sunday - Saturday week format. So if User selects Aug 24, 2016, I would want the previous week to not be selected, and select all days for which the selected date falls between, Aug 21, 2016 - Aug 27, 2016.

 

In the end, there would only ever be 7 days selected in the Calendar which would equal 1 week in time.

 

Any guidance would be most appreciated.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Apr 2021
7 answers
1.0K+ views
As I'm sure you can tell by my recent posts, I've been playing around with the controls for Windows Forms, and I noticed today that the RadTextBox does not include an ability to bind to an autocomplete source like the standard TextBox does.  Is there another way to accomplish this?  One of my RadTextBox controls is for URL entry, and I'd like the option to tie it to the user's history for autocomplete.

Josh
Nadya | Tech Support Engineer
Telerik team
 answered on 19 Apr 2021
4 answers
190 views

Hi,

I have a problem. We have migrated from old library to RadPageView and everything is working, except ShortCuts to specific tabs. In previous library we had feature that, we can add & before letter and it has been using as a shortcut to this tab. Also this char has underline under themselves. Is if possible to do it in Telerik? I was looking for it, but without success

Thank you in advice for any answers.

Best regards,

Patryk

Patryk
Top achievements
Rank 1
 answered on 19 Apr 2021
3 answers
1.0K+ views
hey,
    is there a property that shows/Hides the grid's gridlines and I can change it in runtime?
thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Apr 2021
2 answers
123 views

Hello

I need to open the contextmenu of a radgridview without having the current row changed.

Can I identify if the right mouse button is clicked and cancel the current row changing

or do I need to open the menu from the MouseUp event, in which case I need to identif the row on which the right mouse is click event is fired

Thanks in advance

Best Regards

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Apr 2021
1 answer
108 views

Hi,

i need to create a custom RadDiagramConnector with custom shape then add it to a shape like RoundRectShape and i should connect from  it with a drag operation to another RoundRectShape and create programmaticalli the connection.

It is possible to have a complete example

Thanks in advance

 

Raffaele Z.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Apr 2021
13 answers
619 views
Hello:

Our users noticed today that RadMessageBox throws an error if additional calls to Show are made while the original dialog is still open. Our application uses BackgroundWorker, so processes alerting the user to their completion is a normal activity. This can result in multiple modal dialogs showing up all at the same time, which is acceptable.

Until recently, we used the built-in WinForm MessageBox. We switched over to get the common look and feel. However, now we are getting this error: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling showDialog.

We don't want to go back to the ugly MessageBoxes, so it would be nice if there was a way for RadMessageBox to overcome this problem.

Thanks,
Travis Parks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Apr 2021
9 answers
597 views
We are experiencing a few useability issues with the date picker.  They are so frustrating for our customers that I've spent a few days trying to hack together a custom rad element that works as needed both in standard form editing, and in in-line grid editing.

I am not having much success building a custom date picker element due to issues with the RadMaskedEditBox.  I'm hoping you have work arounds or configurations I'm missing within the standard date time picker.  Here are our issues:

1. User clears the date picker with the Delete key and opens the Calendar.  It defaults to 01/01/1900 (the current NullDate) which is virtually useless.  The masked edit box behaves similarly when the user begins editing a date picker that is cleared.
2. Users are having difficulties getting used to the masked edit box.  How can we modify the control to accept "04172008" and format it "04/17/2008". Note: we still must enforce valid day/month/years, but do not want to require users to type the "/" or arrow key to the next section.

Any guidance is much appreciated.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Apr 2021
3 answers
1.8K+ views

Hello,

 

I'm trying to use RadGridView to export a datatable to Excel.  I've created a method that takes a datatable as a parameter, creates a RadGridView, sets the dataSource to the datatable, and then exports.  Problem is that the RadGridview doesn't seem to be getting populated with the contents of the dataTable.  I feel like I'm missing something like 'gridView.DataBind();' but I can't find anything like that in the documentation.  Code is below:

public static void ExportToExcel(DataTable myDT)

        {             using (Telerik.WinControls.UI.RadGridView grid = new Telerik.WinControls.UI.RadGridView())

            {

                grid.AutoGenerateColumns = true;

                grid.DataSource = myDT;

                //grid.LoadElementTree();

                //grid.Refresh();

                GridViewSpreadExport spreadExporter = new GridViewSpreadExport(grid);                 SpreadExportRenderer exportRenderer = new SpreadExportRenderer();

                spreadExporter.RunExport("c:\\exportedFile.xlsx", exportRenderer);

            }

        }

Nadya | Tech Support Engineer
Telerik team
 answered on 09 Apr 2021
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
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
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?