New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

TagCloud Object

RadTagCloud's properties

NameTypeDescription
AutoPostBackboolGets or sets a value indicating whether a postback to the server automatically occurs when the user interacts with the control.
DataNavigateUrlFieldstringGets or sets the field of the data source that provides the URL (NavigateUrl) content of the TagCloud items.
DataTextFieldstringGets or sets the field of the data source that provides the text content of the TagCloud items.
DataNavigateUrlFormatStringstringGets or sets the formatting string used to control how data bound to the NavigateUrl property of the TagCloud item is displayed.
DataTextFormatStringstringGets or sets the formatting string used to control how data bound to the Text property of the TagCloud item is displayed.
DataToolTipFieldstringGets or sets the field of the data source that provides the ToolTip content of the TagCloud items.
DataToolTipFormatStringstringGets or sets the formatting string used to control how data bound to the ToolTip property of the TagCloud item is displayed.
DataValueFieldstringGets or sets the field of the data source that provides the value content of the TagCloud items.
DataWeightFieldstringGets or sets the field of the data source that provides the weight of the TagCloud items.
Distributionenum: Linear, LogarithmicGets or sets a value indicating how the font-size will be distributed among the different words (items).
MinFontSizeunitGets or sets the font-size to the least important (frequent) item. Used as a lower bound for automatic distribution of the font-size among the tags.
MaxFontSizeunitGets or sets the font-size to the most important (frequent) item. Used as an upper bound for automatic distribution of the font-size among the tags.
MinColorSystem.Drawing.ColorGets or sets the fore color to the least important (frequent) item. Used as a lower bound for automatic coloring of the tags.
MaxColorSystem.Drawing.ColorGets or sets the fore color to the most important (frequent) item. Used as an upper bound for automatic coloring of the tags.
MinimalWeightAlloweddoubleGets or sets the minimal weight a TagCloud item could have. If the weight of the item is less than this value, the keyword will not appear in the cloud. The default value is 0.0, which means the items will appear in the cloud regardless of their weight.
MaxNumberOfItemsintGets or sets the maximal number items that can appear in the cloud. The default value is 0, which means the items will appear in the cloud no matter their count.
TakeTopWeightedItemsboolShould be used with MaxNumberOfItems property. Gets or sets a bool value indicating whether the [ MaxNumberOfItems ] visible items will be the ones with the biggest weight, or the ones that occur first in the DataSource. The default value is false (i.e. the items are the first that appear in the DataSource).
PostBackUrlstringThe URL to post to when an item is clicked.
RenderItemWeightboolGets or sets a bool value indicating whether the item weight will be rendered. It is rendered right next to the item's text.
Sortingenum: NotSorted, AlphabeticAsc, AlphabeticDsc, WeightedAsc, WeightedDscGets or sets a value indicating how the TagCloud items will be sorted.
TargetstringGets or sets the target window or frame to display the new content when the TagCloud item is clicked.Values must begin with a letter in the range of a through z (case-insensitive) except for the following values: _blank - renders the content in a new window without frames; _parent - renders the content in the immediate frameset parent; _search - renders the content in the search pane; _self - renders the content in the frame with focus; _top - renders the content in the full window without frames;
OnClientItemClickingstringSets the name of the javascript function called when an item is clicked.
OnClientItemClickedstringSets the name of the javascript function called after an item is clicked.
OnClientLoadstringSets the name of the javascript function called when the control loads.

Events

NameDescription
ItemDataBoundAdds or removes an event handler method from the ItemDataBound event. The event is fried right after RadTagCloudItem is databound.
ItemClickAdds or removes an event handler method from the ItemClick event. The event is fired after RadTagCloudItem is clicked.

RadTagCloudItem

NameTypeDescription
AccessKeyStringGets or sets the access key of the TagCloud item.
DataItemobjectGets or sets the data object (from the data source) associated with the TagCloud item.
NavigateUrlstringGets or sets the URL of the TagCloud item.
TabIndexShortGets or sets the TabIndex of the tagCloud item.
TextstringGets or sets the text that is displayed in the TagCloud item.
ToolTipStringGets or sets the ToolTip of the TagCloud item.
ValueStringGets or sets the Value of the TagCloud item.
WeightdoubleGets or sets the weight, that determines how the TagCloud item (tag, keyword) will be styled. Greater value means, the value of the font size will be closer to the one of the RadTagCloud's MaxFontSize property.