Telerik Forums
UI for WinForms Forum
1 answer
125 views

Hi

I'd like to customise the InsertHyperlinkDialog so that it only accepts links that start with http. Is there any way to do this?

Dimitar
Telerik team
 answered on 08 Sep 2017
3 answers
391 views

I have a complex object and one of the variables is an enum. When I assign the object to the PropertyGrid's selected item, it generates a DropDownListEditor for the enum row correctly. However, the display text is automatically the ToString of the enum, which is not ideal for users to see and read. I want to change the display text to be the Description tagged to the enum values but I can't figure out a way to change what the DropDownListEditor displays or to update the values databound to the dropdown to achieve what I want.

 

public enum ExposureMode
    {
        [Description("Full Auto")] FullAuto,
        [Description("Auto Filter, Fixed Exposure")] AutoFilFixedExp,
        [Description("Fixed Filter, Auto Exposure")] FixedFilAutoExp,
        [Description("Fixed Filter, Fixed Exposure")] FullFixed
    }

 

So I want the Descriptions to be displayed instead of the ToString (i.e. "Auto Filter, Fixed Exposure" instead of AutoFilFixedExp).

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Sep 2017
0 answers
73 views

HI,

   Is there any way to update summary item row's cell from external data. 

 

Regards 

Harsha D

harsha
Top achievements
Rank 1
 asked on 07 Sep 2017
9 answers
1.1K+ views

Hi all,

I am using GridViewRelation with Custom Cell:

Now when i loop rows i can not get cell element in gridview:

foreach(var row in gridview.rows)

{

     var cell = gvLaborGuide.TableElement.GetCellElement(row, column);

}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Sep 2017
0 answers
150 views

Hi. I'm using v.2014.4.1104.40 and VS C#.

I was success to prevent the print processing form(page N of N form) by changing from

RadPrintDocument.PrintController = PrintControllerWithStatusDialog to StandardrintController().

In same way, I tried to change RadPrintPreviewDialog but I couldn't find the solution.

How to prevent(or disable) the print processing form of RadPrintPreviewDialog?

 

 

Best Regard

Hajun
Top achievements
Rank 1
 asked on 07 Sep 2017
0 answers
125 views

Hi.

I have List<RadPrintDocument> and  each item is already filled with some contents(Text, image, and so on).

I want to insert or add these documents(or pages) to RadPrintPreviewDialog.Document of Iprintable class

for printing or saving the file.

Is it possible to insert or add them?

I searched and I coudn't find a solution of this problem.

(Need some examples)

 

 

Best regard

 

Hajun
Top achievements
Rank 1
 asked on 07 Sep 2017
1 answer
179 views

Hi Telerik,

I have been able to modify and add context menus to cells. However when the cell is being edited and I right click on it gives me a context menu that I can't seem to modify. Could you tell me how I can replace this context menu?

Cheers

 

Phil.

Dimitar
Telerik team
 answered on 06 Sep 2017
2 answers
159 views
What is the best way to react to a shape being drag-dropped onto the diagram from the toolbox? At the moment I'm subscribing to the ItemsChanged event but I'm sure there must be a better way? I'm also doing things with drag-drop (shapes within the diagram) but this doesn't seem to relate to the toolbox.
Dimitar
Telerik team
 answered on 04 Sep 2017
11 answers
249 views

Hi, 

how to create three items which have three different images. I read the previous answers, but I could not find the answer 

//////////////////////////

DiagramListViewDataItem item = new DiagramListViewDataItem();
item.Key = "MyShape";
item.Shape = new AShape();
item.Group = radDiagramToolbox1.Groups[0];
radDiagramToolbox1.Items.Add(item);

//////////////////////////

But the above code is about custom shape not custom image! 

Hristo
Telerik team
 answered on 01 Sep 2017
8 answers
1.0K+ views
Hi Support,
I have an IBindingList of objects with a boolean property that a checkbox column is bound to. Only one object in the collection can have bolSelected = true at any time which is controlled by the collection so that when bolSelected is set to true, all other items will automatically have bolSelected = false. What I am hoping to see in the grid is when the checkbox is clicked, bolSelected is set to true and other selected item in the grid has their checkboxes unchecked automatically (as the bolSelected = false for all other objects now).

Is there was a way to make the CheckBox click update the row immediately, without entering into edit mode (as can be seen by the changing of icon in the row header). I can't seem to get the CheckBox to fire the changed event, which means that the change to bolSelected isn't being propagating to the rest of the collection. What is then the best way to refresh the grid now that the collection has changed?

Thanks for your help,
Dave
Hristo
Telerik team
 answered on 31 Aug 2017
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?