Re: Use my own button in input=file ??

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Michael (xxx.xxx.xxx)
Date: 02/22/05


Date: Tue, 22 Feb 2005 09:34:20 -0800

I've had the same problem and just wound up using the standard html control.
So now I have this one ugly gray button that doesn't conform to the design
spec.

I know that somehow the html file input control resolves the local file to
something that the server can understand because we have this HTTPPostedFile
object which is readonly. If I can find out how this resolution happens,
I'll let you know.

"louise raisbeck" <louiseraisbeck@discussions.microsoft.com> wrote in
message news:43C43B41-92CB-49D6-814F-007A165495EF@microsoft.com...
> Hi there, I have read posts that say you can change certain style
attributes
> of this html control but we actually have defined buttons for our site,
and
> the browse button in this control just doesnt conform to this. I would
really
> like to create a bespoke button to use with the control. Can I do this
(dont
> think so)? If not, I'll probably have to produce my own text box with a
> button which opens a file browser window, then places the path in this
text
> box. Does anyone have any examples on how to do this? I am using c# .net
and
> javascript. thanks.



Relevant Pages

  • Re: Html control embedded
    ... I am developping with MFC on Windows Mobile platforms and I have some ... questions about embedding a HTML control inside a control. ... In the desktop MFC, ...
    (microsoft.public.vc.mfc)
  • Re: Whats the server control equivalent of ?
    ... There is an attribute called ThemeableAttribute, which, if set to ... HtmlInputImage Control is not themeable. ... > My skin file contains a definition for an ImageButton, ... ImageButton is a web server control, not an HTML control. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Html control embedded
    ... I am developping with MFC on Windows Mobile platforms and I have some questions about embedding a HTML control inside a control. ... Actually I have declared a control deriving from CWnd and inside the OnCreate I am loading the DLL htmlview.dll and I call its function InitHTMLControl. ... The problem with this is I get two windows handle for this control and sometimes when my application is loading and there is a heavy cpu load I see that the HTML control is not painted. ...
    (microsoft.public.vc.mfc)
  • Re: spaces in select names
    ... spacing in HTML control names and subsequently being able to access ... these input elements in JavaScript If you don't have time to read the ... document.Allan.another magnificent day.length ...
    (comp.lang.javascript)
  • Re: InkX
    ... Sounds like something you could achieve with a HTML control, unlike the InkX ... I have tried inkx but when I paste picture it covers the ...
    (microsoft.public.pocketpc.developer)