Telerik Forums
UI for WinForms Forum
8 answers
354 views
Dear Support Team,

How we obtain the cartesian grid line annotation value exact based in mouse position  to plot vertical or horizontal grid line annotations using mouse click without insert the exact value manually?

Thanks in advance!

Best regards,

Henrique
Maurer
Top achievements
Rank 2
 answered on 07 Jul 2017
1 answer
105 views

I'm a creating my own theme using the Visual Style Builder for WinForms. I have styled much of the RadGridView the way that I want to except the Relationship tabs (Captions). They are confusing me. I don't see them. Are they under another control? I don't see them in the preview or design mode for the RadGridView. What I am referring to is the GridViewRelation when there is more than one for a GridViewTemplate, it shows tabs. I want to style those in a theme (hopefully not in code at runtime).

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2017
20 answers
346 views
Hi Experts,

Is it possible to select multiple appointments? I would like the user to select multiple appointments with the CTRL key and move the selected appointment in the schedule. Example, user select 3 appointments and drag those 2 hours later.

Regards,
Nadia
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2017
1 answer
376 views

Hi,

Is it possible to define a background color for radgridview.

As on the brown rectangle on the attached file. We are on the grille but no rows.

I hope that you are understand.

Thanks for response

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2017
1 answer
225 views

Smart Tag in Rad Grid view not visible.

When right click on the gridview and select the 'open Property Builder', error occurred as "Object Reference not set to an instance of an object".

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2017
3 answers
150 views

Hi.

I'd like to use the scheduler for a work time recording software where users can enter their worktime by creating events in the scheduler.
There is also a time clock in the office and I'd like to highlight the times when users came in or left the office, just like the ruler does.
So, is it possible to draw two rulers per day? Or is it possible to draw custom lines?
Right now, I am changing the background color of the timespan where the user is in the office, but that approach has a low performance
because I handle that in the CellFormatting event and I have to check if the current cell is in that timespan.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2017
3 answers
840 views

The grid is loaded through the Bindingsource, adding, deleting, editing is included in the grid. How to make so that in the first column there was a comboBox and at data loading in, to the combo box the data was substituted.

I did, but I do not understand correctly.

_bindingSourceSurvey = new BindingSource { DataSource = commandServer.GetDataGridSet(@"select * from GetSurvey(" + _keyAlone + ")").Tables[0] };
radGridView2.Invoke(new MethodInvoker(delegate ()
{

GridViewComboBoxColumn comboColumn = new GridViewComboBoxColumn("Phone");

comboColumn.DataSource = _bindingSpeziolist;

radGridView2.Columns[1] = comboColumn;

radGridView2.DataSource = _bindingSourceSurvey;

}));

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2017
2 answers
867 views

I have several GridViewDecimalColumn columns, and I am using this string format: {0:N3}, I want to show 3 decimals, but if the value is zero I would like to show the value as an empty string.

 

1.12 = 1.120

0.8 = 0.800

2.9 = 2.900

0.0 = " " ?

Is there a way to accomplish this?

Regards,

Alberto

Amige
Top achievements
Rank 1
Veteran
 answered on 06 Jul 2017
