Click here to Skip to main content
11,482,333 members (69,290 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript
By using
<asp:FileUpload ID="flDoc" runat="server"/>

Browse Button is displayed.. i want to change the browse button to an image button so that i can select the image button from my system.

can it be possible using jquery or any other way.

thank you,
yashoda
Posted 16-Mar-11 0:08am
Edited 16-Mar-11 0:11am
v2
Comments
Sandeep Mewara at 16-Mar-11 5:17am
   
AFAIK, not possible. (Yet not posting it as an answer to let others share their thoughts)

You have to make your own custom control for it.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I think you cannot do it in Fileupload control.
Please check this below link.
You can do it by just using the input html tag with type="file" and some custom coding.

http://www.quirksmode.org/dom/inputfile.html[^]
  Permalink  
v2
Comments
Dalek Dave at 16-Mar-11 5:21am
   
Good Link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 16 Mar 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100