ASP.NET modal dialog effect

2012-07-16 Thread Greg Keogh
Folks, we have a traditional ASP.NET page with a need for a popup product
picker. We need that mock modal dialog effect you get (for example) in
Gmail where you do things like Export Contacts, create New Group, etc. Gmail
even has a nice effect where the background disables and the popup has a
drop shadow and a close X button to simulate a real model window in a web
page.

 

What is the quickest and least painful way of getting this modal dialog
effect in an ASP.NET page?

 

My previous experience with Javascript and ASP.NET combined has been a
nightmare of quirks and failure trying to manage the lifetime and
interaction of the two. So I'm hoping there are some kits or tools to help
me. Any advice would be greatly appreciated so I can knock-up a demo asap.

 

Thanks

Greg



RE: ASP.NET modal dialog effect

2012-07-16 Thread Williams, Thomas
Hi Greg - I'd say it would be worth the overhead to include jQuery and a 
pop-up/modal like http://swip.codylindley.com/DOMWindowDemo.html

Can pop-up using an IFRAME to contain another page, or a DIV on the current 
page, or via AJAX.

However it's a client solution, nothing to do with ASP.NET server-side code.

Thomas


From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Tuesday, 17 July 2012 9:55 AM
To: 'ozDotNet'
Subject: ASP.NET modal dialog effect

Folks, we have a traditional ASP.NET page with a need for a popup product 
picker. We need that mock modal dialog effect you get (for example) in Gmail 
where you do things like Export Contacts, create New Group, etc. Gmail even has 
a nice effect where the background disables and the popup has a drop shadow and 
a close X button to simulate a real model window in a web page.

What is the quickest and least painful way of getting this modal dialog effect 
in an ASP.NET page?

My previous experience with Javascript and ASP.NET combined has been a 
nightmare of quirks and failure trying to manage the lifetime and interaction 
of the two. So I'm hoping there are some kits or tools to help me. Any advice 
would be greatly appreciated so I can knock-up a demo asap.

Thanks
Greg


Peninsula Health - Metropolitan Health Service of the Year 2007  2009


Re: ASP.NET modal dialog effect

2012-07-16 Thread Wallace Turner

i've used this in the past with mvc, may be of use
http://jqueryui.com/demos/dialog/#modal-form


On 17/07/2012 7:59 AM, Williams, Thomas wrote:


Hi Greg -- I'd say it would be worth the overhead to include jQuery 
and a pop-up/modal like http://swip.codylindley.com/DOMWindowDemo.html


Can pop-up using an IFRAME to contain another page, or a DIV on the 
current page, or via AJAX.


However it's a client solution, nothing to do with ASP.NET server-side 
code.


Thomas

*From:*ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Greg Keogh

*Sent:* Tuesday, 17 July 2012 9:55 AM
*To:* 'ozDotNet'
*Subject:* ASP.NET modal dialog effect

Folks, we have a traditional ASP.NET page with a need for a popup 
product picker. We need that mock modal dialog effect you get (for 
example) in Gmail where you do things like Export Contacts, create New 
Group, etc. Gmail even has a nice effect where the background disables 
and the popup has a drop shadow and a close X button to simulate a 
real model window in a web page.


What is the quickest and least painful way of getting this modal 
dialog effect in an ASP.NET page?


My previous experience with Javascript and ASP.NET combined has been a 
nightmare of quirks and failure trying to manage the lifetime and 
interaction of the two. So I'm hoping there are some kits or tools to 
help me. Any advice would be greatly appreciated so I can knock-up a 
demo asap.


Thanks

Greg


Peninsula Health - Metropolitan Health Service of the Year 2007  2009





Re: ASP.NET modal dialog effect

2012-07-16 Thread Michael Ridland
My previous experience with Javascript and ASP.NET http://asp.net/ combined
has been a nightmare of quirks and failure trying to manage the lifetime
and interaction of the two.

I've never had a problem of this sort.



