开发者

Implementing RadPanelBar

开发者 https://www.devze.com 2023-01-22 06:10 出处:网络
HI, I have a table with 3 columns Itemid(int),Itemname(string),ItemDesc(string).. Im trying to use a radpanelbar to display this informat开发者_开发百科ion, where the bar initially shows the item nam

HI,

I have a table with 3 columns Itemid(int),Itemname(string),ItemDesc(string).. Im trying to use a radpanelbar to display this informat开发者_开发百科ion, where the bar initially shows the item name and on clik/expansion it will show the item description.. I tried looking at the examples on telerik site but didnt understand the point of datafieldid and datafieldparentid. What are they used for and what would their values be for my table.. I tried using different combination of column names for these two ids but I still didnt get it..

Can someone point me in the right direction..

Thanks,

J. Adams


These properties are used when you bind the panelbar to self-referencing hierarchical table with id->parentid columns related in primary->foreign key style. Your table structure does not seem to be hierarchical and you can populate the control only with root items or build its items with your own logic.

0

精彩评论

暂无评论...
验证码 换一张
取 消