Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
stevenjnielsen  
#1 Posted : Thursday, August 6, 2009 12:04:43 PM(UTC)
stevenjnielsen

Rank: Newbie

Groups: Member
Joined: 8/6/2009(UTC)
Posts: 2

I have a simple problem and looking at the source cannot figure out what is going wrong.
When the ImageUploader component is on a page there is a gap introduced at the top of the page. I have tried fixing with css but cannot seem to get rid of it. According to this code there should be no space between the top of the page and the black div. If I remove the ImageUploader from the code the gap goes away.

Any help is appreciated. Hoping this is a simple property problem that I am missing.

Here is my code:
Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Test.aspx.vb" Inherits="Test" %>
<%@ Register assembly="Aurigma.ImageUploader" namespace="Aurigma.ImageUploader" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body style="margin: 0;">
    <form id="form1" runat="server" style="padding: 0; margin: 0;">
        <div style=" background-color: Black; width: 500px; height: 40px;"></div>
        <div id="divUploader" runat="server">
            <cc1:ImageUploader ID="ImageUploader1" runat="server" 
                LicenseKey="REMOVEDFORSECURITYREASONS"
		        Width="700" Height="400" 
		        PaneLayout="TwoPanes" ShowDebugWindow="true"
		        AllowRotate="true" BackgroundColor="#ffffff"			
		        UploadThumbnail1FitMode="Fit" UploadThumbnail1Width="120"
		        UploadThumbnail1Height="120" UploadThumbnail1JpegQuality="90"		
		        Action="EditAlbum.aspx"			
		        OnFileUploaded="ImageUploader1_FileUploaded"
	            ActiveXControlEnabled="false"
	            JavaAppletEnabled="true">
		        <InstallationProgress Visible="True"
			        ProgressCssClass="ScreenStyle"
			        InstructionsCssClass="ScreenStyle" />
	        </cc1:ImageUploader>
	    </div>	        
    </form>
</body>
</html>

Edited by user Thursday, August 6, 2009 4:22:15 PM(UTC)  | Reason: Not specified

stevenjnielsen  
#2 Posted : Thursday, August 6, 2009 12:35:47 PM(UTC)
stevenjnielsen

Rank: Newbie

Groups: Member
Joined: 8/6/2009(UTC)
Posts: 2

Forgot to mention the browser is IE8. As a side note IE8 in compatibility mode only shows about a 1px gap.
Dmitry  
#3 Posted : Thursday, August 6, 2009 7:59:41 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Yes, we confirm the problem. It will be fixed in the next release. As a workaround you need to update CSS, see the sample above:
Code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication.WebForm2" %>

<%@ Register Assembly="Aurigma.ImageUploader" Namespace="Aurigma.ImageUploader" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title></title>
	<style type="text/css">
		#deployJavaPlugin
		{
			position: absolute;	left: -10px;
		}
	</style>
</head>
<body style="margin: 0;">
	<form id="form1" runat="server" style="padding: 0; margin: 0;">
	<div style="background-color: Black; width: 500px; height: 40px;">
	</div>
	<div id="divUploader" runat="server">
		<cc1:ImageUploader ID="ImageUploader1" runat="server" 
                LicenseKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
                Width="700" Height="400" PaneLayout="TwoPanes" 
                UploadThumbnail1FitMode="Fit" UploadThumbnail1Width="120" 
                UploadThumbnail1Height="120"  UploadThumbnail1JpegQuality="90" 
                Action="EditAlbum.aspx">			
		  	<InstallationProgress Visible="True" ProgressCssClass="ScreenStyle" 
                           InstructionsCssClass="ScreenStyle" />
		</cc1:ImageUploader>
	</div>
	</form>
</body>
</html>

Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.