Telerik Forums
UI for WinForms Forum
2 answers
144 views
Hello,
I want to disable or change ChildGridView Tabs. Another words I want to create a Standart Hierarchy RadGridView, not Tabbed.
Could you please show me the way.
Thank you.
Bertan 
Bertan ULUSOY
Top achievements
Rank 1
 answered on 05 Mar 2010
3 answers
123 views
Unbound RadGridView with Datatable passed as data source

Columns programatically set (Best fit, Custom headers etc), grid height Auto sizes depending on number of rows passed in Datatable (built-in functionality - not set programatically).

Grid populates and operates exactly as expected, however after "grouping" by a particular column, the "data rows" element of the grid is not redrawn leading to a scroll-bar.

I'm pulling my hair out trying to resize the data area in the "GroupByChanging" event to show all rows (with Group headers) without the need for a scroll bar - your help would be greatly appreciated !!!

Apologies for what is probably a straight forward solution and my thanks in advance,

Tim.
Tim Cousins
Top achievements
Rank 1
 answered on 04 Mar 2010
2 answers
146 views
Hi,
i want to remove a batch of rows with a single confirmation dialog. Currently im using the RowsChaning event, but this fires for every deleted row, so the confirmation dialog pops up every time.

Is it possible to do a batch remove with a single dialog?

Winforms Q3 2009
Grid settings: MultipleSelect=true
Event used currently: RowsChaning
Datasource = bindinglist(of ...)

Here is my code:
----------------------

 
Private  
 
   
 
Sub gvMails_RowsChanging(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCollectionChangingEventArgs) Handles gvMails.RowsChanging   
   
 
 
 
 
   
If  
 
   
 
e.Action = Telerik.WinControls.Data.NotifyCollectionChangedAction.Remove Then   
   
 
 
 
   
 
If gvMails.SelectedRows.Count = 1 Then   
   
 
 
 
e.Cancel =   
 
Not DeleteMessageBox(gvMails.SelectedRows(0).DataBoundItem)   
   
 
   
 
 
 
Else   
   
 
 
 
e.Cancel =   
 
Not DeleteMessageBox()   
   
 
   
 
 
 
End If   
   
 
 
 
   
 
End If   
   
 
   
 
   
 
 
 
   
 
   
 
End Sub  
 
   
   
 
Private  
 
   
 
