Telerik Forums
UI for WinForms Forum
12 answers
275 views
I have a gridview on a winform and the datasource is a datatable, after I sort though the underlying datatable does not update and this makes other operations wrong. using the underlying datatable values and the row number for it instead of the visible data in the grid.
any assistance appreciated as this is a very late discovery.

I just want to add I am using the q3 2010 set grid control.  I do not really have any extra sorting settings, other than allow sort true.  My expectation when I hit the column header is that it will do a switches between asc and desc as default.
Hristo
Telerik team
 answered on 22 Jul 2015
1 answer
83 views

I'm on the newest version of the telerik winforms. (2015_2_623)

After updating, the first occurrence of recurring appointments no longer show up.

This appears to occur when using any time zone that comes before UTC time.(Any "-" time)

 

Is there a fix for this issue?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jul 2015
6 answers
277 views
Hi,

May I know is there any plan for Telerik to include Logging support in various controls? So that developers don't need to write their own log framework or use any other third party logging tools.

Everything has to be built-in to deploy an integrated solution solely using Telerik Controls :-)

Thank you.

Regards,
Jenson
Stefan
Telerik team
 answered on 22 Jul 2015
1 answer
102 views
I have table with custom field based on GridDataCellElement.
Now in this field RadLabelElement and two RadButtonElement shown. All OK.
But when I am try to add RadCheckBoxElement - all field will shown empty.

protected override void CreateChildElements()
{
    // ... init elements
    this.Children.Add(radLabel); // ok
    this.Children.Add(radbtnColor); // ok
    this.Children.Add(radbtnFont); // ok
    this.Children.Add(new RadCheckBoxElement()); // GridDataCellElement will shown empty if this line not removed
}

How can I fix it?
Dimitar
Telerik team
 answered on 21 Jul 2015
1 answer
137 views

Hi,

 

I used this solution to increase my DropDownList popup when item text is longer than ​DropDownList size. But when I open the DropDownList for the first time, it goes off the screen (my DropDownList is at the right edge of the form and popup isn't positioned correctly and goes right off the screen).

​Then when I ​close and ​open DropDownList, the popup position will be correct and after that everything is OK.

 

Should I add something at the end of "PopupOpened" event after resizing items?

 

Dimitar
Telerik team
 answered on 21 Jul 2015
2 answers
171 views

After placing more elements in the layout than I realized I needed, I tried to delete the extra elements but all I can do apparently is to 'Hide' the extra elements.

Is there a way to delete the extra elements rather than 'Hide' them?

Hristo
Telerik team
 answered on 21 Jul 2015
3 answers
186 views

Hi to all,

I need to show a WaitingBar during mapping my appointments. How can I do this?

Actually I have a custom control with this structure: a Panel that contains sequentially RadNavigator (Dock.Top) > RadScheduler (Dock.Fill) > RadWaiting (Dock.Bottom)

I can't set a DataSource directly to the database, I used a BindingList<CustomAppointment>

During intercept some event's scheduler and navigator, fire a my delegate event NeedData that asks to Windows program to execute load data for specific period.

In this case if items of my BindingList<CustomAppointment> contains a lot of items, the primary thread is freezing.

I would use a RadWaitingBar to show a "waiting period" to user.

How can I do this? Normally I resolve this problem.... but on WPF Application with RadBusyIndicator :-)

01.#region navigator events
02.void NavigatorNavigateForwardsClick(object sender, EventArgs e)
03.{
04. if (NeedData != null)
05.  NeedData(scheduler.ActiveView.StartDate, scheduler.ActiveView.EndDate);
06.}void NavigatorNavigateBackwardsClick(object sender, EventArgs e)
07.{
08. if (NeedData != null)
09.  NeedData(scheduler.ActiveView.StartDate, scheduler.ActiveView.EndDate);
10.}#endregion#region scheduler eventsvoid SchedulerActiveViewChanged(object sender, SchedulerViewChangedEventArgs e)
11.{
12. if (NeedData != null)
13.  NeedData(scheduler.ActiveView.StartDate, scheduler.ActiveView.EndDate);
14.}

