All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
  Print view

Opening an aspx box
Author Message
PostPosted: Wed Oct 29, 2008 11:54 am 
Offline
Site Admin

Joined: Tue Sep 09, 2008 5:29 pm
Posts: 52
Simple little silverlight application I want to open a box that basically just displays a standard .aspx page in it.

Any suggestions on how to do it ?

_________________
CDOSYS & CDONTS auto detecting mail function: Mail Function
500.100.asp debug page: Debug Script


Top
 Profile E-mail  
 

Re: Opening an aspx box
PostPosted: Wed Oct 29, 2008 5:05 pm 
Offline
New Coder

Joined: Tue Sep 09, 2008 9:08 pm
Posts: 11
as with most silverlight to html interactions, you will need to access the DOM object of the page the silverlight is hosted on, and then you can call any number of things on that element.

From Silverlight:
Code:
HtmlPage.Document.GetElementById("elementId");


Then in your web page:
Code:
<div id="elementId">put content here</div>


You could even use an IFrame to navigate to a page as well.

The following article may help if you want to use the IFrame approach.
http://blogs.msdn.com/markda/archive/20 ... ght-2.aspx


Top
 Profile E-mail  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron