Uploading files in Enterprise Portal


i have issue, how to upload files through enterprise portal? I’d like to make it look like in image below:

There is a gridView, where i want the upload button appear, if there’s no file attached already. And there should appear a hyperlink to download a file, if there’s attached a file already. What’s the best way to do that. What should i put in X++ and what in .NET? The possibility to save files is ok both: in AXDatabase or in File System. Any suggestions?

No one can help? tried to use:

<asp:TemplateField HeaderText=“file”>

<asp:UpdatePanel ID=“UpdatePanel” runat=“server” UpdateMode=“Conditional” >

<asp:PostBackTrigger ControlID=“UploadButton” />

<asp:FileUpload ID=“FileUploadControl” runat=“server” />

<asp:Button ID=“UploadButton” runat=“server” onclick=“UploadButton_Click” Text=“upload” />



but that gives:

System.Web.HttpParseException: Unknown server tag ‘asp:UpdatePanel’

Hey Ax’re ,

Have you solve this problem ,I need your help for creating document handling functionality On EP in dynamics Ax 2009.If you have time then please reply me soon.

Thanks & Regards

Arun Garg