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;
}
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
Hello,
What should i do to format up and down button for DateTimePicker incase ShowUpDown = true.
My issue as in my attachment
Thanks
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?

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


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
I have a multiselect radlistControl. I want to make the scrollbar 50% transparent. How can i do that?
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