Function DeleteMessageBox() As Boolean   
   
 
 
 
   
 
If MsgBox("Delete all?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then  
   
   
 
    For  
 
   
 
Each itm In gvMails.SelectedRows   
   
 
   
 
 
 
        ' delete single msg  
    Next  
    return True  
 
   
 
 
 
End If   
   
 
 
 
   
 
Return False   
   
 
   
End  
 
   
 
Function   
   
 
 
 
   
 
   
 
 
 
   
   
 
Private  
 
   
 
 
 
Function DeleteMessageBox(ByVal msg As Message) As Boolean   
   
 
 
 
   
 
If MsgBox("Delete single """ & msg.Subject & """?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then   
   
 
 
 
 ' delete single msg  
    return True  
 
End If   
   
 
 
 
   
 
Return False   
   
 
 
 
   
 
End Function   
 
 
 

 

 

 

 

 

 

 

 




Greetings Falk
Falk Wegener
Top achievements
Rank 1
 answered on 04 Mar 2010
3 answers
129 views
Hello

i am having problems with radgridview because very often data is lost... i mean the columns gets lost :

1) here is an example, where i want to put formatting and the column is lost :
http://www.burningbox.com/divers/error_radgridview.html

2) sometimes i just drop an new radgridview in a form and when i add columns with the propertybuilder, when i click on add column (for no reason, ... when i have put a few columns already) the propertybuilder crash with no message... and i have to do all over again...

i hope you can tell me why this is happening... for now, i am not that confident in the robustness of your products. I hope you ll change my mind.

Steve
Nick
Telerik team
 answered on 04 Mar 2010
1 answer
104 views
Hi,

I have previously created a theme component as outlined in this thread
http://www.telerik.com/support/kb/winforms/themes/creating-a-theme-component.aspx

I am now trying to extend the theme component to work with the theme repository file that is generated by the Q1 2010 version of Visual Style Builder but it does not appear to be working.

Should it simply be a case of including the theme repository xml file as another embedded resource, along with the other theme files, or is there something else I need to do to get it working?
Victor
Telerik team
 answered on 04 Mar 2010
6 answers
421 views
I know that this has probably been answered a million times but I can't find it.

I have a radGrid that I have, say 10 rows in.  I need to insert a row directly below the currently selected row.  With a Windows control I simply say...
GridView row = grdClipTask.SelectedRow;
Clip grdRow = new Clip(); 
int currentlySelectedRow = row.RowIndex;
(snip)

List<Clip> gridItems = new List<Clip>();
gridItems.Insert(currentlySelectedRow, grdRow); 

I have racked my brain to figure this out, as well as my whole teams brains and we are stumped.
Nick
Telerik team
 answered on 04 Mar 2010
1 answer
133 views

Hi,

I have some code that generates a tree of nodes and then adds them to a supplied RadTreeView, however it seems that the built Tree of RadTreeNode isnt able to be added to more than one RadTreeView.

I wanted to display it in multiple TreeViews without having to create a new Tree of RadTreeNode for each one as it can be taxing on my SQL server and client Processing.

Thanks,

Xavier.


(The TreeView registering / unregistering methods are at the bottom.)
Apologies for the messy code file... its been a rush job and I havent cleaned up yet ^^

using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Text;  
 
namespace Platform.Apps.Sigma  
{  
    public class SigmaObjectTree  
    {  
        public static Telerik.WinControls.UI.RadTreeNode BlankNode = new Telerik.WinControls.UI.RadTreeNode();  
 
        private List<Telerik.WinControls.UI.RadTreeView> TargetTreeViews = new List<Telerik.WinControls.UI.RadTreeView>();  
        private String UserNameFQN = String.Empty;  
 
        public Telerik.WinControls.UI.RadTreeNode Platform_Apps_Sigma_Node = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Infinity Î£ (Platform.Apps.Sigma)",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.puzzle, 16, 16),  
            Tag = "" 
        };  
        public Telerik.WinControls.UI.RadTreeNode MySigmaNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "My Infinity",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.star_full48, 16, 16),  
            Tag = "",  
            Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)))  
        };  
        public Telerik.WinControls.UI.RadTreeNode EveryonesSigmaNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Everyone's Infinity",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.home, 16, 16),  
            Tag = "",  
            Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)))  
        };  
        public Telerik.WinControls.UI.RadTreeNode SystemSigmaNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Infinity Î£ Settings",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.process, 16, 16),  
            Tag = "",  
            Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)))  
        };  
 
 
        public Telerik.WinControls.UI.RadTreeNode MySigma_UniqueProductsNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "My Unique Products",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.tools, 16, 16),  
            Tag = "",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
        public Telerik.WinControls.UI.RadTreeNode MySigma_QuotationsNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "My Quotations",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.dollar_currency_sign, 16, 16),  
            Tag = "",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
        public Telerik.WinControls.UI.RadTreeNode MySigma_OrdersNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "My Orders",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.shopping_cart, 16, 16),  
            Tag = "",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
 
        public Telerik.WinControls.UI.RadTreeNode EveryonesSigma_UniqueProductsNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Everyone's Unique Products",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.tools, 16, 16),  
            Tag = "",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
        public Telerik.WinControls.UI.RadTreeNode EveryonesSigma_QuotationsNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Everyone's Quotations",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.dollar_currency_sign, 16, 16),  
            Tag = "",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
        public Telerik.WinControls.UI.RadTreeNode EveryonesSigma_OrdersNode = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Everyone's Orders",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.shopping_cart, 16, 16),  
            Tag = "",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
 
 
        public Telerik.WinControls.UI.RadTreeNode SystemSigma_Support = new Telerik.WinControls.UI.RadTreeNode()  
        {  
            Text = "Submit Feedback / Support Request",  
            Image = Platform.Resources.ResizeBitmap(Platform.Resources.red_flag, 16, 16),  
            Tag = "SIGMA_SETTINGS_SUPPORT",  
            ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))  
        };  
 
 
        public Telerik.WinControls.UI.RadContextMenu Platform_Apps_Sigma_NodeContextMenu = new Telerik.WinControls.UI.RadContextMenu();  
        public Telerik.WinControls.UI.RadMenuItem rmi_SigmaObjectTree_RefreshObjects = new Telerik.WinControls.UI.RadMenuItem()  
        {  
            Text = "Refresh Sigma Objects",  
            Tag = "SIGMA_SETTINGS_REFRESH_TREE",  
        };
        #region Unique Product Controls  
 
 
 
 
        public Telerik.WinControls.UI.RadContextMenu UniqueProductContextMenu = new Telerik.WinControls.UI.RadContextMenu();  
        public Telerik.WinControls.UI.RadMenuItem rmi_SigmaObjectTree_MaintainUniqueProduct = new Telerik.WinControls.UI.RadMenuItem()  
        {  
            Text = "Maintain Unique Product",  
            Tag = "",  
        };  
        public Telerik.WinControls.UI.RadMenuItem rmi_SigmaObjectTree_DeleteUniqueProduct = new Telerik.WinControls.UI.RadMenuItem()  
        {  
            Text = "Delete Unique Product",  
            Tag = "",  
        };  
        public Telerik.WinControls.UI.RadMenuItem rmi_SigmaObjectTree_FindLinkedQuotesForUniqueProduct = new Telerik.WinControls.UI.RadMenuItem()  
        {  
            Text = "Find linked quotes for this Unique Product",  
            Tag = "",  
        };
        #endregion  
        #region Quotation Controls  
        public Telerik.WinControls.UI.RadContextMenu QuotationContextMenu = new Telerik.WinControls.UI.RadContextMenu();  
        public Telerik.WinControls.UI.RadMenuItem rmi_SigmaObjectTree_MaintainQuotation = new Telerik.WinControls.UI.RadMenuItem()  
        {  
            Text = "Maintain Quotation",  
            Tag = "",  
        };  
        public Telerik.WinControls.UI.RadMenuItem rmi_SigmaObjectTree_DeleteQuotation = new Telerik.WinControls.UI.RadMenuItem()  
        {  
            Text = "Delete Quotation",  
            Tag = "",  
        };
        #endregion  
 
        #region Initializer Methods  
        public SigmaObjectTree(String _UserNameFQN)  
        {  
            UserNameFQN = _UserNameFQN;  
            InitializeComponent();  
        }  
        public void InitializeComponent()  
        {
            #region Event Handlers  
 
            rmi_SigmaObjectTree_RefreshObjects.Click += new EventHandler(rmi_SigmaObjectTree_RefreshObjects_Click);  
 
            rmi_SigmaObjectTree_DeleteUniqueProduct.Click += new EventHandler(rmi_SigmaObjectTree_DeleteUniqueProduct_Click);  
            rmi_SigmaObjectTree_FindLinkedQuotesForUniqueProduct.Click += new EventHandler(rmi_SigmaObjectTree_FindLinkedQuotesForUniqueProduct_Click);  
            rmi_SigmaObjectTree_MaintainUniqueProduct.Click += new EventHandler(rmi_SigmaObjectTree_MaintainUniqueProduct_Click);  
 
            rmi_SigmaObjectTree_MaintainQuotation.Click += new EventHandler(rmi_SigmaObjectTree_MaintainQuotation_Click);  
            rmi_SigmaObjectTree_DeleteQuotation.Click += new EventHandler(rmi_SigmaObjectTree_DeleteQuotation_Click);
            
            #endregion  
 
            #region Control assignments  
 
            Platform_Apps_Sigma_NodeContextMenu.Items.Add(rmi_SigmaObjectTree_RefreshObjects);  
 
            Platform_Apps_Sigma_Node.Nodes.Add(MySigmaNode);  
            Platform_Apps_Sigma_Node.Nodes.Add(EveryonesSigmaNode);  
            Platform_Apps_Sigma_Node.Nodes.Add(SystemSigmaNode);  
 
            MySigmaNode.Nodes.Add(MySigma_UniqueProductsNode);  
            MySigmaNode.Nodes.Add(MySigma_QuotationsNode);  
            MySigmaNode.Nodes.Add(MySigma_OrdersNode);  
 
            EveryonesSigmaNode.Nodes.Add(EveryonesSigma_UniqueProductsNode);  
            EveryonesSigmaNode.Nodes.Add(EveryonesSigma_QuotationsNode);  
            EveryonesSigmaNode.Nodes.Add(EveryonesSigma_OrdersNode);  
 
            SystemSigmaNode.Nodes.Add(SystemSigma_Support);  
 
            UniqueProductContextMenu.Items.Add(rmi_SigmaObjectTree_DeleteUniqueProduct);  
            UniqueProductContextMenu.Items.Add(rmi_SigmaObjectTree_FindLinkedQuotesForUniqueProduct);  
            UniqueProductContextMenu.Items.Add(rmi_SigmaObjectTree_MaintainUniqueProduct);  
 
            QuotationContextMenu.Items.Add(rmi_SigmaObjectTree_MaintainQuotation);  
            QuotationContextMenu.Items.Add(rmi_SigmaObjectTree_DeleteQuotation);
            #endregion  
 
            RefreshTreeviews();  
        }  
 
        public void RefreshTreeviews()  
        {  
            MySigma_UniqueProductsNode.Nodes.Clear();  
            EveryonesSigma_UniqueProductsNode.Nodes.Clear();  
 
            Platform.Apps.Sigma.UniqueProductsLibrary UPL = new Platform.Apps.Sigma.UniqueProductsLibrary(true);  
            var mine = (from q in UPL.UniqueProducts  
                        where q.CreatedBy == Environment.UserDomainName + @"\" + Environment.UserName  
                        orderby q.Created descending  
 
                        select q).Take(50);  
 
            foreach (Platform.Data.Linq.SigmaUniqueProduct u in mine.ToList())  
            {  
                MySigma_UniqueProductsNode.Nodes.Add(new Telerik.WinControls.UI.RadTreeNode()  
                {  
                    Text = u.ShortDescription,//.PadLeft(10) + "\r\n" + u.StockCode + "\r\n" + u.SysproStockCode.ShortDescription,  
                    Name = u.ID.ToString(),  
                    Tag = u,  
                    Image = Resources.ResizeBitmap(Resources.tools, 16, 16),  
                    ContextMenu = UniqueProductContextMenu,  
                    ToolTipText = "SIGMA_UNIQUEPRODUCT",  
                    Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)))  
                });  
            }  
 
            var everyones = (from q in UPL.UniqueProducts  
                             orderby q.Created descending  
                             select q).Take(50);  
 
            foreach (Platform.Data.Linq.SigmaUniqueProduct u in everyones.ToList())  
            {  
                EveryonesSigma_UniqueProductsNode.Nodes.Add(new Telerik.WinControls.UI.RadTreeNode()  
                {  
                    Text = "(" + Platform.Security.SecurityTools.WhoIs(u.CreatedBy) + ") " + u.ShortDescription.PadLeft(10),  
                    Name = u.ID.ToString(),  
                    Tag = u,  
                    Image = Resources.ResizeBitmap(Resources.tools, 16, 16),  
                    ContextMenu = QuotationContextMenu,  
                    ToolTipText = "SIGMA_UNIQUEPRODUCT",  
                    Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)))  
                });  
            }  
            Platform_Apps_Sigma_Node.ExpandAll();  
        }
        #endregion  
 
 
 
 
 
 
        #region Event Handler Methods  
 
        void TargetTreeView_DoubleClick(object sender, EventArgs e)  
        {  
            try 
            {  
                foreach (Telerik.WinControls.UI.RadTreeView TargetTreeView in TargetTreeViews)  
                {  
                    switch (TargetTreeView.SelectedNode.Tag.ToString())  
                    {  
                        case "SIGMA_SETTINGS_REFRESH_TREE":  
                            {  
                                RefreshTreeviews();  
                                break;  
                            }  
                        case "SIGMA_SETTINGS_SUPPORT":  
                            {  
                                System.Windows.Forms.Form GenericFormDlg = new System.Windows.Forms.Form();  
                                GenericFormDlg.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;  
                                GenericFormDlg.AutoSize = true;  
                                GenericFormDlg.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;  
                                GenericFormDlg.Text = "Submit new feedback / support request for Platform Apps";  
                                GenericFormDlg.Controls.Add(new Platform.UI.Windows.Common.UCPlatformAppFeedback(UserNameFQN));  
                                GenericFormDlg.ShowDialog();  
                                break;  
                            }  
                    }  
                }  
            }  
            catch 
            {  
 
            }  
        }  
 
        void rmi_SigmaObjectTree_RefreshObjects_Click(object sender, EventArgs e)  
        {  
            throw new NotImplementedException();  
        }  
 
        static void rmi_SigmaObjectTree_DeleteQuotation_Click(object sender, EventArgs e)  
        {  
            throw new NotImplementedException();  
        }  
 
        static void rmi_SigmaObjectTree_MaintainQuotation_Click(object sender, EventArgs e)  
        {  
            throw new NotImplementedException();  
        }  
 
 
        static void rmi_SigmaObjectTree_MaintainUniqueProduct_Click(object sender, EventArgs e)  
        {  
            throw new NotImplementedException();  
        }  
 
        static void rmi_SigmaObjectTree_FindLinkedQuotesForUniqueProduct_Click(object sender, EventArgs e)  
        {  
            throw new NotImplementedException();  
        }  
 
        static void rmi_SigmaObjectTree_DeleteUniqueProduct_Click(object sender, EventArgs e)  
        {  
            throw new NotImplementedException();  
        }
        #endregion  
 
 
 
        public bool RegisterRadTreeView(Telerik.WinControls.UI.RadTreeView RadTreeViewToAdd)  
        {  
            try 
            {  
                RadTreeViewToAdd.Nodes.Add(Platform_Apps_Sigma_Node);  
                RadTreeViewToAdd.DoubleClick += new EventHandler(TargetTreeView_DoubleClick);  
                TargetTreeViews.Add(RadTreeViewToAdd);  
                return true;  
            }  
            catch 
            {  
                return false;  
            }  
        }  
        public bool UnRegisterRadTreeView(Telerik.WinControls.UI.RadTreeView RadTreeViewToRemove)  
        {  
            try 
            {  
                RadTreeViewToRemove.Nodes.Remove(Platform_Apps_Sigma_Node);  
                RadTreeViewToRemove.DoubleClick -= new EventHandler(TargetTreeView_DoubleClick);  
                TargetTreeViews.Remove(RadTreeViewToRemove);  
                return true;  
            }  
            catch 
            {  
                return false;  
            }  
        }  
    }  
}  
 
Victor
Telerik team
 answered on 04 Mar 2010
1 answer
71 views
I see lots of post that is comining soon but they all seem to be from 2008.  Is this available in the Q1 beta?  I dont see any guides on how it works or anything. 
Jack
Telerik team
 answered on 04 Mar 2010
2 answers
114 views
Hello:

We have a form called O&M. When I try to put an ampersand in the title, the M gets underscored. So, I try to put a second ampersand (O&&M). In the designer, it appears to work, but when actually debugging the form, the M gets underscored again!

Is there a way to put an ampersand in the title? Seems like a bug to me.

Thanks,
Travis Parks
Deyan
Telerik team
 answered on 04 Mar 2010
3 answers
168 views
Hi,

I have been experiencing some problems with binding appointments to resources.

I have some "Orders" that is just a Appointment and some resources thats Cars that have the appointments attached.

Im using a SchedulerBindingSource With this code:

            SchedulerBindingDataSource schedulerBindingDataSource1 = new SchedulerBindingDataSource(); 
 
            AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo(); 
            appointmentMappingInfo.Start = "Start"
            appointmentMappingInfo.End = "End"
            appointmentMappingInfo.Summary = "Summary"
            appointmentMappingInfo.Description = "Description"
            appointmentMappingInfo.Location = "Location"
            appointmentMappingInfo.UniqueId = "Id"
            appointmentMappingInfo.BackgroundId = "BackGroundID"
            appointmentMappingInfo.StatusId = "StatusCarOn"
            appointmentMappingInfo.ResourceId = "Carid"
            appointmentMappingInfo.Resources = ""
 
            SchedulerMapping idMapping = appointmentMappingInfo.FindByDataSourceProperty("Id"); 
            idMapping.ConvertToDataSource = ConvertIdToDataSource; 
            idMapping.ConvertToScheduler = ConvertIdToScheduler; 
 
            SchedulerMapping idMapping2 = appointmentMappingInfo.FindByDataSourceProperty("Carid"); 
            idMapping2.ConvertToDataSource = ConvertIdToDataSourceForCars; 
            idMapping2.ConvertToScheduler = ConvertIdToScheduler; 
 
            schedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo; 
            schedulerBindingDataSource1.EventProvider.DataSource = _orderExtendScheduleItems; 
 
            ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo(); 
            resourceMappingInfo.Id = "Carid"
            resourceMappingInfo.Name = "Carname"
 
            SchedulerMapping ridMapping = resourceMappingInfo.FindBySchedulerProperty("Id"); 
            ridMapping.ConvertToDataSource = ConvertIdToDataSource2; 
            ridMapping.ConvertToScheduler = ConvertIdToScheduler; 
 
            schedulerBindingDataSource1.ResourceProvider.Mapping = resourceMappingInfo; 
            schedulerBindingDataSource1.ResourceProvider.DataSource = carList; 
 
            radScheduler1.DataSource = schedulerBindingDataSource1; 

But for some reason the appointments wont get binded to the "Cars" / Resources...

Anyone know how to do this?
Dobry Zranchev
Telerik team
 answered on 04 Mar 2010
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?