Telerik Forums
UI for WinForms Forum
7 answers
440 views
Hi there,

I need to show the UAC shield in a RadButton. How can I achieve it?

We have an application which raise another process instance to a high privilege level under UAC and when the SO uses UAC (Windows Vista ou higher) I need to show the UAC shield in some buttons.

You can find the demo application here: http://support.microsoft.com/kb/981778?wa=wsignin1.0.

Please, tell me that it's doable otherwise I'll need to do the ugliest workaround of my life.

Thanks,
Tiago
Stefan
Telerik team
 answered on 02 Sep 2016
2 answers
965 views

Hello everyone,

I am trialing Telerik components and am very happy with them so far.  I am attempting to use a GridView component, that is connected to a dataset.  I have created a custom column (currently GridViewTextboxcolumn) and wanted to use an expression that would calculate the number seconds, minutes, hours, and possibly days between now and another column that is read from the dataset. 

 

I have done this with the Visual Studio datagridview but I am not actually configuring the GridView via code this time, and simply using bindsource and tableadapter. 

 

Does anyone have any pointers on how to accomplish this task, so it would be similar to:

 

COL1     COL2     COL3

UNIT A    2016-08-26 17:00:00      00:18:00

UNIT B    2016-08-25 08:00:00      1:08:19:03

00:18:00 would equal 18 minutes

1:08:19:03 would equal 1 day, 8 hours, 19 minutes, and 3 seconds.

The status timer (custom column) would have to update every second.

THANK YOU!

Chris

 

Chris
Top achievements
Rank 1
 answered on 02 Sep 2016
1 answer
489 views

Dear Telerik Team,

As I saw on your website in the below link, the Calendar control for UI for Winforms does support Arabic calenders including Shamsi, Hijri:

http://www.telerik.com/products/winforms/calendar.aspx

However when I try to set the calender to Shamsi calendar, the calendar is still Gregorian it only translates the day and month names, but based on what I saw on your website there was an actual Shamsi calendar.

this.radCalendar1.Culture = new System.Globalization.CultureInfo("fa-IR");

I am using Telerik UI for WinForms Q2 2015

Below is the screenshot.

Dimitar
Telerik team
 answered on 01 Sep 2016
2 answers
88 views

Hi forum,

I would user gridview for lines of document.

The line has several field: Line No., Item No., Description, Unit Price and so on.

The user should edit Item No. field, after validate Item No.,

it should search Item from database and it values to description and Unit Price fields in this line.

What is the better way to accomplish this?

What event should I check to get Item No. Code and values other cells of current row?

Dario Concilio
Top achievements
Rank 2
 answered on 01 Sep 2016
2 answers
102 views

When right clicking on an element from the 'Controls Structure' tree, what are these two options and how do you use them?  I have not been able to find any documentation on these at all.

 

Reuse item style on other controls

and

Define custom style for item on this control

 

Tyler
Top achievements
Rank 1
 answered on 30 Aug 2016
1 answer
103 views

Hi,

I have a problem on  a Customer PC that i can't reproduce at all on my machines. He also mentioned, that the problem also occurs on his colleagues PCs. As you can see in the screenshot, the edges of a RadForm seem to be cut off.

Maybe you can provide me with any possible Solutions why this is happening.

The Client PC runs Windows 7 64bit, a Intel Core i5-2400 and onboard Intel graphics.

The application itself is a C# Winforms Application with .Net Framework 3.5.

The Telerik version in use is 2016.2.608.20.

Any help is greatly appreciated.

Thanks in advance.

Hristo
Telerik team
 answered on 30 Aug 2016
1 answer
85 views

Hi,

I have 2 series of data as shown in the picture. The green bar is the target time to complete a task and the blue bar is actual time taken. I need to make the blue bars turn red if they are higher than the green bars? Can this be done?

Thanks

 

Dimitar
Telerik team
 answered on 30 Aug 2016
2 answers
1.0K+ views

Hi to all,

I would set columns to keep multi line in ColumnHeader content, with vertical and horizontal alignment.

I attached with example.

How can I do this?

Dario Concilio
Top achievements
Rank 2
 answered on 30 Aug 2016
3 answers
481 views

When trying to set the image for the GridRowHeaderCellElement, nothing appears.  I have an old theme where this image shows up just fine.

 

I have attached a comparison.  My old theme (right) and my new theme (left).  My old theme was built from scratch a while back.  My new theme was based on the "Visual Studio 2012 Light" theme.  We gutted the RadGridView to start fresh.

 

We are trying to set the image to be used as the "selected row indicator" when the row "IsCurrent".

 

I have tried to embed several images into this element without any success.

 

Am I doing something wrong or not complete with the theme? 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Aug 2016
12 answers
504 views

I am unable to figure out how to add to the ContextMenu of a RadMultiColmnComboBox or a RadDropDownList. If I instantiate their ContextMenu property, it is only displayed when clicking the very edge of the control, which tells me there is a child or editor control laying ontop. But when I try to modify the EditorControl's ContextMenu through the ContextMenuOpening event, the event never fires.

radMultiColumnComboBox.EditorControl.ContextMenuOpening += (sender, args) =>
{
    Console.WriteLine("ContextMenuOpening event");
};
 This never fires.

Paul
Top achievements
Rank 1
 answered on 26 Aug 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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?