Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5971359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:30:20+00:00 2026-05-22T20:30:20+00:00

Is it possible to have two controls on one page side-by-side in Silverlight? It

  • 0

Is it possible to have two controls on one page side-by-side in Silverlight? It seems very restrictive to have just one user control on just one page.

I am new to silverlight. But each page seems to have this “UserControl x:Class…” at the top of the main page XAML. So what if you want to have an app where there are two side-by-side that influences each other?

OK, it is not in the App, it is in the page.xaml. So I guess to explain further let me ask this. Is it possible to have two pages in onw app?

I am trying to have two prebuilt controls (a visi control and a vectorlight tree control) on the same page. The format of the app looks something like this:

enter image description here

So I want a tree view on the left side and the visi control on the right side of one app. Is this possible?

The tree view example has this user control code

<UserControl x:Class="TreeViewProgrammatic.Page"

xmlns="http://schemas.microsoft.com/client/2007"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:liquidTreeView="clr-namespace:Liquid;assembly=Liquid.TreeView"

Width="400" Height="300">

and the other control has a user control code like this:

<UserControl x:Class="LiveUpdate.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
Width="500" Height="340">

is there a way of having the two on one page.xaml?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:30:21+00:00Added an answer on May 22, 2026 at 8:30 pm

    I’ll have at interpretting your requirements. You have two derivatives of UserControl containing in part some third party controls (actually irrelevant to the requirement) and some of your own code to make these controls do things that you want them to.

    Now you’d like to have them both visible to the user side by side, they interact with one another so its desirable that they run in same Silverlight app.

    You’ve called both of them “Page” but then placed them in their own namespace (probably because you’ve actually created two probjects). So first step is to create a new silverlight application and put them both in this same project, lets call the project “Xarzu1”, lets also rename your UserControl derivatives to TreeViewProgrammatic and LiveUpdate so we don’t have two controls with the useless name of “Page”.

    Now edit the MainPage.xaml so that it looks like this:-

    <UserControl x:Class="Xarzu1.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Xarzu1"
        mc:Ignorable="d"
        d:DesignHeight="400" d:DesignWidth="800">
         <Grid x:Name="LayoutRoot">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="2*" />
            </Grid.ColumnDefinitions>
            <local:TreeViewProgrammatic />
            <local:LiveUpdate />
        </Grid>
    </UserControl>
    

    Now both your controls are display side by side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET page with two instances of the same Web User Control
I have two controls. The XAML's are big and very similar. One difference is
I have two very similar .aspx pages. Both of them contain a DropDownList control.
I have a C#/ASP.NET .aspx page that declares two controls that each represents the
I have a page with two ListBox controls. The page contains a list of
I have one class named investmentdetails. I created two different controls for displaying separate
I have two different user controls in my UI. These controls are siblings in
Is it possible to have two virtual directories under the same website in IIS
Is it possible to have two background images? For instance, I'd like to have
I'm wondering if this is possible in SQL. Say you have two tables A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.