hiding a page

M

mirza i

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
 
S

Steve

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.
 
D

Dave Anderson

mirza said:
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?

Define "call back X". It sounds to me like you are using a client-side
redirection. If you use Response.Redirect(), 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top