Using Uploader within gridview control

Last post 01-06-2009, 11:41 PM by cutechat. 8 replies.
Sort Posts: Previous Next
  •  12-14-2008, 6:46 AM 46908

    Using Uploader within gridview control

    I have added uploader control inside a gridview and then browse the page, the control worked fine. But I am getting an error in design view.The error is "There was an error rendering the control.Object reference not set to an instance of an object".
    Is there any problem in my .aspx code?
    Here is the .aspx code.

    <asp:GridView ID="grdtext" runat="server" AutoGenerateColumns="False"

    CellPadding="4" EnableTheming="False" GridLines="None" DataKeyNames="NodeID"

    ShowHeader="False" Width="100%" OnRowDataBound="grdtext_RowDataBound" OnRowCommand="grdtext_OnRowCommand">

    <RowStyle HorizontalAlign="Left" />

    <Columns>

    <asp:TemplateField>

    <ItemTemplate>

    <table>

    <tr>

    <td colspan="2" align="center">

    <table>

    <tr>

    <td align="right" style="width: 140px">

    Local Asset

    </td>

    <td align="left">

    <CuteWebUI:UploadAttachments runat="server" ManualStartUpload="true" ID="CuteUploader"

    InsertButtonID='BrowseButtonCup' InsertText="Upload" ItemTextTemplate="" MaxFilesLimit="1"

    OnFileUploaded="CuteUploader_FileUploaded" UploadType="IFrame" MultipleFilesUpload="False"

    NumFilesShowCancelAll="1" ShowTableHeader="False">

    <ValidateOption MaxSizeKB="2097150" AllowedFileExtensions="jpeg,jpg,gif,png" />

    </CuteWebUI:UploadAttachments>

    <input id="txtfileCup" type="text" runat="server" />

    <asp:Button runat="server" ID="BrowseButtonCup" OnClientClick="return browsebutton_click(this.id)"

    Text="Browse (zip,2GB)" Style="border: 1px solid #507CD1; background-color: #D3DEEF;

    font-size: 9px; width: 100px; height: 22px; color: #284E98;" />

    <asp:Button runat="server" ID="SubmitButtonCup" OnClientClick="return submitbutton_click(this.id)"

    Text="Upload" Style="border: 1px solid #507CD1; background-color: #D3DEEF; font-size: 9px;

    width: 100px; height: 22px; color: #284E98;" Height="20px" />

    </td>

    </tr>

    </table>

    </td>

    </tr>

    </table>

    </ItemTemplate>

    <ItemStyle CssClass="editProjAttrNameCol" Wrap="False" HorizontalAlign="Center" />

    </asp:TemplateField>

    </Columns>

    <HeaderStyle CssClass="editProjGridHeader" HorizontalAlign="Left" />

    </asp:GridView>

     
  •  12-16-2008, 3:54 PM 46988 in reply to 46908

    Re: Using Uploader within gridview control

    This issue is fixed.
     
    Please download the latest build then try again.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-17-2008, 3:49 AM 47010 in reply to 46988

    Re: Using Uploader within gridview control

    Hi Adam,
     
    From where I will get the latest build?
     
    I have downloaded the Ajax Uploader version 2.0 from Download-->AjaxUploader-->Current Releases. But I am still getting the same error.
  •  12-17-2008, 8:17 AM 47021 in reply to 47010

    Re: Using Uploader within gridview control

    Hi vijayp@net,
     
    We are investigating this issue, and will get back to you as soon as possible.
     
    Regards,
     
    Ken
  •  12-30-2008, 8:59 AM 47280 in reply to 47021

    Re: Using Uploader within gridview control

    We have tried with build dated 12/22, same result
  •  12-30-2008, 8:26 PM 47300 in reply to 47280

    Re: Using Uploader within gridview control

    Hi,
     
    We have confirmed that is a design time control rendering issue, and will provide an update in 2-3 days.
     
    Regards,
    Terry
  •  12-30-2008, 11:15 PM 47305 in reply to 47300

    Re: Using Uploader within gridview control

    Awesome, thx - look forward to it
  •  01-06-2009, 2:47 PM 47475 in reply to 47300

    Re: Using Uploader within gridview control

    Awaiting assistance/updates, please help
  •  01-06-2009, 11:41 PM 47478 in reply to 47475

    Re: Using Uploader within gridview control

    Hi,

    We have upload the new version. Please download it again.
     
    Regards,
    Terry
View as RSS news feed in XML