01.// create and configure a scheduler binding source
02.schedulerBindingDatasource = new SchedulerBindingDataSource();
03.// map the MyAppointment properties to the scheduler
04.appointmentMappingInfo = new AppointmentMappingInfo();
05.appointmentMappingInfo.Start = "Start";
06.appointmentMappingInfo.End = "End";
07.appointmentMappingInfo.Summary = "Subject";
08.appointmentMappingInfo.Description = "Description";
09.appointmentMappingInfo.Location = "Location";
10.appointmentMappingInfo.UniqueId = "Id";
11.appointmentMappingInfo.Exceptions = "Exceptions";
12.appointmentMappingInfo.ResourceId = "ResourceId";
13.appointmentMappingInfo.StatusId = "StatusId";
14.appointmentMappingInfo.BackgroundId = "BackgroundId";
15. 
16.schedulerBindingDatasource.EventProvider.Mapping = appointmentMappingInfo;
17.// assign the generic List of CustomAppointment as the EventProvider data source
18.schedulerBindingDatasource.EventProvider.DataSource = customAppointments;
19. 
20.if (customResources != null)
21.    LoadCustomResources();
22. 
23.scheduler.DataSource = schedulerBindingDatasource;

Dario
Top achievements
Rank 2
 answered on 18 Jul 2015
3 answers
446 views
'Could anybody plesae tell me , how can I add a new row to this table using VB code ?
  
'dgPeripherals.AllowAddNewRow = True
'dgPeripherals.Rows.Insert(0, dgPeripherals.Rows.NewRow())
'dgPeripherals.Refresh()
 
'But it does  display me a new row insert recrods to the grid.
'I have added above code inside the hander event of the Add button as follows ,
 
 
Imports Telerik.WinControls.UI
Imports Telerik.WinControls.UI.GridViewColumn
 
Private Sub FormTeleic_Load(sender As Object, e As EventArgs)
        Me.dgPeripherals = New Telerik.WinControls.UI.RadGridView()
        GeneratePeripheralsGridColumns()
End Sub
 
 Private Sub dgPeripherals_CommandCellClick(sender As Object, e As EventArgs)
         
            Dim gCommand As GridCommandCellElement = TryCast(sender, GridCommandCellElement)
            Dim result As DialogResult
            If gCommand.ColumnInfo.Name = "clmAdd" Then
                dgPeripherals.AllowAddNewRow = True
                dgPeripherals.Rows.Insert(0, dgPeripherals.Rows.NewRow())
                dgPeripherals.Refresh()
            End If
End Sub
 
 
 
Private Sub GeneratePeripheralsGridColumns()
 
        ' TEXT COLUMN
        Dim clmItemSN As New GridViewTextBoxColumn()
        clmItemSN.HeaderText = "Item S/N"
        clmItemSN.Width = 100
 
        Dim clmItemName As New GridViewTextBoxColumn()
        clmItemName.HeaderText = "Item Name"
        clmItemName.Width = 100
      
        Dim clmAdd As New GridViewCommandColumn()
        clmAdd.Name = "clmAdd"
        clmAdd.UseDefaultText = True
        clmAdd.DefaultText = "Add"
        clmAdd.HeaderText = "Add"
 
        dgPeripherals.Columns.Add(clmItemSN)
        dgPeripherals.Columns.Add(clmItemName)   
        dgPeripherals.Columns.Add(clmAdd)
  
End Sub
 
' What I want is to add a new row to the excisting grid when clicked on the Add Button on the previous row
'The default behaviour is , it adds  a new row to the grid when I press enter on the last text cell , but I want this to happend upon add button click event.
'Is this possible to achive with Teleric Grids ? Can somebody help me please ?
'I'm new to teleric grid , please bear with me if I missed anything,
'Thanks in advance.
Hristo
Telerik team
 answered on 17 Jul 2015
2 answers
239 views

I am using 

radPropertyGrid1.Items["Text"].Visible = variable;
to hide or show properties at run time.
The only negative side effect I'm seeing is that the Category doesn't disappear.
Is there a way to hide the category as well?

I've attached a picture of it visible, and of it hidden.
The category is Motion System Locations.

Chuck
Top achievements
Rank 1
 answered on 17 Jul 2015
7 answers
576 views
Hi,
I have problems with with Q2 2011 :
-  every node of a treeview in my application is selectable not only by clicking over the node text, but also if I click on the line containing the node, while my goal is that only when I click on the text  the node is selected; if I click outside the text of the node for example on the same line of the node, no nodes must be selected.

I Have an other problem with the RadToolStripSeparatorItem: I can' t set the width of the line or change the style of the item; my goal is to create a thinner line than the default one.
As attachement a screenshot of the desired effect and the actual effect
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jul 2015
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?