ModalPopUp & RadUpload

Thread is closed for posting
8 posts, 0 answers
  1. Mrinal Chatterjee
    Mrinal Chatterjee avatar
    4 posts
    Member since:
    May 2008

    Posted 29 Jul 2008 Link to this post

    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
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 01 Aug 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mrinal Chatterjee
    Mrinal Chatterjee avatar
    4 posts
    Member since:
    May 2008

    Posted 01 Aug 2008 Link to this post

    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>

  5. Mrinal Chatterjee
    Mrinal Chatterjee avatar
    4 posts
    Member since:
    May 2008

    Posted 01 Aug 2008 Link to this post

    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>

  6. Larkin Young
    Larkin Young avatar
    141 posts
    Member since:
    Feb 2005

    Posted 02 Aug 2008 Link to this post

    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
  7. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 04 Aug 2008 Link to this post

    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.
  8. Randall
    Randall avatar
    1 posts
    Member since:
    Dec 2010

    Posted 27 Jan 2012 Link to this post

    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?

  9. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 01 Feb 2012 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017