I am looping to add Items to a rad tag cloud...
I have verified that during the loop the values are being set properly.
I then call a javascript function when an item is clicked:
Which is executed here:
and the value is set to null. I would appreciate any help on this matter.
foreach
(KeyWord kw
in
keyWordList)
{
RadTagCloudItem item =
new
RadTagCloudItem();
item.Text = kw.KeyWordText;
item.ToolTip = kw.ReturnMessageText;
item.Value = kw.KeyWordID.ToString();
RadTagCloud1.Items.Add(item);
}
I have verified that during the loop the values are being set properly.
I then call a javascript function when an item is clicked:
<
telerik:RadTagCloud
ID
=
"RadTagCloud1"
runat
=
"server"
Skin
=
"MetroTouch"
OnClientItemClicked
=
"KwDetail"
>
</
telerik:RadTagCloud
>
Which is executed here:
function KwDetail(sender, args) {
var item = args.get_item();
var toolTip = item.get_toolTip();
var text = item.get_text();
var items = sender.get_items();
var value = item.get_value();
}
and the value is set to null. I would appreciate any help on this matter.