Telerik Forums
UI for WinForms Forum
1 answer
111 views
I have Main categories Sales and Return, in this categories I have sub-categories like snacks, tobacco products, vaporizer etc., into each of these sub-categories I have items. I want 3 level drilldown by binding chartview from backend. Please let me know which type of chartview will be suitable for this example and also can you please provide me a small working example covering this scenario.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2016
0 answers
107 views

Dear friends,
I am trying to add run time page in pageview things working well but when I am trying to add windows forum as control it will not show, if I convert it to user control it show in pageview any specific reason behind it?

 CustomerMain customerMain = new CustomerMain(); // this one is windows forum if I change it to user control it work fine 
            customerMain.SelectedCustomerId = CustomerID;
            customerMain.Dock = DockStyle.Fill;
            customerMain.TopLevel = false;
            ((Forms.Test.TestCustomerForum)this.ParentForm).ShowParentTab(customerMain, "[" + customer._Owner + "]", CustomerID);

 

 

 

 public void ShowParentTab(Control form, string title,int customerID)
        {
            RadPageViewPage pageOne = new RadPageViewPage();
            pageOne.Text = title;
            string pageName =  customerID.ToString()+ title.Replace(" ","").Trim();
            pageOne.Name = pageName;
            pageOne.Controls.Add(form);
            radPageViewParent .Pages.Add(pageOne);
            radPageViewParent.SelectedPage = pageOne;
           
           
        }

Shakti SIngh Dulawat
Top achievements
Rank 1
 asked on 29 Jul 2016
4 answers
149 views
Hi,

I have form which TopMost property is true. Now I have added one RADGrid View and assign data into it.

The custom filter dialog is not displayed because my form is TopMost = true.
I think that filter dialog is hidded because my form is always on top !

Regards,
Divyesh Chapaneri
Ronald Bouras
Top achievements
Rank 1
 answered on 29 Jul 2016
2 answers
137 views

Hi,

I am using code based on the project found here: http://www.telerik.com/forums/charts-inside-gridview-cells-problems-during-the-scrolling. It works for the most part, but SetContentCore gets called repeatedly and for whatever reasons. I'd like to manually add rows to the grid and disable the autogeneration of new rows on scrolling. For some reason this behaviour causes bugs on my end like duplicating rows multiple times, although the bindinglist passed to it as datasource doesn't contain duplicates. Note the sample project provided in the reference works just fine, so I couldn't reproduce the error.

BR
Christian
Top achievements
Rank 1
 answered on 28 Jul 2016
7 answers
144 views

Hi,

I am trying to load documents to a radDocument[] array. When executing below code i  get "exception has been thrown by the target of an invocation c#" error.  Kindly Help.

Here is my code:

RadDocument[] Rd_Ary = new RadDocument[2];
            
Rd_Ary[0]=ImportHtml(Convert.ToString("<P>String1</P>"));
Rd_Ary[1] = ImportHtml(Convert.ToString("<P>String2</P>"));

Alternative code:

 Rd_Ary.SetValue(ImportHtml(Convert.ToString("<P>String1</P>")), 0);
 Rd_Ary.SetValue(ImportHtml(Convert.ToString("<P>String2</P>")), 1);

Dimitar
Telerik team
 answered on 27 Jul 2016
5 answers
152 views

Hello,

How can I remember and restore IsExpanded state in bound self-referencing hierarchy grid when source collection (BindingList<T>) is updated? 

Basically I see 2 solutions, remember the rows state before update and restore it after, or make IsExpanded property in bound object and update it accordingly.

The problem with first approach is that I don't know, which events I should handle to remember and restore IsExpanded state for all updates.

For the second approach I was able to handle RowFormatting event and set initial expanded state for the row. But then I was not able to find a correct event to update IsExpanded value in corresponding object when row is expanded or collapsed by user.

Could someone help?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jul 2016
1 answer
311 views

Hi,

When running on high DPI screens, with scaling set to e.g. 200%, the checkbox portion of RadCheckBox does not scale. It stays at the 16x16 px checkbox. The text and the width and height scales perfectly, but theactual checkbox stays at the 100% / 96dpi size on all DPI settings and all scale values.

All other parts of the Telerik WinForms controls scale as expected, so it's only the checkbox that doesn't behave as expected.

 Is this a bug, or is there some way to tell the checkbox section to increase size?

Here is the code I use to tell theform that it must scale (which works perfectly on all other controls):

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoSize = true;

// m_DpiScale is the sxaling size of the users screen, 1.0 for 100%, 1.5 for 150% and so on.
this.Scale(new SizeF(m_DpiScale, m_DpiScale));

I'm using Telerik version 2016.2.608.40.

Best regards

Thomas

 

Dimitar
Telerik team
 answered on 27 Jul 2016
2 answers
180 views

Hello,

Is it possible to display a single RadGridView on more than one RagePageViewPage of a RadPageView in the same form?  We have a need for this and do not want to have multiple RadGridView instances to do it because of the overhead.  It seems like you should be able to display the same control in multiple places of a form but so far I haven't had much luck. 

Thank you for any help with this,

Mike

MikeB
Top achievements
Rank 1
 answered on 26 Jul 2016
5 answers
818 views

I am using the radCheckedDropDownList control with MultiLine set to True and AutoCompleteMode set to Suggest.  When a user types text into the edit portion of the control and autocomplete fails to find a match the text remains in the edit portion upon leaving the control.  If the user selects an item in the list the unmatched text string is removed when the drop down list is closed.  Is there a way to either restrict the user entered text to the content of the checked drop down list or cause the edit portion of the control to refresh (remove the partial text) when a match is not found and the user leaves the control?

Thanks.

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

I'm using the radDateTimePicker on a WinForms client (Q2 2016 release) with the ShowCheckBox property set to true and the Checked property set to false. The issue I'm having is that in that state, there seems to be no way to get the control to be a tab stop. I'm surmising that this is because it's trying to move focus not to the checkbox, but to the date, which is disabled because the checkbox is unchecked.

The MS VS date time picker control behaves as I'd expect (i.e. tabbing in stops at the checkbox so the user could, for example, tap on the space bar to check it and enable the date).

I've tried mucking about in the various UI Elements objects and their properties, primarily the RadCheckBoxElement and the RadCheckmark below that to no avail.

So, my question is simple - with the checkbox unchecked, how do I get the control to tabstop?

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