or
| //I cut out part of the code that does other things, but this is basically the same |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if (!IsPostBack) |
| //CoP is just a Session variable that is pulled into a property |
| LoadValues(CoP); |
| LoadTooltips(); |
| } |
| //Called after checkboxlist is built |
| private void LoadTooltips() |
| { |
| foreach (ListItem li in cblModules.Items) |
| { |
| var moduleHit = (from a in CoP.Modules where a.ModuleID == Int32.Parse(li.Value) select a.Description).FirstOrDefault(); |
| if (!string.IsNullOrEmpty(moduleHit)) |
| ToolTipify(li, moduleHit); |
| } |
| } |
| private void ToolTipify(ListItem li, string description) |
| { |
| ContentPlaceHolder con = (ContentPlaceHolder)Master.Master.FindControl("cphContent2"); |
| ContentPlaceHolder con1 = (ContentPlaceHolder)con.FindControl("cphCCMContent"); |
| RadToolTip tip = new RadToolTip(); |
| li.Attributes.Add("ID", Guid.NewGuid().ToString()); |
| tip.RelativeTo = ToolTipRelativeDisplay.Element; |
| tip.Text = description; |
| tip.TargetControlID = li.Attributes["ID"]; |
| tip.IsClientID = true; |
| con1.Controls.Add(tip); |
| } |
| private void OpenFile(int id) |
| { |
| try |
| { |
| Document doc = BLDocument.GetDocument(id); |
| if (File.Exists(doc.Metainformation.filepath)) |
| { |
| // Create New instance of FileInfo class to get the properties of the file being downloaded |
| FileInfo file = new FileInfo(doc.Metainformation.filepath); |
| // Clear the content of the response |
| Response.ClearContent(); |
| // LINE1: Add the file name and attachment, which will force the open/cance/save dialog to show, to the header |
| Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name); |
| // Add the file size into the response header |
| Response.AddHeader("Content-Length", file.Length.ToString()); |
| // Set the ContentType |
| Response.ContentType = ReturnExtension(file.Extension.ToLower()); |
| // Write the file into the response (TransmitFile is for ASP.NET 2.0. In ASP.NET 1.1 you have to use WriteFile instead) |
| Response.TransmitFile(file.FullName); |
| // End the response |
| Response.End(); |
| } |
| } |
| catch (Exception ex) |
| { |
| } |
| } |
| <telerik:RadScriptManager runat="server" /> |
| <telerik:RadRotator ID="RadRotator1" runat="server" RotatorType="Buttons" WrapFrames="false" Width="540px" Height="135px" ItemHeight="135px" ItemWidth="135px"> |
| <ItemTemplate> |
| <div style="background: red; width: 135px; height: 135px;"> |
| TEST |
| </div> |
| </ItemTemplate> |
| <Items> |
| <telerik:RadRotatorItem ID="RadRotatorItem1" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem2" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem3" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem4" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem5" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem6" runat="server" /> |
| </Items> |
| </telerik:RadRotator> |

This is minor issue, but I have always had problems trying to get the ClientSelectColumn checkboxes center justified in their column. I have the following markup for the column:
I thought that it might have to do with some extra padding, so I tried to apply a style that got rid of padding, but that didn't seem to do much. I have to set the column width to at least 40px to get the checkboxes to appear even close to centered. This causes quite a bit of wasted space to the left and right of the checkboxes.
| <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" Resizable="False" > |
| <ItemStyle width="40px" HorizontalAlign="Center" VerticalAlign="Middle" CssClass="GridSelectColumnItem" ></ItemStyle> |
| <HeaderStyle width="40px" HorizontalAlign="Center" VerticalAlign="Middle" BorderStyle="None"></HeaderStyle> |
| </telerik:GridClientSelectColumn> |
| the style shown is: |
| .GridSelectColumnItem |
| { |
| padding:0; |
| margin:0; |
| } |
| <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" |
| DecoratedControls="CheckBoxes, RadioButtons, Textbox, Textarea, Select" /> |

I personally think the cursor position make the problem.
Browser:IE7