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. how to force a page to post back from another page?

how to force a page to post back from another page?

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
3 Posts 2 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.
  • R Offline
    R Offline
    r_jaz
    wrote on last edited by
    #1

    Hi every one, I need help in making a page to post back when another page postsback, lets say when a button is clicked in the other page!! Your help is highly appreciated.. Thanks

    L 1 Reply Last reply
    0
    • R r_jaz

      Hi every one, I need help in making a page to post back when another page postsback, lets say when a button is clicked in the other page!! Your help is highly appreciated.. Thanks

      L Offline
      L Offline
      liliblacsharp
      wrote on last edited by
      #2

      You mean, you have 2 web pages? 1 is parent and another is the child? Example: parentWeb.aspx -> main web page. parentWeb.aspx call another webPage (ex. childWeb.aspx). When user click button on childWeb.aspx, you can make parentWeb.aspx post back by this way: On childWeb.aspx: var wndParams = window.dialogArguments; opener = wndParams[0]; --> parentWeb.aspx function onButtonClick() { opener.doWebPostback(); } On parentWeb.aspx: function doWebPostback() { document.Form1.submit(); } Hope this can help you :) Lili

      R 1 Reply Last reply
      0
      • L liliblacsharp

        You mean, you have 2 web pages? 1 is parent and another is the child? Example: parentWeb.aspx -> main web page. parentWeb.aspx call another webPage (ex. childWeb.aspx). When user click button on childWeb.aspx, you can make parentWeb.aspx post back by this way: On childWeb.aspx: var wndParams = window.dialogArguments; opener = wndParams[0]; --> parentWeb.aspx function onButtonClick() { opener.doWebPostback(); } On parentWeb.aspx: function doWebPostback() { document.Form1.submit(); } Hope this can help you :) Lili

        R Offline
        R Offline
        r_jaz
        wrote on last edited by
        #3

        First of all thank you.. I have a page contains 2 frames, each is a .aspx, and I want to force the second one to post back when a button in the first page is clicked, its not a parent and child pages.. Thanks again anyway..

        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