2 answers
151 views
Is it possible to set a PageTitle when using the GridViewPdfExport, similar to when using ExportToPdf (see http://docs.telerik.com/devtools/winforms/gridview/exporting-data/export-to-pdf#page-title)? I can't find a similar property. I'm using the CellPaint and CellFormatting events of the GridViewPdfExport to render Charts in my Grid during export, so I can't just switch export methods. I would like to be able to put a title on the page or grid in the PDF. And unfortunately the GridView does not yet support a title or caption, either. (See https://feedback.telerik.com/Project/154/Feedback/Details/112101-add-radgridview-add-caption.)
Jon
Top achievements
Rank 1
 answered on 05 Jul 2017
1 answer
340 views

Hi,

I am trying to show on a grid a list of files where each file can expand to show the employees in that file (Each file contains multiple employees.  It's an one-many relationship).  My code looks like this so far but I only get a plus sign showing next to each file record on the grid but it won't expand to show the employees.  Please advise how I can correct this?  Thanks.

 

GridViewTemplate template = new GridViewTemplate();

template.Columns.Add(new GridViewTextBoxColumn("File_no"));

template.Columns.Add(new GridViewTextBoxColumn("File_Type"));

template.Columns.Add(new GridViewTextBoxColumn("Date_Received"));

template.Columns.Add(new GridViewTextBoxColumn("Date_Closed"));

template.Columns.Add(new GridViewTextBoxColumn("Title"));

template.Columns.Add(new GridViewTextBoxColumn("Status_Name"));

template.Columns.Add(new GridViewTextBoxColumn("Year"));

template.Columns.Add(new GridViewTextBoxColumn("Category_Name"));

template.Columns.Add(new GridViewTextBoxColumn("SubCategory_Name"));

template.Columns.Add(new GridViewTextBoxColumn("ERC_Name"));

template.Columns.Add(new GridViewTextBoxColumn("UnionName"));

template.Columns.Add(new GridViewTextBoxColumn("Union_Rep"));

template.Columns.Add(new GridViewTextBoxColumn("Business_Area_Name"));

template.Columns.Add(new GridViewTextBoxColumn("Resolution_Code"));

GridViewTemplate Childtemplate = new GridViewTemplate();

Childtemplate.Columns.Add(new GridViewTextBoxColumn("File_no"));

Childtemplate.Columns.Add(new GridViewTextBoxColumn("Employee_no"));

Childtemplate.Columns.Add(new GridViewTextBoxColumn("First_name"));

Childtemplate.Columns.Add(new GridViewTextBoxColumn("Last_name"));

Childtemplate.Columns.Add(new GridViewTextBoxColumn("Work_location"));

Childtemplate.Columns.Add(new GridViewTextBoxColumn("position"));

this.FileGrid.MasterTemplate.Templates.Add(template);

 

template.Templates.Add(Childtemplate);

GridViewRelation relation = new GridViewRelation(template);

relation.ChildTemplate = Childtemplate;

relation.RelationName = "FileEmployees";

relation.ParentColumnNames.Add("File_no");

relation.ChildColumnNames.Add("File_no");

 

FileGrid.Relations.Add(relation);

FileBusiness _fb = new FileBusiness();

_filelist = _fb.FindFile(null, null, null, null, null, null, null, null, null, null, null);  //this returns a list of files

var _orderedList = _filelist.OrderByDescending(x => x.File_no).ToList();

FileEmployeeView _ev = new FileEmployeeView();

this.FileGrid.DataSource = _orderedList;

 

template.DataSource = _orderedList;

Childtemplate.DataSource = _fb.GetAllFileEmployees(); //this returns all employees record and cooresponding file_id

this.FileGrid.Columns["ProcessStatus"].IsVisible = false;

this.FileGrid.Columns["ProcessStatusMessage"].IsVisible = false;

this.FileGrid.Columns["UpdatedBy"].IsVisible = false;

this.FileGrid.Columns["LastUpdated"].IsVisible = false;

this.FileGrid.Columns["CreatedOn"].IsVisible = false;

this.FileGrid.Columns["CreatedBy"].IsVisible = false;

this.FileGrid.Columns["isactive"].IsVisible = false;

this.FileGrid.Columns["Isdeleted"].IsVisible = false;

this.FileGrid.Columns["Code"].IsVisible = false;

this.FileGrid.Columns["ID"].IsVisible = false;

this.FileGrid.Columns["File_no"].HeaderText = "File #";

this.FileGrid.Columns["File_Type"].HeaderText = "File Type";

this.FileGrid.Columns["Date_Received"].HeaderText = "Date Received";

this.FileGrid.Columns["Date_Closed"].HeaderText = "Date Closed";

this.FileGrid.Columns["Title"].HeaderText = "Title";

this.FileGrid.Columns["Status_Name"].HeaderText = "Status Name";

this.FileGrid.Columns["Year"].HeaderText = "Year";

this.FileGrid.Columns["Category_Name"].HeaderText = "Category Name";

this.FileGrid.Columns["SubCategory_Name"].HeaderText = "Sub-Category Name";

this.FileGrid.Columns["ERC_Name"].HeaderText = "ERC";

this.FileGrid.Columns["UnionName"].HeaderText = "Union Name";

this.FileGrid.Columns["Union_Rep"].HeaderText = "Union Rep";

this.FileGrid.Columns["Business_Area_Name"].HeaderText = "Business Area Name";

this.FileGrid.Columns["Resolution_Code"].HeaderText = "Resolution Code";

 

Hristo
Telerik team
 answered on 05 Jul 2017
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?