Telerik Forums
UI for WinForms Forum
7 answers
278 views

After updating from 2017.2.502.40 to 2017.2.0613.40, the font size for all controls is larger.  Moving back to 2017.2.502.40 fixes the problem.  I see that there was a post on this forum this morning describing the same issue, but it was taken down.  Cached version here.  Is this a known issue, and is there a fix for it or should we stick to 2017.2.502.40?

 

 

 

Dimitar
Telerik team
 answered on 13 Jun 2018
2 answers
173 views

Hi everyone,

I created my own class:

  public partial class RadButton
  {
    public CustomButton()
    {
      InitializeComponent();
    }
  }

after this I woud like to us it in RadForm1:
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
  {
    public c()
    {
      InitializeComponent();
      CustomButton button = new CustomButton();
      button.Text = "&customButton";
      button.Click += Button_Click;
      Controls.Add(button);
    }

    private void Button_Click(object sender, EventArgs e)
    {
      RadMessageBox.Show("Test");
    }

    private void button1_Click(object sender, EventArgs e)
    {
      RadMessageBox.Show("It is works");
    }
  }

 

why when I'm using my custom class I cannot use shortcuts:
"c" but only alt + "c" and it works. When I'm using standard buttons it works.

How can I fix it?

Best regards,

Pawel

 

Pawel
Top achievements
Rank 1
Iron
 answered on 13 Jun 2018
4 answers
223 views

Hello, i have a treeview who changes his content dynamically via the NodeFormatting event. 

Is there a way to programmatically call this event so I can refresh the content without the need to hover with the mouse above it?

 I've tried the Refresh() method but nothing happens. 

 

Thanks in advance! 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Jun 2018
2 answers
129 views

why doesn't the same order appear when i hide with

                DashboardTab_taskAll.DockState = DockState.Hidden;
                DashboardTab_archived.DockState = DockState.Hidden;

and display with

                DashboardTab_taskAll.DockState = DockState.TabbedDocument;
                DashboardTab_archived.DockState = DockState.TabbedDocument;

?

thank !

andré

Andre
Top achievements
Rank 1
 answered on 13 Jun 2018
4 answers
170 views

Hi!

I have following problem which also shows in Telerik Example for Virtual Grid ("First look").

Steps to reproduce.

1) I have a greed which has both vertical and horizontal scroll bars.

2) Scroll to the very bottom of the grid

3) Select the last row

4) Scroll all the way to the right

At this moment the selected row disappears from the view, and 4th from the bottom row is moved to the bottom of the grid.

 

We are currently using Win_2017_3_912 version. 

 

Please help!

 

 

 

Boris
Top achievements
Rank 1
 answered on 12 Jun 2018
1 answer
227 views

I have a RadGridView control on my form.  I've set Virtual = True (as shown in a number of samples and the online documentation) but this line of code eludes me:

RadGridView1.VirtualMode = True  (works)

RadGridView1.ColumnCount = _dataSource.Columns (works)

RadGridView1.RowCount = _dataSource.Rows  (does NOT work.  There is no "RowCount" property!!!)

 

Am I using the wrong control here?  Was RowCount renamed?  Any advice would be helpful, thank you!

-Curtis

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jun 2018
1 answer
386 views

I realize this topic has been covered several times - So I hope I'm not spamming the wrong location.

 

In another thread of a similar topic, the question was "How do I populate my unbound cells when using a bound grid where my unbound cell is based on data found in one or more bound cells?"  The answer was simple and expected:  Loop thru all of your rows and set the cells.

 

Is there a way to do this with a little more elegance?  A way to populate these unbound cells WHILE the binding is occurring?

The reason I ask is also simple:  I have millions of rows.  Having to loop thru a 2nd time to populate a single, unbound column takes a considerable amount of time and since getting the binding to complete already takes a fairly long period, I was hoping to not have to do the whole loop thing...might as well update the unbound column as the rows are being created right?

 

Anyway if this is possible, I'd appreciate being pointing in the correct direction!

-C

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jun 2018
5 answers
462 views

Hello,

I am experimenting with programmatically creating RadDocuments, and am creating a table in the document where I am adding cells that contain a barcode and also some text. However, sometimes the text is broken off from its barcode and placed on another page, which I do not want. Since I am new at this RadDocument thing, I would like to know what I need to do to get the cell contents to stay together. See attached image.

Thanks,

Matt

Matt
Top achievements
Rank 1
 answered on 11 Jun 2018
2 answers
217 views

Hi Admins

I'm using Last version of the amazing controls Telerik :-)

Have a problem with MaskedEditBox Control.

use this control in Date format. and set the using property to this:

1.txtdatein.MaskType = MaskType.DateTime;
2.txtdatein.Mask = "yyyy/MM/dd";
3.txtdatein.Culture = new CultureInfo("fa-ir");

 

it's ok and work correct. but only in my system that i'm working with VS2017. (Windows 10 pro)

and when test the project another system,(windows 7 & windows 10) the control culture changed to en-us.

meanwhile, in application startup, use the below code for change the thread culture:

1.CultureInfo c = new CultureInfo("fa-Ir");
2. //var info = c.DateTimeFormat;
3.Thread.CurrentThread.CurrentCulture = c;
4.Thread.CurrentThread.CurrentUICulture = c;
5.CultureInfo.DefaultThreadCurrentCulture = c; // Test with and without this line

 

Please Tell me how to fix this problem.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Jun 2018
3 answers
164 views
When we add a new row using the "grid1.UserAddedRow" event,  we update
the value one of the columns "Weighting" for each row with the even
spread of how many rows there are over 100 percent.
So if there are 3
rows initially, the "Weighting" field for each of the rows will be
"33.33%". As soon as we add a new row, which makes the total number of
rows 4,
we update the value of the "Weighting" field for each of the rows to "25.00%".

The issue occurs when we add our first row, instead of setting the "Weighting" to "100.00%", it sets it to "50.00%".
Logically this means that there must be another row that exists in the grid whilst the user added row event is firing.
When
the "grid1.UserAddingRow" event fires, there is one row but when the
"grid1.UserAddedRow" fires straight afterwards, the row count changes to
2.
Does the grid have another event that is adding a new row
whenever you add your first record to the grid? How can we prevent this
from happening?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Jun 2018
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?