asp.net with c# application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    asp.net with c# application

    Welcome to the site. Not sure what your question means.
  • g7murali
    New Member
    • May 2007
    • 6

    #2
    a web page (for example www.google.com) should be open in a new window when i click a button in asp.net application

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Well, in regular HTML you would supply a TARGET="" inside the [HTML]<a href="" target="">mylin k</a>[/HTML] tag to make it jump into a new window.

      Comment

      • g7murali
        New Member
        • May 2007
        • 6

        #4
        hi thanx
        it is working
        but i need in c# coding not in html or any other scrips

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          There won't be any, and if there was it would be just a stub to do javascript.

          The C# code is ONLY used in the background for data storage and object manipulation. What gets spit back to the client is HTML and javascript.

          You're not creating spamming popups are you?

          Comment

          • g7murali
            New Member
            • May 2007
            • 6

            #6
            but when i am using this code

            System.Diagnost ics.Process.Sta rt("http://www.google.com" );
            or
            Response.Redire ct("http://www.google.com" );

            it is working but the web page opens in existing page, but i need it to be open in a new window and my existing page should be same

            please see this

            <INPUT type=button value="google" onclick="window .open('http://google.com')">

            this is working correctly but i need not to be written in html script
            i need only in c# coding

            Comment

            • g7murali
              New Member
              • May 2007
              • 6

              #7
              hi to all

              how to write code for multiple key word searching from database using textbox in c# web application

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                Originally posted by g7murali
                but when i am using this code

                System.Diagnost ics.Process.Sta rt("http://www.google.com" );
                or
                Response.Redire ct("http://www.google.com" );

                it is working but the web page opens in existing page, but i need it to be open in a new window and my existing page should be same

                please see this

                <INPUT type=button value="google" onclick="window .open('http://google.com')">

                this is working correctly but i need not to be written in html script
                i need only in c# coding
                C# coding is for Server Side processing.
                Opening a web page in another window does not require Server Side processing...

                Html is a major part of programming a C# web application. You will have to use it in order to display your pages and for things like opening a link in a new browser.

                -Frinny

                Comment

                • Frinavale
                  Recognized Expert Expert
                  • Oct 2006
                  • 9749

                  #9
                  Originally posted by g7murali
                  hi to all

                  how to write code for multiple key word searching from database using textbox in c# web application
                  G7murali,

                  I have created a new thread for this question.
                  You can find it here .

                  -Frinny

                  Comment

                  Working...