Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

How do I mimic the "Silverlight" popup behavior that MS is using?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Kotuby - 01 Feb 2008 17:31 GMT
Hi all,
I would like to mimic the same behavior that happens on many of Microsoft's
web pages where the "Install Microsoft Silverlight" popover box appears.
That would include the "fogging" and apparent disabling of the underlying
page, and the fact that the box does not have any navigation controls, as it
is apparently not a Window.

I am using VB and ASP.NET 2.0 but I could upgrade to VS 2008 if necessary as
I like the JSON/Web Service model of AJAX better (even though I have MUCH to
learn about it).

I have done some similar things, but in a much more simplistic fashion. I
include a DIV area on the page in which I set the style="visibility: hidden;
position: absolute; top: 40%; left: 40%". Then in javascript I simply grab
the DIV as an object by its ID and:

var theDiv = document.getElementById('divHidden');
theDiv .style.visibility = "visible";

The once-hidden DIV shows up over top of the previously visible page.
But I am certainly missing some steps.
I don't know how to "disable" the now underlying page nor "blur" it with the
smoke effect.

Smoke and Mirrors I suppose :-)

If I can get a similar effect in VS 2005, for now that would be preferable.

Thanks for any help with this...
Phil Johnson - 01 Feb 2008 19:30 GMT
You might find some sample code for the pop up at the links from this page...

http://weblogs.asp.net/scottgu/archive/2007/10/30/optimizing-the-silverlight-ins
tall-experience.aspx


Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

> Hi all,
> I would like to mimic the same behavior that happens on many of Microsoft's
[quoted text clipped - 25 lines]
>
> Thanks for any help with this...
John Kotuby - 01 Feb 2008 22:01 GMT
Thanks Phil,

Great link! More info than I had hoped for.

Of course Microsoft would want us to know how to display the same type of
advertising they use along with the seamless approach to installing
Silverlight. Certainly as a fledgling (of almost a year now) ASP.NET
programmer, I would want to use the latest "buzzword" tools.

When MS sees $$$ the quality of their developer support really goes up a
notch or two ;-)

Oops, I'd better not bite the hand that feeds me...

Thanks again.

> You might find some sample code for the pop up at the links from this
> page...
[quoted text clipped - 38 lines]
>>
>> Thanks for any help with this...
Phil Johnson - 01 Feb 2008 22:49 GMT
No problems John,

Scott Guthrie's blog is a great source of info.  I think he is the product
manager for .net at MS or something like that so anything new in the ASP.NET
world generally comes out on Scott's blog first.

My understanding is that MSN have the sole right to publishing internet
video from this years olympics and its all going to be streamed in
Silverlight (definitely more $$$ for MS ;-)

That should really increase the penetration of Silverlight installed on
clients round the globe.

Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

> Thanks Phil,
>
[quoted text clipped - 54 lines]
> >>
> >> Thanks for any help with this...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.