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 /\jmot 230
1 Zoltán Zörgő 210
2 CHill60 145
3 Peter Leow 145
4 Sergey Alexandrovich Kryukov 115
0 Sergey Alexandrovich Kryukov 9,353
1 OriginalGriff 6,881
2 Peter Leow 4,577
3 Zoltán Zörgő 4,129
4 Richard MacCutchan 2,882


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