Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

How to Bind Dictionary to RadTimeline

$
0
0

Hi Peshito



Thank you for your answer. It works.

 But what if the object that is assigned to the datacontext is not an "object" but a Dictionary.

 
I mean in the example that you attach  is posible not to assign the product object  but  assign a Dictionary to the context  like

 

Dictionary<string, Product> myDictionary = new Dictionary<string, Product>();

myDictionary.Add("1",new Product () { StartDate=dateStart,EndDate:endDate,Data=items});

myDictionary.Add("2",new Product () { StartDate=dateStart,EndDate:endDate,Data=items});

 (obviously Keeping the structure of product object )

Is this possible ?



Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>