I want to Upload Image on click button


I am trying to upload an image on clicking a Input Button not Input File Button.

E.g. I want to call Image Browse window by clicking on Input Button.

Please let me know if there is any way to do this…as I’ve tried all to search it but no success.

Please let me know your expert.

All helpful information would be appreciated.


I’ve tried something in Asp and this code is working fine with I.E. but not working in Firefox.

<script language="javascript" type="text/javascript">
function Open() {

return false;
<asp:FileUpload ID="FileUpload1" runat="server" style="display: none" />
<br />
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="Open()" />

Yes this code is working really i used it.

But its not working for me…

It would be great if you tell me how u tried this…