Silverlight tabcontrol with external Page as content - silverlight

I am new to silverlight. I'm trying to convert a jquery tabcontrol page to a SL 4. on my previous page each tab was containing an iframe with its URL to an external page. Let's say, the first one is http://Google.com, the second one is http://Microsoft.com etc.How can i make in SL.

SL 4 introduced a Web browser control which used to be available only in 3rd party offers previously (ComponentOne for instance)
So you just have to add two tabs to your tab control, define a web browser control as the content of each tab and call Navigate to go to a specific Url

Related

angularjs no effect in ascx page

I have web application with master page and content pages. Inside content aspx page I am trying to open a model popup user control ascx page using Ajax ModalPopupExtender.
Inside ascx user control trying to bind data from database using AngularJS.
Initially when I open the user control page, table/grid is not displaying any data.
Using Developer tools IE/Crome when I reload the page, next time it shows the data.
I think DOM is not getting updated in the first display, how can I solve this problem.
Thanks,
Ali

dotnetnuke hide menu from page

I'm running a dotnetnuke project (v7.0) with 2 portals.
I need to remove the default DDR menu from one page only.
The menu works great now with multiple pages and sub-pages, however on 1 specific page , ie landing page, I don't want to show the menu.
Right now I can think of 2 methods for achieving this:
Create a new skin template, remove menu, apply template to that one page
Use jquery to detect URL, for that page hide menu.
I'd rather just code the logic inside the template file, but I'm not strong in .net/c# and I'm new to DNN.
It's just one page today.
However, if you are using it for a landing page design I would recommend you just create another skin and exclude it from that and tailor that skin for that need.
That way when your non-technical editors need to work on the site and make a page that might only be used when linking from Google Adwords or whatever they can pick a template without that navigation and you as the developer/designer don't need to edit the skin to put in another exception based on the URL.

WPF tab control dynamically load another xbap

I am tasked to develop a Tab control which would dynamically load another xbap. The only way I see possible is that add a WebBrowser object to the tab, and make that browser navigate to the 2nd xbap. So the structure will be a browser contains xbap which contains another browser with another xbap.
Is it the best practice with that structure?
Thanks!

Show Background Image While Loading Silverlight Application

I have a Silverlight app that takes a few seconds to display on a webpage. While loading, the user sees a blank space. Is there a way to show some sort of alt text or background image behind the application while it is loading to indicate to the user what is happening?
Check that out :
http://msdn.microsoft.com/en-us/library/cc903962(VS.95).aspx
Based on the above link posted by danbord, I found that this can be accomplished via a splash screen. Basically, the splash screen will be loaded while the .xap is still being downloaded for a silverlight application. This can be implemented as follows:
Create splash screen .xaml file (this can be done in Visual Studio by creating a Silverlight 1.0 JScript page)
Add a splashScreenSource parameter to your object tag in the webpage hosting your silverlight application. This should point to the .xaml file created in step 1.
It is important that the value of the splashscreen param resolve to the correct location of the .xaml file relative to the page the silverlight app is hosted in. For example, if your SplashScreen.xaml file is in your website root, but the page hosting your silverlight app is in a subfolder, you will need to use
<param name="splashScreenSource" value="../SplashScreen.xaml" />
There are also other options that can be added such as attaching an event handler to the onSourceDownloadProgressChanged event to update a progress bar or some other UI animation.

Facebook Application/ Tab application session

I've got an application that exists primarily for use as a tab, with the canvas page acting as a control panel. When a user authorizes the tab for their page, Facebook redirects to the page url (e.g. http://www.facebook.com/pages/PAGE-NAME … nstalled=1) with the Wall visible, but I would like it to redirect to the canvas page (e.g. http://apps.facebook.com/APP-NAME/?fb_p … nstalled=1). My reason for this is that I need the fb_page_id so I can link the page installed to their saved settings on my end.
Is there some setting I need to change to enable it, or FBML to add to the tab? You can see a working model of this by installing an Involver tab (http://involver.com/), as the app will automatically redirect to the canvas page with both the fb_page_id and installed variables.
Thanks!

Resources