I am having this issue since very long that Filter Icon of GridNumericColumn is not displayed Properly.
See Attached Image. It happens only in IE7. Above IE7 it works perfect. And also it happens with GridNumericColumn
Column only. It works with BoundColumn.
I am using following code and css as it suugests in some of telerik forum but it doesn't work.
|
<telerik:GridNumericColumn DataField="abc" HeaderText="abc" UniqueName="abc" |
|
FilterControlWidth="80%" SortExpression="abc" FilterListOptions="VaryByDataType" |
|
Resizable="true" AutoPostBackOnFilter="false" ShowSortIcon="true" DataType="System.Int32"> |
|
<ItemStyle Width="7%" /> |
|
<HeaderStyle Width="7%" /> |
|
</telerik:GridNumericColumn> |
|
<!--[if IE 7]> |
|
<style type="text/css"> |
|
.riTextBox,.riFocused,.riEnabled,.riHover |
|
{ |
|
height:15px !important; |
|
} |
|
#ctl00_ContentPlaceHolder_grdAppointmentSearch_ctl00_ctl02_ctl03_RNTBF_abc |
|
{ |
|
width:50px !important; |
|
max-width:50px !important; |
|
} |
|
</style> |
|
<![endif]--> |
<MasterTableView DataKeyNames="ReportID"> <SortExpressions> <telerik:GridSortExpression FieldName="ReportSeverityLevelID" SortOrder="Descending" /> <telerik:GridSortExpression FieldName="ReportSeverityColumn" SortOrder="Descending" /> </SortExpressions> <Columns> <telerik:GridTemplateColumn HeaderText="Severity" HeaderStyle-Width="45px" SortExpression="ReportSeverityLevelID" UniqueName="ReportSeverityColumn" AllowFiltering="false"> <ItemTemplate> <asp:Image ID="Image3" runat="server" ImageUrl='<%# string.Format("~/Images/{0}", ReportSeverityLevel.GetReportSeverityLevel(r=>r.ReportSeverityLevelID==(int)Eval("ReportSeverityLevelID"),r=>r.IconImageFile)) %>' ImageAlign="AbsMiddle" AlternateText='<%# ReportSeverityLevel.GetReportSeverityLevel(r=>r.ReportSeverityLevelID==(int)Eval("ReportSeverityLevelID"),r=>r.Name) %>' ToolTip='<%# ReportSeverityLevel.GetReportSeverityLevel(r=>r.ReportSeverityLevelID==(int)Eval("ReportSeverityLevelID"),r=>r.Name) %>' /> </ItemTemplate> </telerik:GridTemplateColumn>I have a lightbox setup with an ItemTemplate, I am displaying html text (not images like the data binding examples). I have an asp.net label inside my ItemTemplate that I want to bind the lightbox control to a list of strings and show the string inside of the label. I tried <%# Eval("mypropname")%> inside of the label but get a "Value of type 'System.Web.UI.Control' cannot be converted to 'Telerik.Web.UI.RadLightBoxItem'.
All of the Data* properties exposed server side appear to be specific to displaying images in lightbox. Is there a way to databind a lightbox with a custom item template to a list of strings? If not, is there a way to manually add these items to the lightbox server side?
Thanks!
<tlrk:RadEditor ID="D0_RadArticle" runat ="server" Width="680px" Height="376px" ToolsFile="~/XML/Editor/HelpEditor.xml" ImageManager-ViewPaths="~/Images/Help" AnchorPathToStrip="ihs201" StripAbsoluteAnchorPaths="true" />