Telerik Forums
UI for WinForms Forum
1 answer
120 views

hi

how can i add a conditional cellBorderto a cell. just like a conditional background color but only a border ?

 

            ConditionalFormattingObject c1 = new ConditionalFormattingObject("c1", ConditionTypes.Less, DateTime.Today.ToString(), "", false) {
                CellBackColor = Color.FromArgb(255, 209, 140)
            };
            dgv.Columns[ColumnTitle.GridTasklistMail.deadline].ConditionalFormattingObjectList.Add(c1);

 

thanks 

andré

Dimitar
Telerik team
 answered on 14 Jun 2018
4 answers
128 views

I have a radGridView and the grid appears to be set to be set to the controls width. I'm unable to figure out how to allow horizontal scrolling to occur when I want to expand a column. Please provide what to change?

 

Thanks, Craig...

Craig
Top achievements
Rank 1
 answered on 13 Jun 2018
7 answers
306 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
206 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
278 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
154 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
193 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
252 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
418 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
551 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
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
WaitingBar
GroupBox
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
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?