locked
Cannot see OpenFileDialog RRS feed

  • Question

  • User75983383 posted

    Hi, Im using Visual Studio 2008 Professional.

    Im trying to find the OpenFileDialog in the standard toolbox, but I dont see it.

    What can I do so I can see the control?

    Thanks...

    Thursday, June 14, 2012 3:27 PM

Answers

  • User896700311 posted

    Hi,

    for ASP.NET use instead the FileUpload control

    <asp:FileUpload ID="FileUpload1" runat="server" />

    Any doubt, post your comment.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 14, 2012 6:26 PM

All replies

  • User-1362038177 posted

    Hi,

    OpenFileDialog cannot be used in ASP.NET applications. It is for windows form, found under in System.Windows.Forms namespace.

    Thursday, June 14, 2012 5:18 PM
  • User896700311 posted

    Hi,

    for ASP.NET use instead the FileUpload control

    <asp:FileUpload ID="FileUpload1" runat="server" />

    Any doubt, post your comment.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 14, 2012 6:26 PM