Telerik Forums
UI for WinForms Forum
5 answers
361 views

Hello, i have this, were working using microsoft grid, how can i make it work with the winforms grid?

When i try to add a new row raise an exception like 'System.MissingMethodException' no parameterless constructor.

[Serializable]
public class ScheduledMovement : NotifyPropertyChanged
{
    //various props
    public excMovements Movements
      {get;set;}
    //other
}
 
public class excMovements :
  BindingList<ScheduledMovementDetail>, IBindingList
{
  protected override object AddNewCore()
  {
      ScheduledMovementDetail n = new ScheduledMovementDetail(parent);
      Add(n);
      return n;
   }
}

Dimitar
Telerik team
 answered on 07 Jul 2016
1 answer
160 views

Hi,

 

I've been trying to figure out how to get my radgridview to colour/put a border around the selected cell only when the user clicks on it. At the moment, using the following code, the grid draws horizontal borders on the selected row when a cell is selected (image attached).

 

    Private Sub gridView_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles gridView.CellFormatting

        If Not e.CellElement.IsCurrent AndAlso
            e.CellElement.RowInfo.IsCurrent Then
            e.CellElement.BorderColor = Color.FromArgb(208, 215, 229)
        Else
            e.CellElement.ResetValue(LightVisualElement.BorderColorProperty, ValueResetFlags.Local)
        End If

    End Sub

    Private Sub gridView_RowFormatting(sender As Object, e As RowFormattingEventArgs) Handles gridView.RowFormatting

        e.RowElement.DrawFill = False
        e.RowElement.DrawBorder = False

    End Sub

 

How can I get those lines above and below the row to go away?

Thanks for your help.

Mary
Top achievements
Rank 1
 answered on 06 Jul 2016
0 answers
108 views

Hello.
after applying localization for RadReminder, returned value for reminder in "Appointment Form" limited and after reopened the form, reminder value changed to hours.
for example "5 minutes" changed to "5 hours".
applied culture is set to "fa-IR".

Thank you.

Raminmjj
Top achievements
Rank 1
 asked on 05 Jul 2016
1 answer
213 views

Hi,

how can I get the user selected PDF file location from RadPdfViewerNavigator?

thanks

Georgi

Dimitar
Telerik team
 answered on 05 Jul 2016
3 answers
141 views

Here is a sample BarSeries:

01.BarSeries barSeries = new BarSeries("Performance", "RepresentativeName");
02.barSeries.Name = "Q1";
03.barSeries.DataPoints.Add(new CategoricalDataPoint(177, "Harley"));
04.barSeries.DataPoints.Add(new CategoricalDataPoint(128, "White"));
05.barSeries.DataPoints.Add(new CategoricalDataPoint(143, "Smith"));
06.barSeries.DataPoints.Add(new CategoricalDataPoint(111, "Jones"));
07.barSeries.DataPoints.Add(new CategoricalDataPoint(118, "Marshall"));
08.this.radChartView1.Series.Add(barSeries);
09.BarSeries barSeries2 = new BarSeries("Performance", "RepresentativeName");
10.barSeries2.Name = "Q2";
11.barSeries2.DataPoints.Add(new CategoricalDataPoint(153, "Harley"));
12.barSeries2.DataPoints.Add(new CategoricalDataPoint(141, "White"));
13.barSeries2.DataPoints.Add(new CategoricalDataPoint(130, "Smith"));
14.barSeries2.DataPoints.Add(new CategoricalDataPoint(88, "Jones"));
15.barSeries2.DataPoints.Add(new CategoricalDataPoint(109, "Marshall"));
16.this.radChartView1.Series.Add(barSeries2);

How can I

1) Asign some value (e.g, an Id) to a BarSeries?

2) Asign a ContextMenu to a BarSeries to get its Id?

Dimitar
Telerik team
 answered on 05 Jul 2016
3 answers
150 views
Hello,

 

Is there a way to set alignment  (like right, center) of CaptionText and ContentText?

Kind regards...

Hristo
Telerik team
 answered on 05 Jul 2016
2 answers
187 views

Hello,

How can I hide aggregators and column descriptors areas (see attached image)?

So far I found what I can execute the following code

pivotGrid.PivotGridElement.AggregateDescriptorsArea.Visibility = ElementVisibility.Collapsed;
pivotGrid.PivotGridElement.ColumnDescriptorsArea.Visibility = ElementVisibility.Collapsed;

and these areas will not be visible, but their placeholder still be displayed, i.e. empty rectangle at the top of the pivot grid. How can I completely collapse these areas?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jul 2016
3 answers
259 views

Dear All,

I need a radgridview with PageSize = 20; which i want fill datasource by pagesize and current page index changed,

Ex: in Database i have record 100, so in my radgrid datasource i will fill with VirtualItemRecordCout = 100, which will generate 5 page, and fill page 1 only 20 rows from database rownum selection, and when i changed my radgrid index to page 2, i will fill my datasource from rownum 20 till 40 from my record nums in database selection.

in ASP telerik radgridview have property VirtualItemCount, how about in WinForms ? i really need cause i have lazy record, and its so long if i much select all,

I need your great solution.

Thanks.

Dimitar
Telerik team
 answered on 05 Jul 2016
2 answers
639 views

Hello,

I use RadListView in ListView mode. Each tic of mouse wheel, the RadListView scrolling three lines (rows).

I want to scroll only one line. How can I  do this?

Kind regards.

Bekir
Top achievements
Rank 1
Iron
 answered on 05 Jul 2016
2 answers
101 views

Hi to all,

I would apply a filter descriptor on column and I don't what that user can apply any filters.

But, my filter descriptor has any effect if I set EnableFiltering = False

 

How can I do it?

Dario Concilio
Top achievements
Rank 2
 answered on 04 Jul 2016
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?