Telerik Forums
UI for WinForms Forum
1 answer
355 views

I would like to add an Add, Edit and Delete buttons to the RadGridView, similar to what is seen in this ASP.NET Ajax control

http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/commanditem/defaultcs.aspx

Is this possible in WinForms without too much hassle? I am not a fan of the current appearance of just having RadButtons above.
Dimitar
Telerik team
 answered on 18 Nov 2016
18 answers
329 views
Hi,

Is there away to scroll to a particular time? I need to have a 24 hour day but scroll to a timeslot. Say 8 am and then if possible scroll to the next available time slot? Is this possible? I've seen some articles on the AJAX controls but hardly anything on winforms.

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Nov 2016
1 answer
46 views

A colleague show me an odd behavior of a grid in a tool that I programmed.

After inserting a new row, a column with check boxes was moved and overlay a column some a little bit further on the right side. At the original position was a gap then. He show me on the screen, but I have no screenshot to show, nor I can reproduce.

Do you any idea, how this could happen?

Hristo
Telerik team
 answered on 17 Nov 2016
12 answers
87 views

Trying to add a RadLinearGauge, gallery is empty.

Tried using upgrade wizard, tried rebooting machine and Visual Studio (several times).

Tried Clean and Rebuild all, tried removing and re-adding gauge, nothing works.

Bob Graham

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2016
1 answer
120 views

I'm having an issue with regards to having multiple node levels in the treeview.

First I load all the data into the treeview by binding a datatable as the the source.

When you drill down in a category you'll notice that the first two nodes are not flagged as Indeterminate, but when you click on the second node to open up its children the parent nodes get refreshed and get flagged as indeterminate.

'Loads tree nodes

      Public Sub LoadItemCategories()
        mItemCategoryDT = Datalayer.ItemCategoryRetrieveByRetail(ComboItemDataAsInt(cboRetail))

        InitTree()

        tvItemCat2.BeginUpdate()
        tvItemCat2.DisplayMember = "ItemCat"
        tvItemCat2.ParentMember = "PARENT_ITEM_CATEGORY_CD"
        tvItemCat2.ChildMember = "ITEM_CATEGORY_CD"
        tvItemCat2.DataSource = mItemCategoryDT
        tvItemCat2.EndUpdate()

        ' tvItemCat2.ExpandAll()
        AddHandler Me.tvItemCat2.NodeCheckedChanged, AddressOf tvItemCat2_NodeCheckedChanged
        AddHandler Me.tvItemCat2.NodeFormatting, AddressOf tvItemCat2_NodeFormatting

    End Sub 

 

    Private Sub tvItemCat2_NodeFormatting(sender As Object, e As TreeNodeFormattingEventArgs)
        Dim data As DataRowView = TryCast(e.Node.DataBoundItem, DataRowView)

        If data IsNot Nothing Then

            Dim value As Object = data.Row("Checked")
            If value Is DBNull.Value Then
                e.Node.CheckState = ToggleState.Indeterminate
            Else
                e.Node.Checked = CBool(value)
            End If
        End If


    End Sub

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2016
11 answers
405 views
Hi everyone,

I'm using TimeLine View, in combination with Resources, and for few days now, I've been trying to customize my scheduler appearance, namely - Text orientation and width properties of the left-most column (Resource Names). Default value for Text orientation is vertical (90° CCW from horizontal). Now, I'd like to set it to horizontal, with "witdh" property sufficient enough for complete text to be visible, but it seems that I am missing something here. Is this possible, and, if yes, how could I do it?

Many Thanks!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2016
1 answer
488 views

Hi

I'm loading a docx document to a RichTextEditor and I need the total number pages because the user need to move around the document with external buttons (page up, page down, fit, ...).

How can i get Total pages? What is the best way to move around pages and let current page fit at top of control?

Hristo
Telerik team
 answered on 16 Nov 2016
3 answers
291 views

Hello

I've a problem, see attached code.

If you open the second form and open the combobox and then click on the group (dropdown is not closed because of the dropdown closing event) and then close the form. The dropdown "hovers" without any form/control.

Kind Regards,

Christian

Dimitar
Telerik team
 answered on 16 Nov 2016
2 answers
250 views

Hello, i have the following code:

When the user press the down arrow, the grid goes to the first row instead of going to row 86.

How can I let the grid going to the row after the current when the user press the down arrow key?

Version of api is the latest (i didn't notice that in previous versions, I can't remember if previous version had same bahaviour, but I think not) OS is windows 10

Best regards

Andrea

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Telerik.WinControls.UI;
 
namespace WindowsFormsApplication2
{
    public partial class Form1 : Form
    {
        RadGridView rgv;
        public Form1()
        {
            rgv = new RadGridView();
            rgv.Dock = DockStyle.Fill;
            this.Controls.Add(rgv);
            this.Size = new Size(800, 600);
             
             
            this.Load += Form1_Load;
        }
 
        private void Form1_Load(object sender, EventArgs e)
        {
            List<data> data = new List<WindowsFormsApplication2.data>();
            for (int i = 0; i < 100; ++i)
            {
                data.Add(new WindowsFormsApplication2.data { A = "test" });
            }
            int n = 85;
            rgv.DataSource = data;
            rgv.Rows[n].IsSelected = true;
            rgv.Rows[n].IsCurrent = true;
            rgv.Rows[n].EnsureVisible();
            rgv.CurrentRow = rgv.Rows[n];
        }
    }
 
    class data
    {
        public string A { get; set; }
    }
}
Dimitar
Telerik team
 answered on 16 Nov 2016
2 answers
347 views

Hi,

Is there anyone who could tell me a way to insert a document window?

I am using radDock.DocumentManager.DocumentInsertOrder = DockWindowInsertOrder.ToBack;

If I added 3 DocWindows, it will be placed as Doc1 - Doc2 - Doc3

 

I wanted to place Doc3 between the other two if Doc1 is the ActiveWindow.

 

I am looking to insert an item in radDock.DockWindows but it has no Insert property.

RadDock.AddDocument always place it last or first depending on InsertOrder.

 

Am I missing a Property to allow such case?

 

Dimitar
Telerik team
 answered on 16 Nov 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
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?