On Tue, Jul 17, 2012 at 9:54 AM, Greg Keogh g...@mira.net wrote:

 Folks, we have a traditional ASP.NET page with a need for a popup
 “product picker”. We need that mock modal dialog effect you get (for
 example) in Gmail where you do things like Export Contacts, create New
 Group, etc. Gmail even has a nice effect where the background disables and
 the popup has a drop shadow and a close X button to simulate a real model
 window in a web page.

 ** **

 What is the quickest and least painful way of getting this modal dialog
 effect in an ASP.NET page?

 ** **

 My previous experience with Javascript and ASP.NET combined has been a
 nightmare of quirks and failure trying to manage the lifetime and
 interaction of the two. So I’m hoping there are some kits or tools to help
 me. Any advice would be greatly appreciated so I can knock-up a demo asap.
 

 ** **

 Thanks

 Greg




-- 

*Michael Ridland | ThinkSmart Digital*
Managing Director
P. 0404 865 350
E. mich...@thinksmartdigital.com.au
W. www.thinksmartdigital.com.au
T. www.twitter.com/rid00z
L. au.linkedin.com/in/michaelridland


 http://au.linkedin.com/in/michaelridland


RE: ASP.NET modal dialog effect

2012-07-16 Thread Greg Low (GregLow.com)
Hi Greg,

 

Along with what the other guys have said, I'd add a vote for try to avoid
the need for anything modal if possible. Is there any way to avoid the need
for it to be modal?

 

Regards,

 

Greg

 

Dr Greg Low

 

1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax


SQL Down Under | Web:  http://www.sqldownunder.com/ www.sqldownunder.com

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Greg Keogh
Sent: Tuesday, 17 July 2012 9:55 AM
To: 'ozDotNet'
Subject: ASP.NET modal dialog effect

 

Folks, we have a traditional ASP.NET page with a need for a popup product
picker. We need that mock modal dialog effect you get (for example) in
Gmail where you do things like Export Contacts, create New Group, etc. Gmail
even has a nice effect where the background disables and the popup has a
drop shadow and a close X button to simulate a real model window in a web
page.

 

What is the quickest and least painful way of getting this modal dialog
effect in an ASP.NET page?

 

My previous experience with Javascript and ASP.NET combined has been a
nightmare of quirks and failure trying to manage the lifetime and
interaction of the two. So I'm hoping there are some kits or tools to help
me. Any advice would be greatly appreciated so I can knock-up a demo asap.

 

Thanks

Greg



RE: ASP.NET modal dialog effect

2012-07-16 Thread Greg Keogh
Along with what the other guys have said, I'd add a vote for try to avoid
the need for anything modal if possible.

Is there any way to avoid the need for it to be modal?

 

I don't generally like modal stuff unless it's something that really
deserves the user's attention and this could be one. The web page order form
has no spare space to have a product picker which contain hundreds of
categorised items. It used to be a ComboBox but it was too long. Then it was
a context menu but it has unfriendly fly-out behaviour. Now we're
considering a modal popup, which would be my natural choice in a desktop
app.

 

Greg (K)



RE: ASP.NET modal dialog effect

2012-07-16 Thread Greg Keogh
My previous experience with Javascript and  http://asp.net/ ASP.NET
combined has been a nightmare of quirks and failure trying to manage the
lifetime and interaction of the two.

I've never had a problem of this sort.

 

Then I must be an idiot. A few months ago it took me 3 hours to write a few
lines of Javascript that enabled some controls when you changed other
controls, and when I thought it was working beautifully in different
browsers I discovered that a page load sometimes upset the sequence of
events and it failed. So I stuff different bits of code into the different
emit events in the ASP.NET page lifetime and it just gets worse and
incomprehensible. Someone in here said that javascript is like the assembly
language of the web ... well yeah, it's hell to write it yourself. The
whole history of the web, html and scripting is a gigantic mess of
uncoordinated hacks and half-baked ideas, compounded by different standards
and browser behaviour. Once day we'll all look back and laugh at the days of
html5 when gigantic compiler generated non human readable scripts were
driving rectangles and lines across browser screens. I'm laughing already.

 

Greg

 



RE: ASP.NET modal dialog effect

2012-07-16 Thread Greg Keogh
However it's a client solution, nothing to do with ASP.NET server-side
code.

 

Although I do have to get ASP.NET to emit the correct scripts for the
client-side dialog to work. I'm following the links and looking around --
Greg