or

Uncaught TypeError: Cannot call method 'get_imageUrl' of undefined RadLightBoxScripts.js:270c.RadLightBox._determineContentMode RadLightBoxScripts.js:270c.RadLightBox._showLightBoxStructure RadLightBoxScripts.js:138(anonymous function) RadLightBoxScripts.js:291b.isFunction.i jQuery.js:3r.complete jQuery.js:5c jQuery.js:3p.fireWith jQuery.js:3u jQuery.js:5b.fx.tickDim lightBoxItem As New RadLightBoxItemlightBoxItem.TargetControlID = "MainImage"lightBoxItem.ImageUrl = LinkHelpers.GetProfilePath(profile.ProfileId) & profile.ImagePathDim profileImagesLightBox As RadLightBox = DirectCast(EvaForm.FindControl("ProfileImagesLightbox"), RadLightBox)profileImagesLightBox.Items.Add(lightBoxItem)<fieldset> <legend>5. Foto</legend> <dl class="dl-horizontal"> <dt><%#: If(Not String.IsNullOrWhiteSpace(Item.ImageDescription), Item.ImageDescription, "Foto") %></dt> <dd> <div class="profile-photo"> <asp:PlaceHolder runat="server" Visible='<%# Not (String.IsNullOrWhiteSpace(Item.ImagePath)) %>'> <asp:image runat="server" ID="MainImage" ImageUrl='<%# LinkHelpers.GetProfilePath(Item.ProfileId) & "t2-" & Item.ImagePath %>' CssClass="img-polaroid" /> </asp:PlaceHolder> </div> </dd> </dl> <dl class="dl-horizontal"> <dt>Altre foto</dt> <dd> <telerik:RadLightBox ID="ProfileImagesLightbox" runat="server" DataImageUrlField="ImagePath" Modal="true" AppendDataBoundItems="true" TabIndex="101"> <ClientSettings AllowKeyboardNavigation="true" NavigationMode="Zone"> <AnimationSettings HideAnimation="None" NextAnimation="Resize" PrevAnimation="Resize" ShowAnimation="Resize" /> </ClientSettings> </telerik:RadLightBox> <asp:Repeater runat="server" ID="ProfileImages" ItemType="Eva.Entities.EvaProfileImage"> <ItemTemplate> <a href="<%# LinkHelpers.GetProfilePath(Item.ProfileId) & Item.ImagePath%>" onclick="return false;"><img style="display: inline;" onclick="OpenRadLigthBox(<%# Container.ItemIndex %>, '<%= EvaForm.FindControl("ProfileImagesLightbox").ClientID %>'); return false;" class="media-object img-polaroid" src='<%# LinkHelpers.GetProfilePath(Item.ProfileId) & "t1-" & Item.ImagePath%>' /></a> </ItemTemplate> </asp:Repeater> </dd> </dl></fieldset><telerik:RadEditor runat="server" ID="RadEditor1" Height="515" Width="100%" Visible="True" EnableViewState="False" ContentFilters="ConvertToXhtml, RemoveScripts,FixUlBoldItalic, IECleanAnchors, FixEnclosingP, MozEmStrong,IndentHTMLContent, OptimizeSpans"> </telerik:RadEditor>ClientScript.RegisterStartupScript(Page.GetType(),
"mykey", "ToggleRadcomboBox();", true);
The javascript is as follow<style type="text/css"> .rbBlue .rbText { color: blue; } .rbRed .rbText { color: red; }</style> <telerik:RadButton ID="FillerNLF" runat="server" AutoPostBack="false" Text="NLF" ButtonType="ToggleButton" checked="false" ToggleType="CheckBox" Style="font-size: 14px; top: 30px; left: 4px; position: absolute;"> <ToggleStates> <telerik:RadButtonToggleState PrimaryIconUrl="../Images/layer_transparent.jpeg" CssClass="rbBlue" /> <telerik:RadButtonToggleState PrimaryIconCssClass="rbOk" Selected="true" CssClass="rbRed" /> </ToggleStates> </telerik:RadButton>