Telerik Forums
UI for WinForms Forum
3 answers
151 views
Hi there,

If someone can shed some light, I have purchased the license for winforms library over the phone, but can't seem to find the development (non-evaluation) library. When login-in to telerik.com the 'Products' sections doesn't have any product registered. How do I obtain the control library that can be used in production.

Any idea?

Thanks in advance.

Michael
Michael
Top achievements
Rank 1
 answered on 15 Dec 2014
1 answer
211 views
I just downloaded the telerik for UI win forms, I been going through the blogs trying to figure our if there is any code snippet or something to point me to right direction on how to implement a swipe up/down of a grid view control. anybody can help on that?

Thanks
Stefan
Telerik team
 answered on 15 Dec 2014
1 answer
500 views
Hi

Can anyone please tell me how to add the Minimize , Maximize and close button on the panorama control or form just like the one on the demo.? I've been trying to achieve that for sometime now. I need help.

Thanks
Hristo
Telerik team
 answered on 15 Dec 2014
1 answer
107 views
When I am in month view, what event is triggered when I click the text being pointed to in the image below.

Thanks.
Hristo
Telerik team
 answered on 13 Dec 2014
1 answer
230 views
I have two radlistviews on a form. I want to hide the selection color in the first listview when an item is selected in the second listview and vice versa. I have added code to the VisualItemFormatting event to do this. However, selecting an item in the second listview doesn't trigger the VisualItemFormatting event of the first listview, so nothing happens. How do I trigger the VisualItemFormatting event of the first listview? Or is there some other way to do this?
Hristo
Telerik team
 answered on 12 Dec 2014
1 answer
141 views
Does anyone know if with the RTF Editor you have the ability to count the number of characters. What I need to be able to do is insert an external file and count the total characters typed into the editor minus the count of the inserted file. Also If portions of the inserted file are changed be able to add the changed characters to the total count.
Ivan Petrov
Telerik team
 answered on 12 Dec 2014
7 answers
501 views
Hi,

I'm using the winforms Telerik GridView in c#

I'm trying to populate a Parent Child Relationship ( Self Referencing Columns from same Table). I have created the Master and Child Templates. Code Below.

On executing this code, the master files are displayed with a '+' symbol. However they dont seem to be expandable. But when the bound columns are removed from the child template, the hierarchy works fine (Child data are displayed)

Also when for the child template, Columns are NOT customised and AUTOGENERATECOLUMNS is set to true, the hierarchy works fine and child data is displayed.

Can you please suggest how to achieve a hierarchy with customised bound columns in the Child template like in the case below ? I need this at the earliest as i'm running on a deadline

 

 

 

// Datasource for Parent Rows
  
DataTable dtDashboardView_MasterFiles = CDashboardManager.Get_DashboardView_MasterFiles();
  
// Datasource for Child Rows
  
DataTable dtDashboardView_SubFiles = CDashboardManager.Get_DashboardView_SubFiles();
  
// Parent Template Creation
  
radDashboard.AutoGenerateHierarchy = true ;
radDashboard.MasterGridViewTemplate.AutoExpandGroups = true;
radDashboard.MasterGridViewTemplate.AutoGenerateColumns = false;
radDashboard.EnableAlternatingRowColor = true;
((GridTableElement)radDashboard.GridElement).AlternatingRowColor = Color.LightGray;
radDashboard.MasterGridViewInfo.TableHeaderRow.AllowResize = true;
radDashboard.MasterGridViewTemplate.AllowAddNewRow = false;
radDashboard.MasterGridViewTemplate.AllowDeleteRow = false;
radDashboard.MasterGridViewTemplate.AllowEditRow = true;
PopulateMasterGridColumns();
radDashboard.MasterGridViewTemplate.DataSource = dtDashboardView_MasterFiles;
  
// Child Template Creation
  
GridViewTemplate template = new GridViewTemplate();
template.Caption = "SubFiles";
template.AutoGenerateColumns = false;
template.AllowColumnResize = true;
template.AllowRowResize = false;
template.AllowAddNewRow = false;
template.AllowDeleteRow = false;
template.AllowEditRow = true;
template.ShowColumnHeaders = true;
  
GridViewCheckBoxColumn dtCheckBox = new GridViewCheckBoxColumn();
dtCheckBox.UniqueName = "c_chkBxSelect";
dtCheckBox.HeaderText = "";
dtCheckBox.Width = 40;
template.Columns.Add(dtCheckBox);
  
GridViewTextBoxColumn cMasterID = new GridViewTextBoxColumn();
cMasterID.UniqueName = "c_MASTERID";
cMasterID.HeaderText = "Master ID";
cMasterID.FieldName = "MASTERID";
cMasterID.ReadOnly = true;
cMasterID.Width = 60;
template.Columns.Add(cMasterID);
  
