Click here to Skip to main content
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)

  Print Answers RSS
0 Sascha Lefévre 485
1 Sergey Alexandrovich Kryukov 325
2 Maciej Los 240
3 Abhinav S 174
4 Peter Leow 120
0 Sergey Alexandrovich Kryukov 6,953
1 OriginalGriff 6,311
2 Maciej Los 2,732
3 Peter Leow 2,674
4 Abhinav S 2,562


Advertise | Privacy | Mobile
Web01 | 2.8.150414.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