Telerik Forums
UI for WinForms Forum
5 answers
210 views

The demo examples that are provided all use Integer in their tables, but the code uses a Guid.

I know that I must use the "ConvertUniqueIdToDataSource" method, but I'm missing the actual conversion part.  After researching online, everyone says converting from a Guid to an Integer is not possible.  So I'm not sure where to go from here.  All of my SQL tables use an auto-incrementing integer.

I'm missing this code:

 object ConvertUniqueIdToDataSource(object obj)
        {
            EventId eventId = obj as EventId;
            //if the appointment is added from the scheduler the eventId.KeyValue is Guid
            if (eventId.KeyValue is Guid)
            {
                //return the value that is in your object/dataset
                // --- WHAT DO I PUT RIGHT HERE?  HOW DO I RETURN AN INTEGER?

            }
            //if the appointment is loaded from an object/dataset the eventId.KeyValue is its representation in the object/datase
            return eventId.KeyValue;
        }

Daniel
Top achievements
Rank 1
 answered on 26 Apr 2017
4 answers
445 views

Hello,

I'm using RadDateTimePicker and I tried to change it's border color but there was no effect.

Please help me to solve this propblem.

Thanks

 

 

Paul
Top achievements
Rank 1
 answered on 26 Apr 2017
2 answers
175 views

Hello,

What should i do to format up and down button for DateTimePicker incase ShowUpDown = true.

My issue as in my attachment

Thanks

Paul
Top achievements
Rank 1
 answered on 26 Apr 2017
8 answers
617 views

Hi.

I have a RadGridView which has a GridViewComboBoxColumn. ComboBoxColumn.DataSource  is an array of Products. Product is an object that has a few properties like Id, Name, and so on. How i can get ComboBoxColumn selected item?

I have tried figure it out by this way
radGridView1.Rows[index].Cells["ComboBoxColumn Name"].Value but it returns only string, not Product object

Can you help me figure it out?

Dimitar
Telerik team
 answered on 25 Apr 2017
1 answer
244 views

We have been using the PDF viewer and support built into WinForms for some time for viewing PDF files from our vendors.  Just in the last month or two we have been getting documents that are not viewable in the Winforms application but are viewable with Adobe Acrobat.

We are getting the error message: "Error loading document: The encryption method with code 4 is not supported".  

I did a google and see a Telerik enhancement request to resolve this. (with 8 "likes")

Telerik folks -- any idea when/if this might be supported?  Not being able to view some documents is obviously a problem.

Anyone -- If you get documents that aren't viewable is there any process that you have found that would make them work?  (some sort of PDF to PDF conversion?)

Thanks!

 

Brad Harrison

Better Baked Foods

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2017
2 answers
227 views
Hello, I have problem with mouseover highlighting. It works fine in new version but only when treeView is focused. When it lost focus, mouseover highlighting is disabled. I use it as sidebar menu so I need to work also if it is not focused. Is it solution to this?
Baki
Top achievements
Rank 1
 answered on 25 Apr 2017
13 answers
1.0K+ views
I'm pretty frustrated, having lost nearly a day this week because I attempted to use the MultiColumnComboBox control from your toolbox. I'm concerned that there is an increasing quantity of not-ready-to-ship code in the WinForms controls, and I'd like to hear from you on this.

My biggest issue with the combobox was that I could not, after extensive effort, get it to display the embedded grid fully inside the bounding box of the dropdown. On top of this:
1) Properties that don't serialize.
2) Properties that can only be set in code, not the designer.
3) Properties which exist several times in the property tree, none of which have any apparent effect on the control.
4) A Property Builder in the smart tag which crashed Visual Studio half the times I attempted to use it.
5) Deeply buried, commonly used properties (Why is Columns buried so deep in the tree? Because you have a property builder? Whoops. Crashed again).
6) Almost no documentation on the correct use of the control.
7) ((Telerik.WinControls.UI.GridTableElement)radGrid1.RootElement.Children[0]).Padding = new Padding(0);  (!!!!)

I have a sample project sitting here, but I guess there's no way to attach it on the forum. It wouldn't show you anything more than what you see the moment you drop the control on a form anyway. Why is the scroll bar for the grid truncated by the bounding box of the dropdown? It looks amateur.

I have solved my issue. I reverted to using a winforms combobox, and concatenating my fields with commas. It looks better than the radcontrol did.

I'm deeply frustrated, but the only reason I'm writing this, and putting it on the public forum, is that I have had a real respect for the _quality_ of Telerik's products and support, and I'd like to see things get better. Is there an explanation? What can I do to help?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2017
7 answers
94 views

Hello all

 

how to prevent double open form in tabbed document 

or how to cek if the form is opened, if opened so it will activated

 

thanks all 

Hengky
Top achievements
Rank 1
Veteran
 answered on 25 Apr 2017
2 answers
107 views

I have a multiselect radlistControl. I want to make the scrollbar 50% transparent. How can i do that?

Rohanjoy
Top achievements
Rank 1
 answered on 24 Apr 2017
6 answers
381 views

hello 

I would like to express a Text in cell value.
but An error occurs.

so,
I would like to know whether there are any add-ons after this post

- Similar post in 2012' (last update 2014' , ASP)
http://www.telerik.com/forums/will-pivot-grid-show-the-string-values

and,
Please let me know if i don't know the case using pivotgrid.

 

Programming Language : C#
OS : Windows7 x86
.NET4
Telerik : R2 2016 SP1

Hristo
Telerik team
 answered on 24 Apr 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
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?