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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to disable post method with in form tag in .net with c#

how to disable post method with in form tag in .net with c#

Scheduled Pinned Locked Moved ASP.NET
csharptutorialquestion
5 Posts 3 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.
  • S Offline
    S Offline
    sugunavathysubramanian
    wrote on last edited by
    #1

    hai, i am using ,

    first input button click event it is post to action url.but the second button do the same action. but i want to redirect "Default.aspx" page is it possible? it is possible send code to me.... Thanks to All....
    
    C N 2 Replies Last reply
    0
    • S sugunavathysubramanian

      hai, i am using ,

      first input button click event it is post to action url.but the second button do the same action. but i want to redirect "Default.aspx" page is it possible? it is possible send code to me.... Thanks to All....
      
      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can do a cross page postback to redirect with a post.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      S 1 Reply Last reply
      0
      • S sugunavathysubramanian

        hai, i am using ,

        first input button click event it is post to action url.but the second button do the same action. but i want to redirect "Default.aspx" page is it possible? it is possible send code to me.... Thanks to All....
        
        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        sugunavathysubramanian wrote:

        but i want to redirect "Default.aspx" page is it possible? it is possible send code to me....

        Is this in ASP.NET ? To redirect that button click to other page, put that inside another form with action as your required page.

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

        1 Reply Last reply
        0
        • C Christian Graus

          You can do a cross page postback to redirect with a post.

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          S Offline
          S Offline
          sugunavathysubramanian
          wrote on last edited by
          #4

          i donot know about this .send code to me.. Thanks to You.

          N 1 Reply Last reply
          0
          • S sugunavathysubramanian

            i donot know about this .send code to me.. Thanks to You.

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            sugunavathysubramanian wrote:

            send code to me..

            I doubt. Why don't you do a search with the hints he given ? Or get a beginer book and work with that.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

            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