
Hi There,
The RadBinaryImage in our application works well until Firefox upgraded to 43.0.1. Now the problem I am facing is that the image does not show unless I click or move the mouse on the page. I also noticed this issue only happens on gif files, not on jpeg files.
Here is the scenario: two pages included in this test demo, the first page has a linkbutton to open a radwindow, the second page is the RadBinaryImage to display a image file.
The following is my test code, please help, thank you.
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadBinaryImageDefault.aspx.cs" Inherits="Default" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function ShowWindow() { window.radopen("RadBinaryImageTest.aspx", "RadTestWindow"); return false; } </script> </telerik:RadCodeBlock> <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true"> <Windows> <telerik:RadWindow ID="RadTestWindow" runat="server" Title="Rad Binary Image" Height="500px" Width="500px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false" AutoSize="false" Behaviors="Pin, Move, close, Resize" Modal="true" /> </Windows> </telerik:RadWindowManager> <form id="form1" runat="server"> <asp:ScriptManager ID="DefaultMasterScriptManager" runat="server"> </asp:ScriptManager> <div> <asp:LinkButton ID="lbl_click" runat="server" Text='Click' OnClientClick="return ShowWindow();" Visible="true"/> </div> </form> </body></html>
RadBinaryImageTest.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadBinaryImageTest.aspx.cs" Inherits="RadBinaryImageTest" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <telerik:RadBinaryImage runat="server" ID="rbi_thumbnail" AutoAdjustImageControlSize="false"/> </div> </form></body></html>
RadBinaryImageTest.aspx.cs
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Drawing.Imaging;using System.IO;using System.Drawing;public partial class RadBinaryImageTest : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { DisplayThumbnail(); } public void DisplayThumbnail() { rbi_thumbnail.DataValue = ImageToBinary("../../index.gif"); } public static byte[] ImageToBinary(string imagePath) { FileStream fileStream = new FileStream(imagePath, FileMode.Open, FileAccess.Read); byte[] buffer = new byte[fileStream.Length]; fileStream.Read(buffer, 0, (int)fileStream.Length); fileStream.Close(); return buffer; }}My page is requesting silverlight and I cant figure out which control might be requesting this or how to disable the option
Is there a way to disable this entirely as the page runs fine without silverlight
Hi
How do I get the value of the Pager on the server, .Pagesize always returns the initial page load page size.
What I'm trying to do is capture the users selected Pagesize in save it into their profile (I don't need the full persistence framework)
Also where should I do the setting of the page size, Did I read that it was to be done in the NeedDataSource event?
Andy



I have a rad button with the following declaration, however the button style doesn't appear to obey the "Primary" property. It looks like a regular button (see attached), unlike your demos for the Bootstrap skin. Any idea what's going on? Also, is there any documentation of the "Primary" property anywhere?
<telerik:RadButton ID="btnSelect" runat="server" Text="Select" CommandName="Select" style="margin-right:7px;" Skin="Bootstrap" ValidationGroup="VG_Form" Primary="true" ></telerik:RadButton>

Hi there;
I'm using an EditItemTemplate in a GridTemplateColumn, and the insert/cancel buttons are showing up as plain text (the sort automatically created by the control). How do I style them, or convert them to image buttons?

Hi,
Is there a way to remove the tick from the selection while deleting the item onto the by the backspace button?
cheers