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. New Window [modified]

New Window [modified]

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-nettutorialquestion
15 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.
  • M Marcus J Smith

    aa@aa.aa


    CleaKO

    "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
    "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

    Y Offline
    Y Offline
    Yoyosh 0
    wrote on last edited by
    #3

    Yes exactly! Now please tell me how to make it in ASP.NET

    M 1 Reply Last reply
    0
    • Y Yoyosh 0

      How to raise mailer in asp.net? I mean - open up a new mail window from a default mail program. In HTML there was something like that: Send <a href=mailto:aa@aa.aa?sub=sub> Send </a> I can`t make a asp:button and set its PostBackUrl property to: mailto:aa@aa.aa?sub=sub because it SENDS email, instead of just opening the new email window. Any ideas? -- modified at 9:19 Tuesday 27th March, 2007

      M Offline
      M Offline
      Marcus J Smith
      wrote on last edited by
      #4

      Found this, it may be helpful[^]


      CleaKO

      "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
      "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

      V Y 2 Replies Last reply
      0
      • Y Yoyosh 0

        Yes exactly! Now please tell me how to make it in ASP.NET

        M Offline
        M Offline
        Marcus J Smith
        wrote on last edited by
        #5

        If you require a button I just posted another reply, otherwise why not just use something like a link button or hyperlink? Then you just set the navigate URL to "mailto:aa@aa.com".


        CleaKO

        "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
        "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

        1 Reply Last reply
        0
        • M Marcus J Smith

          Found this, it may be helpful[^]


          CleaKO

          "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
          "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

          V Offline
          V Offline
          varshavmane
          wrote on last edited by
          #6

          Hi CleaKO, I need to read mails from Eudora software something like outlook. Actually I need to seperate delivery and undelivery mails from Eudora.I am using ASP.NET2.0(VB).I have created a form where I select the mail ID's , heading, any image or link or attachment to be added with that mail and finally when I clicked on the button send mail then it should open the instance of Eudora and when I say send then it should send the mails.I want to open only one instance with different letter something like mail Merge in word. Do u have any help for the same?Please help me with code. Thanks in advance..

          M 1 Reply Last reply
          0
          • V varshavmane

            Hi CleaKO, I need to read mails from Eudora software something like outlook. Actually I need to seperate delivery and undelivery mails from Eudora.I am using ASP.NET2.0(VB).I have created a form where I select the mail ID's , heading, any image or link or attachment to be added with that mail and finally when I clicked on the button send mail then it should open the instance of Eudora and when I say send then it should send the mails.I want to open only one instance with different letter something like mail Merge in word. Do u have any help for the same?Please help me with code. Thanks in advance..

            M Offline
            M Offline
            Marcus J Smith
            wrote on last edited by
            #7

            This I dont know anything about and I would suggest you start a new thread rather than take someone else's.


            CleaKO

            "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
            "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

            V 1 Reply Last reply
            0
            • M Marcus J Smith

              This I dont know anything about and I would suggest you start a new thread rather than take someone else's.


              CleaKO

              "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
              "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

              V Offline
              V Offline
              varshavmane
              wrote on last edited by
              #8

              Actually I have done that but didnt got any reply till today.I am search this from very long. Anyways thanks for the reply.

              M 1 Reply Last reply
              0
              • M Marcus J Smith

                Found this, it may be helpful[^]


                CleaKO

                "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
                "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

                Y Offline
                Y Offline
                Yoyosh 0
                wrote on last edited by
                #9

                Using a button with the following line in OnClick event: Response.Redirect("aaa@aa.aa") is not a best solution: * it opens a new mail window - thats great, but... * it also leaves a browser window with "aaa@aa.aa" as an addess. This is awfull efect - I would like the browser window to stay on the page, where was the button that I clicked.

                M 1 Reply Last reply
                0
                • V varshavmane

                  Actually I have done that but didnt got any reply till today.I am search this from very long. Anyways thanks for the reply.

                  M Offline
                  M Offline
                  Marcus J Smith
                  wrote on last edited by
                  #10

                  Have you tried Google, it looks like there are some examples there[^]


                  CleaKO

                  "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
                  "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

                  1 Reply Last reply
                  0
                  • Y Yoyosh 0

                    Using a button with the following line in OnClick event: Response.Redirect("aaa@aa.aa") is not a best solution: * it opens a new mail window - thats great, but... * it also leaves a browser window with "aaa@aa.aa" as an addess. This is awfull efect - I would like the browser window to stay on the page, where was the button that I clicked.

                    M Offline
                    M Offline
                    Marcus J Smith
                    wrote on last edited by
                    #11

                    Since you insist on using an asp:button to do this look here[^], it looks like this will require JavaScript.


                    CleaKO

                    "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
                    "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

                    Y 1 Reply Last reply
                    0
                    • M Marcus J Smith

                      Since you insist on using an asp:button to do this look here[^], it looks like this will require JavaScript.


                      CleaKO

                      "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
                      "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

                      Y Offline
                      Y Offline
                      Yoyosh 0
                      wrote on last edited by
                      #12

                      I insist to use asp:button, because I have several other things that have to be done after clicking on this button. Your help is extremaly usefull, but I`m not an expert in Javascript and there is one more small hint that I need: I read this article and I copied the function: function OpenMail() { location.href = "mailto:help@help.net"; return false; } into my .aspx page. My button has the following definition: <asp:Button ID="AcceptButton" runat="server" Text="aa" OnClick="AcceptButton_Click" CausesValidation="False" UseSubmitBehavior="False" /> And as I said before, several things has to be done after clicking on this button, so AcceptButton_Click looks like: protected void AcceptButton_Click(object sender, EventArgs e) { ClearData(); ... //How to call that method written in Javascript? } The question is - how to call that method written in Javascript?

                      _ 1 Reply Last reply
                      0
                      • Y Yoyosh 0

                        I insist to use asp:button, because I have several other things that have to be done after clicking on this button. Your help is extremaly usefull, but I`m not an expert in Javascript and there is one more small hint that I need: I read this article and I copied the function: function OpenMail() { location.href = "mailto:help@help.net"; return false; } into my .aspx page. My button has the following definition: <asp:Button ID="AcceptButton" runat="server" Text="aa" OnClick="AcceptButton_Click" CausesValidation="False" UseSubmitBehavior="False" /> And as I said before, several things has to be done after clicking on this button, so AcceptButton_Click looks like: protected void AcceptButton_Click(object sender, EventArgs e) { ClearData(); ... //How to call that method written in Javascript? } The question is - how to call that method written in Javascript?

                        _ Offline
                        _ Offline
                        _AK_
                        wrote on last edited by
                        #13

                        You can call attach the javascript to the serverside control like this: Button1.Attributes.Add("onClick","javascript functionname();");

                        Best Regards, Apurva Kaushal

                        1 Reply Last reply
                        0
                        • Y Yoyosh 0

                          How to raise mailer in asp.net? I mean - open up a new mail window from a default mail program. In HTML there was something like that: Send <a href=mailto:aa@aa.aa?sub=sub> Send </a> I can`t make a asp:button and set its PostBackUrl property to: mailto:aa@aa.aa?sub=sub because it SENDS email, instead of just opening the new email window. Any ideas? -- modified at 9:19 Tuesday 27th March, 2007

                          Y Offline
                          Y Offline
                          Yoyosh 0
                          wrote on last edited by
                          #14

                          Thank you both very much guys! The button.attributes(...) was correct a correct solution to the last part of the problem

                          M 1 Reply Last reply
                          0
                          • Y Yoyosh 0

                            Thank you both very much guys! The button.attributes(...) was correct a correct solution to the last part of the problem

                            M Offline
                            M Offline
                            Marcus J Smith
                            wrote on last edited by
                            #15

                            Im glad it worked, I just hate requiring JavaScript for functionality because you will use this and someone will have scripting turned off then they wont be able to get the mailto function of the button click. You can also use a LinkButton and call a server command when it is clicked in order to do the same thing and I think you can have it appear as a command button.


                            CleaKO

                            "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
                            "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

                            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