hiding a page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mirza i

    hiding a page

    hi there!

    i got page X in asp and a button on it. when i click a button it will call
    other asp page (Y) then perform a function (delete a record, change a
    setting) and call back X. obviously, as soon as i click the button page Y
    flashes, performs an op and it opens X. the code works but that flashing
    annoys me.

    i would like to server to hide the Y flashing. is there a way?

    kind regards


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004


  • Dave Anderson

    #2
    Re: hiding a page

    mirza i wrote:[color=blue]
    >
    > i got page X in asp and a button on it. when i click a button it will
    > call other asp page (Y) then perform a function (delete a record,
    > change a setting) and call back X. obviously, as soon as i click the
    > button page Y flashes, performs an op and it opens X. the code works
    > but that flashing annoys me.
    >
    > i would like to server to hide the Y flashing. is there a way?[/color]

    Define "call back X". It sounds to me like you are using a client-side
    redirection. If you use Response.Redire ct(), there should be no flash.


    --
    Dave Anderson

    Unsolicited commercial email will be read at a cost of $500 per message. Use
    of this email address implies consent to these terms. Please do not contact
    me directly or ask me to contact you directly for assistance. If your
    question is worth asking, it's worth posting.


    Comment

    • Steve

      #3
      RE: hiding a page

      Hi,

      Since you are not displaying page Y then you could simply use the function
      on page Y in page X. Just copy and paste the function into page X... When
      you press the button refresh page X and POST a variable to let yourself know
      to call the function. If you are deleting a row from a database make sure
      your function call is at the beginning of the page X so page X refreshes only
      once with the lastest information.



      "mirza i" wrote:
      [color=blue]
      > hi there!
      >
      > i got page X in asp and a button on it. when i click a button it will call
      > other asp page (Y) then perform a function (delete a record, change a
      > setting) and call back X. obviously, as soon as i click the button page Y
      > flashes, performs an op and it opens X. the code works but that flashing
      > annoys me.
      >
      > i would like to server to hide the Y flashing. is there a way?
      >
      > kind regards
      >
      >
      > ---
      > Outgoing mail is certified Virus Free.
      > Checked by AVG anti-virus system (http://www.grisoft.com).
      > Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004
      >
      >
      >[/color]

      Comment

      Working...