This is a migrated thread and some comments may be shown as answers.

Upload in Usercontrol does not work

1 Answer 62 Views
Dock
This is a migrated thread and some comments may be shown as answers.
RetoHell
Top achievements
Rank 1
RetoHell asked on 30 Jul 2008, 02:38 PM
Hi!

I'm stuck in the following scenario:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="test.aspx.vb" Inherits="Generator.test" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!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>Untitled Page</title> 
</head> 
<body> 
 
    <form id="form1" runat="server"
    <asp:scriptmanager id="ScriptManager" runat="server" /> 
    <div> 
        <telerik:RadUpload ID="ImageUpload" runat="server" RadControlsDir="~/RadControls/Admin/" Skin="Telerik" Language="de-de" /> 
        <telerik:RadDockLayout ID="RadDockLayout1" Skin="Telerik" runat="server" > 
            <telerik:RadDockZone ID="dz1" Width="500px" runat="server" Orientation="Vertical" EnableViewState="false" > 
            <telerik:RadDock runat="server" id="RadDock3" Title="ContentTemplate"
                <ContentTemplate> 
                    <telerik:RadUpload ID="RadUpload1" runat="server" RadControlsDir="~/RadControls/Admin/" Skin="Telerik" Language="de-de" /> 
                </ContentTemplate> 
            </telerik:RadDock>  
            </telerik:RadDockZone> 
            <telerik:RadDockZone ID="dz2" Width="500px" runat="server" Orientation="Vertical" EnableViewState="false" > 
            </telerik:RadDockZone> 
       </telerik:RadDockLayout> 
    </div> 
    </form> 
</body> 
</html> 

The RadUpload Control "ImageUpload" is working as expected. But the RadUpload Control "RadUpload1" in a ContentTemplate inside a RadDock doesn't work. There's no code in a code-behind file necessary to reproduce the problem. The Upload Control is not showing up a file selection dialogue, and moving the mouse cursor over the "Select" Button enables scrollbars inside of the dock.

I would really appreciate it, if you could help me.

All the best
Tom

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 31 Jul 2008, 12:22 PM
Hi Tom77,

We already fixed the issue which was caused by RadUpload placed in a relatively/absolutely positioned element.

Please open a new support ticket and we will send you the latest internal build.

Sincerely yours,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
RetoHell
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or