GridViewTextBoxColumn cHealthStatus = new GridViewTextBoxColumn();
cHealthStatus.UniqueName = "c_HEALTHSTATUS";
cHealthStatus.HeaderText = "Health Status";
cHealthStatus.FieldName = "HEALTHSTATUS";
cHealthStatus.ReadOnly = true;
cHealthStatus.Width = 60;
template.Columns.Add(cHealthStatus);
  
  
radDashboard.MasterGridViewTemplate.ChildGridViewTemplates.Add(template);
  
// Establishing Relationship
                GridViewRelation relation = new GridViewRelation(radDashboard.MasterGridViewTemplate);
                relation.ChildTemplate = template;
                relation.RelationName = "MasterSub";
                relation.ParentColumnNames.Add("MASTERID");
                relation.ChildColumnNames.Add("c_MASTERID");
                radDashboard.Relations.Add(relation);
  
private void PopulateMasterGridColumns()
        {
            try
            {
                radDashboard.Columns.Clear();
  
                GridViewCheckBoxColumn dtCheckBox = new GridViewCheckBoxColumn();
                dtCheckBox.UniqueName = "chkBxSelect";
                dtCheckBox.HeaderText = "";
                radDashboard.MasterGridViewTemplate.Columns.Add(dtCheckBox);
                dtCheckBox.Width = 40;
  
                GridViewTextBoxColumn cMasterID = new GridViewTextBoxColumn();
                cMasterID.UniqueName = "MASTERID";
                cMasterID.HeaderText = "Master ID";
                cMasterID.FieldName = "MASTERID";
                cMasterID.ReadOnly = true;
                radDashboard.MasterGridViewTemplate.Columns.Add(cMasterID);
                cMasterID.Width = 60;
  
                GridViewTextBoxColumn cHealthStatus = new GridViewTextBoxColumn();
                cHealthStatus.UniqueName = "HEALTHSTATUS";
                cHealthStatus.HeaderText = "Health Status";
                cHealthStatus.FieldName = "HEALTHSTATUS";
                cHealthStatus.ReadOnly = true;
                radDashboard.MasterGridViewTemplate.Columns.Add(cHealthStatus);
                cHealthStatus.Width = 60;
  
                GridViewTextBoxColumn cBranch = new GridViewTextBoxColumn();
                cBranch.UniqueName = "BRANCH";
                cBranch.FieldName = "BRANCH";
                cBranch.ReadOnly = true;
                cBranch.HeaderText = "Branch";
                radDashboard.MasterGridViewTemplate.Columns.Add(cBranch);
                cBranch.Width = 70;
  
                GridViewTextBoxColumn cDepartment = new GridViewTextBoxColumn();
                cDepartment.UniqueName = "DEPARTMENT";
                cDepartment.FieldName = "DEPARTMENT";
                cDepartment.ReadOnly = true;
                cDepartment.HeaderText = "Dept";
                radDashboard.MasterGridViewTemplate.Columns.Add(cDepartment);
                cDepartment.Width = 40;
  
                GridViewTextBoxColumn cEditLink = new GridViewTextBoxColumn();
                cEditLink.UniqueName = "JOBFILENUMBER";
                cEditLink.FieldName = "JOBFILENUMBER";
                cEditLink.HeaderText = "Job File";
                radDashboard.MasterGridViewTemplate.Columns.Add(cEditLink);
                cEditLink.ReadOnly = true;
                cEditLink.Width = 70;
  
                GridViewTextBoxColumn cCustomerName = new GridViewTextBoxColumn();
                cCustomerName.FieldName = "CUSTOMER_NAME";
                cCustomerName.UniqueName = "CUSTOMERNAME";
                cCustomerName.HeaderText = "Customer Name";
                cCustomerName.ReadOnly = true;
                radDashboard.MasterGridViewTemplate.Columns.Add(cCustomerName);
                cCustomerName.Width = 180;               
            }
            catch (Exception pobjExc)
            {
                MessageBox.Show(pobjExc.Message.ToString());
                throw pobjExc;
            }
            finally { }
        }

Ivan Petrov
Telerik team
 answered on 12 Dec 2014
3 answers
178 views
Hi,

I use TSSP file that changes the appearance of the entire application.
There is a problem with the appearance when the user has different font scaling setting in Windows (120 DPI).
Due to the nature of the project I need to get the same appearance of the application, regardless of the DPI.
So using VisualStyleBuilder I changed the font size from the point value to the pixel value (Segoe UI; 8,25pt => Segoe UI; 11px).
In Annex, you can see the result.
Font has the same size. But the size of the control type CommandBarButton is strange. It looks as if I set the padding (but padding is 0 for all).
How to get rid of the padding?
For other types of controls do not see this behavior.
Dimitar
Telerik team
 answered on 12 Dec 2014
2 answers
149 views
Hi,

how can I set the left location of GanttViewGraphicalViewElement?

Thx
Frank
Top achievements
Rank 1
 answered on 11 Dec 2014
6 answers
294 views
I have a radSplitContainer where I would like to have a SplitterWidth of 3. Now, the background of everything in the project is black. The splitterarea is a greyshade, or silver. How do I change that to black?

Thanks,
Karl
Pierre
Top achievements
Rank 1
 answered on 11 Dec 2014
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?