title: Silverlight deep linking not using pages and frame?
body: <p>I need to be able to load html page with Silverlight module presenting the content based on page was accessed from. For example, if request to open the page come from Page1.html than the content will show Content.1. I tried to work on it but need more information. Any help is highly appreciated:</p>
  
  <p>Here is my code:
  HTML: assigned new param:</p>
  
  <pre><code>&lt;param name="inputParams" value="Page1.html" /&gt; 
  </code></pre>
  
  <p>It can be a different url string.</p>
  
  <p>Silverlight Code in App.xaml.cs</p>
  
  <pre><code>private void Application_Startup(object sender, StartupEventArgs e)
      {
          this.RootVisual = new MainPage();
          if (e.InitParams != null)
          {
              string ValueParam = e.InitParams["value"];
          }
      }
  </code></pre>
  
  <p>MainPage.xaml.cs</p>
  
  <pre><code>public MainPage() 
      { 
          InitializeComponent(); 
  
          this.Loaded += new RoutedEventHandler(MainPage_Loaded);  
  
      } 
  
      void MainPage_Loaded(object sender, RoutedEventArgs e) 
      { 
          if (ValueParam = ?) 
          { 
              contentIndex =1; 
          } 
      } 
  </code></pre>