Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Save As Dialog Box in Asp.Net Application

Save As Dialog Box in Asp.Net Application

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadmintutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pavanip
    wrote on last edited by
    #1

    Hi, I want to implement Save As Dialog Box Asp.Net Application but there is no specific save dialog file and open dialog file in toolbox. I tried the following code to open Save as Dialog box Response.ContentType = "image/jpeg"; Response.AppendHeader("Content-Disposition", "attachment; filename=image.jpg"); Response.TransmitFile(Server.MapPath("~/images/")); But in this I am specifying specific file to save but i need to enter the file name dynamically by the user to save it in specified path. Can anyone please help me how to resolve this problem. Thanks in Advance Pavani

    A A 2 Replies Last reply
    0
    • P pavanip

      Hi, I want to implement Save As Dialog Box Asp.Net Application but there is no specific save dialog file and open dialog file in toolbox. I tried the following code to open Save as Dialog box Response.ContentType = "image/jpeg"; Response.AppendHeader("Content-Disposition", "attachment; filename=image.jpg"); Response.TransmitFile(Server.MapPath("~/images/")); But in this I am specifying specific file to save but i need to enter the file name dynamically by the user to save it in specified path. Can anyone please help me how to resolve this problem. Thanks in Advance Pavani

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      means ASP.NET from browser... Its not possible.. :^) :^)

      Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
      Create .NET Templates

      1 Reply Last reply
      0
      • P pavanip

        Hi, I want to implement Save As Dialog Box Asp.Net Application but there is no specific save dialog file and open dialog file in toolbox. I tried the following code to open Save as Dialog box Response.ContentType = "image/jpeg"; Response.AppendHeader("Content-Disposition", "attachment; filename=image.jpg"); Response.TransmitFile(Server.MapPath("~/images/")); But in this I am specifying specific file to save but i need to enter the file name dynamically by the user to save it in specified path. Can anyone please help me how to resolve this problem. Thanks in Advance Pavani

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        Why you are trying to do so? Client Browser will give him a message for save/open/Run etc... and if clicks on Save, it will save it to default Download location that already set by the user.

        cheers, Abhijit CodeProject MVP

        C 1 Reply Last reply
        0
        • A Abhijit Jana

          Why you are trying to do so? Client Browser will give him a message for save/open/Run etc... and if clicks on Save, it will save it to default Download location that already set by the user.

          cheers, Abhijit CodeProject MVP

          C Offline
          C Offline
          codekhan11
          wrote on last edited by
          #4

          Hello i'm also trying to do the same on "button click" it should ask for physical path to save! please help

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups