Hi,
We are currently checking out Telerik controls to be used for our new project. Are the points below feasible?
1. Can we have a mergefield that is a Dictionary?
Ex. We have an Item class with a Dictionary property. Now, I want a mergefield that points to the keys of the the Dictionary property.
Ex:
<MERGEFIELD BeerBrands["Bud"]> or <MERGEFIELD BeerBrands.Bud>
where Beerbrands = class property w/ch is a Dictionary
Bud is the Key of the dictionary. The result should be the value of the dictionary.
2. Taking this a step further, can we have a mergefield where the fieldName points to a Dictionary<string, new Dictionary<string, string>>.
Ex. <MERGEFIELD BeerBrands.Bud.Price>
where Beerbrands = class property w/ch is a Dictionary;
Bud = key of the 1st Dictionary;
Price = key of the 2nd dictionary
Regards,
Mari
We are currently checking out Telerik controls to be used for our new project. Are the points below feasible?
1. Can we have a mergefield that is a Dictionary?
Ex. We have an Item class with a Dictionary property. Now, I want a mergefield that points to the keys of the the Dictionary property.
Ex:
<MERGEFIELD BeerBrands["Bud"]> or <MERGEFIELD BeerBrands.Bud>
where Beerbrands = class property w/ch is a Dictionary
Bud is the Key of the dictionary. The result should be the value of the dictionary.
2. Taking this a step further, can we have a mergefield where the fieldName points to a Dictionary<string, new Dictionary<string, string>>.
Ex. <MERGEFIELD BeerBrands.Bud.Price>
where Beerbrands = class property w/ch is a Dictionary;
Bud = key of the 1st Dictionary;
Price = key of the 2nd dictionary
Regards,
Mari