| $find('<%=myCaptcha.ClientID %>').set_focus(); |
I used telerik menu to display Icon and text vertically so I have written following code it display Icon and text but text not display in center of the image.
My requirement is that I have to display text in bottom of the image and also it should be in center.
<telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="SiteMapSetup" OnItemDataBound="RadMenu1_ItemDataBound" DataNavigateUrlField="url" Flow="Vertical" >
</telerik:RadMenu>
protected void RadMenu1_ItemDataBound(object sender, Telerik.Web.UI.RadMenuEventArgs e)
{
SiteMapNode node = (SiteMapNode)e.Item.DataItem;
e.Item.ImageUrl = node["ImageURL"];
e.Item.Text ="<br><br><br>" + node["text"] ;
}
.GridRow_Default
td,
.GridAltRow_Default
td
{
overflow: hidden;
}
My Client settings for grid are
<Resizing ClipCellContentOnResize="true" AllowColumnResize="true" ResizeGridOnColumnResize="true" />


Greetings,
I have a page that has a CheckboxList on it which needs to have tooltips also. Seeing how CheckboxLists don't have that option, I decided to try using a RadToolTip. There is a problem though. It causes an error. Here is what I have thus far.
| public void SetSelectedModules(DTOCoP cop) |
| { |
| string url = BuildURL(Request.Url.ToString()); |
| foreach (ListItem li in cblModules.Items) |
| { |
| var hit = (from a in cop.Modules where a.ModuleID == Int32.Parse(li.Value) select a).FirstOrDefault(); |
| li.Selected = hit.Selected; |
| RadToolTip tip = new RadToolTip(); |
| tip.RelativeTo = ToolTipRelativeDisplay.Element; |
| tip.Text = hit.Description; |
| tip.TargetControlID = li.Attributes["ID"]; |
| tip.IsClientID = true; |
| this.cblModules.Controls.Add(tip); |
| } |
| } |
