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

ModalPopUp & RadUpload

7 Answers 215 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mrinal Chatterjee
Top achievements
Rank 1
Mrinal Chatterjee asked on 29 Jul 2008, 10:25 PM
I just upgraded the binaries to Q2 2008 and noticed that my RadUpload's Choose File dialog is not showing up when I click Select if the RadUpload controls is inside a asp:Panel that extends on the ModalPopUp Ajax.NET control.

Any idea?

Thanks,

Victor

7 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 01 Aug 2008, 07:00 AM
Hello Mrinal Chatterjee,

We already fixed the problem. Please open a support ticket to receive the Dev version of the dll files.

Greetings,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mrinal Chatterjee
Top achievements
Rank 1
answered on 01 Aug 2008, 03:59 PM

I've applied the fix and made sure there no positioning set in the css file.  However, it does not work for the page/code below.  It did fix one of my other pages but not this one.

Thanks.        

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="CMS.Management.CRM.test" %>

<!

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

<%

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<

html xmlns="http://www.w3.org/1999/xhtml">

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="sm" runat="server"></asp:ScriptManager>

<asp:Button ID="dummy" runat="server" Text="Attach files" />

<asp:Panel ID="pnlAttachment" runat="server" class="modalPopup" Style="width: 500px;

display: none;">

<h2>

Attach Files

</h2>

<telerik:RadUpload ID="ru" runat="server" ControlObjectsVisibility="None" InitialFileInputsCount="3" />

<asp:Button ID="btnUpload" runat="server" Text="Attach" />

<asp:Button ID="btnUploadCancel" runat="server" Text="Cancel" />

</asp:Panel>

<cc1:ModalPopupExtender ID="mpeAttachment" runat="server" BackgroundCssClass="modalBackground"

PopupControlID="pnlAttachment" CancelControlID="btnUploadCancel" TargetControlID="dummy"

BehaviorID="mpeAttach">

</cc1:ModalPopupExtender>

</div>

</form>

</

body>

</

html>

0
Mrinal Chatterjee
Top achievements
Rank 1
answered on 01 Aug 2008, 03:59 PM

I've applied the fix and made sure there no positioning set in the css file.  However, it does not work for the page/code below.  It did fix one of my other pages but not this one.

Thanks.        

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="CMS.Management.CRM.test" %>

<!

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

<%

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<

html xmlns="http://www.w3.org/1999/xhtml">

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="sm" runat="server"></asp:ScriptManager>

<asp:Button ID="dummy" runat="server" Text="Attach files" />

<asp:Panel ID="pnlAttachment" runat="server" class="modalPopup" Style="width: 500px;

display: none;">

<h2>

Attach Files

</h2>

<telerik:RadUpload ID="ru" runat="server" ControlObjectsVisibility="None" InitialFileInputsCount="3" />

<asp:Button ID="btnUpload" runat="server" Text="Attach" />

<asp:Button ID="btnUploadCancel" runat="server" Text="Cancel" />

</asp:Panel>

<cc1:ModalPopupExtender ID="mpeAttachment" runat="server" BackgroundCssClass="modalBackground"

PopupControlID="pnlAttachment" CancelControlID="btnUploadCancel" TargetControlID="dummy"

BehaviorID="mpeAttach">

</cc1:ModalPopupExtender>

</div>

</form>

</

body>

</

html>

0
Larkin Young
Top achievements
Rank 2
answered on 02 Aug 2008, 02:54 PM
I am fairly certain that the ModalPopupExtender creates a wrapper div with relative positioning to achieve the modal popup behavior, so likely that is where your problem is.

- Larkin
0
Veselin Vasilev
Telerik team
answered on 04 Aug 2008, 02:55 PM
Hi guys,

You are right - there was a problem with the ModalPopupExtender and RadUpload Select button.
We fixed it and you can download the trial dll files from here:
http://www.telerik.com/community/forums/thread/b311D-bkdkam.aspx
or open a support ticket to request the Dev version.

Thank you for all your commitment.

All the best,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Randall
Top achievements
Rank 1
answered on 27 Jan 2012, 04:13 PM
I am experiencing the same issue listed above, however I am using the 2011.3.1305.35 version of the controls. I have confirmed that the upload control displays fine directly on the aspx page, but when placed inside a panel tied to a modalpopupextender the select button disappears and the textbox formatting is also stripped.

Here is how I'm defining the control:

<telerik:RadUpload
    runat="server"
    ID="ruTrngDocDocument"
    Width="200px"
    ControlObjectsVisibility="None"
    AllowedFileExtensions=".pdf"
    OverwriteExistingFiles="true"
    ReadOnlyFileInputs="true"
    AllowedMimeTypes="application/pdf"
    MaxFileInputsCount="1"
    InitialFileInputsCount="1"
    ToolTip="Upload document for training"
    InputSize="32"
>
</telerik:RadUpload>

Some other environmental contexts, I am using IIS 6, .NET 3.5, Windows Server 2003.

Is this still an issue?

0
Plamen
Telerik team
answered on 01 Feb 2012, 03:27 PM
Hi Randall,

 
I have reproduced the issue only in IE7. It was fixed after I set the Width="500px" in RadUpload.

Hope this will be helpful.

Kind regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Upload (Obsolete)
Asked by
Mrinal Chatterjee
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Mrinal Chatterjee
Top achievements
Rank 1
Larkin Young
Top achievements
Rank 2
Randall
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or