Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Preventing a modal dialog from doign a postback

Reply
Thread Tools

Preventing a modal dialog from doign a postback

 
 
John
Guest
Posts: n/a
 
      03-17-2005
Hi all,

I have a situation where I'm using a modal dialog to merely show the user
some data. Once the user has finished, there is only one button to click to
return to the previous (parent) page but a postback is done. The modal
dialog is invoked from a linkbutton on the parent.

How can I prevent this unnecessary postback?

Regards
John.


 
Reply With Quote
 
 
 
 
Bruce Barker
Guest
Posts: n/a
 
      03-17-2005
on the button

<input type=button value = "close" onclick="window.close();return false;" >


"John" <> wrote in message
news:...
> Hi all,
>
> I have a situation where I'm using a modal dialog to merely show the user
> some data. Once the user has finished, there is only one button to click
> to return to the previous (parent) page but a postback is done. The modal
> dialog is invoked from a linkbutton on the parent.
>
> How can I prevent this unnecessary postback?
>
> Regards
> John.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ruby string format kicks in when doign wild card in activerecord Junkone Ruby 4 06-16-2008 06:05 AM
Opening modal page from modal page Don ASP .Net 0 05-27-2008 11:49 PM
Modal and non modal in same app Leila Java 0 04-26-2005 09:48 PM
Modal dialog windows position on postback Rod Javascript 3 04-14-2005 03:11 PM
post the form data in modal window and close the modal window. Matt HTML 1 06-01-2004 08:22 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57