or
Even if you take out the BinaryImage column and replace it with a TemplateColumn that uses a BinaryImage in its ItemTemplate, you'll get the same error.
I even tried creating a new Telerik Web Application from scratch, adding a declarative RadGrid, with both a Calculated Column and a BinaryImage column with NO CODE attached to the form, and the same error occurs.
I'm using Telerik RadControls for AJAX version 2012.2.724.40 (2012 Q2 SP1). I've repeated this experiment with previous builds of RadControls for AJAX and I'm seeing the same manifestation in previous, older projects. Can anyone reproduce this error? Can anyone confirm if this is indeed a bug?
Regards,
Jonathan
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ctrlDealRatings.ascx.vb" Inherits="DealNutWebsite.ctrlDealRatings" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript" id="telerikClientEvents1"> //<![CDATA[ function OnClientRated(controlRating, args) { var tooltip = $find("<%=RadToolTip1.ClientID %>"); tooltip.show(); } function HideTooltip(controlRating, args) { var tooltip = $find("<%=RadToolTip1.ClientID %>"); tooltip.hide(); return (false); } //]]> </script></telerik:RadCodeBlock><div id="DealRatingDiv" runat="server" visible="true" style="position:relative;top:0px;width:200px;border:0px solid red"> <asp:Label class="CaptionSm" ID="lblCaption" runat="server" Text="Click a Nut to Rate:" style="float:left; margin-top: 6px"></asp:Label> <div style="float:left; margin-top: 0px"> <telerik:RadRating ID="RadDealRating" runat="server" Skin="MyCustomSkin" AutoPostBack="false" readonly="true" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" OnClientRated="OnClientRated" Precision="half" /> </div></div><p></p><telerik:RadToolTip ID="RadToolTip1" runat="server" ShowEvent="FromCode" HideEvent="FromCode" TargetControlID="RadDealRating" AutoCloseDelay="1000" ShowCallout="true" Position="MiddleLeft" Width="275px" Animation="Resize" ManualClose="True" Height="300px" > <div class="AddDealRatingbox"> <asp:Image ID="Image1" runat="server" ImageUrl="/Images/RateThisDeal.png" /> <br /> <asp:Label ID="lblName" runat="server" Text="Name:"></asp:Label> <br /> <asp:TextBox ID="txtName" runat="server" style="width:260px" /> <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="Errors" ControlToValidate="txtName" ErrorMessage="Your name is required" SetFocusOnError="True" >Your name is required</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtName" ErrorMessage="Please use plain text only" Text="Please use plain text only" CssClass="Errors" ValidationExpression="[^<]+" SetFocusOnError="True" /> --%> <br /> <br /> <asp:Label ID="lblInstructions" runat="server" Text="Your feedback:"></asp:Label> <br /> <asp:TextBox ID="txtComments" runat="server" TextMode="MultiLine" Rows="5" Columns="30" style="width:260px" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ValidationGroup="save" CssClass="Errors" ControlToValidate="txtComments" ErrorMessage="Your comment is required" EnableViewState="False" ViewStateMode="Disabled" >Your comment is required</asp:RequiredFieldValidator> <%-- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtComments" ErrorMessage="Please use plain text only" text="Please use plain text only" CssClass="Errors" ValidationExpression="[^<]+" SetFocusOnError="True" /> --%> <br /><br /> <asp:ImageButton ID="btnPostComment" runat="server" Style="outline:0; cursor:pointer" ValidationGroup="save" ImageUrl="~/Images/btnPostComment.png" OnClick="btnPostComment_Click" CausesValidation="True" /> <asp:ImageButton ID="btnCancel" UseSubmitBehavior="false" runat="server" Style="margin-left:12px; outline:0; cursor:pointer" OnClientClick="HideTooltip()" ImageUrl="~/Images/btnCancel.png" /> </div></telerik:RadToolTip>