Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Upload > ModalPopUp & RadUpload

Not answered ModalPopUp & RadUpload

Feed from this thread
  • Mrinal Chatterjee avatar

    Posted on Jul 29, 2008 (permalink)

    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

    Reply

  • Veselin Vasilev Veselin Vasilev admin's avatar

    Posted on Aug 1, 2008 (permalink)

    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.

    Reply

  • Mrinal Chatterjee avatar

    Posted on Aug 1, 2008 (permalink)

    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>

    Reply

  • Mrinal Chatterjee avatar

    Posted on Aug 1, 2008 (permalink)

    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>

    Reply

  • Posted on Aug 2, 2008 (permalink)

    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

    Reply

  • Veselin Vasilev Veselin Vasilev admin's avatar

    Posted on Aug 4, 2008 (permalink)

    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.

    Reply

  • Randall avatar

    Posted on Jan 27, 2012 (permalink)

    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?

    Reply

  • Plamen Zdravkov Plamen Zdravkov admin's avatar

    Posted on Feb 1, 2012 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Upload > ModalPopUp & RadUpload
Related resources for "ModalPopUp & RadUpload"

ASP.NET Upload Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]