Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Silverlight XAML controls Toolkit

Last post 03-16-2009, 7:27 AM by lokeshbasana. 0 replies.
Sort Posts: Previous Next
  •  03-16-2009, 7:27 AM 51546

    Silverlight XAML controls Toolkit

    I create Asp.net Website and I add Silverlight JScript Page(scene.xaml)
    scene.xaml not supporting Silverlight xaml controls.

    In same Project Website --> Add New Item -->Silverlight Application

    By Default Silverlight Application contain Page.xaml as UserControl.
    Page.xaml supporting All Sivlerlight xaml controls.

    Why it is not supporting in scene.xaml
    code looks like
    <Canvas xmlns="http://schemas.microsoft.com/client/2007"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
    <Ellipse Fill="Gray" Width="200" Height="200"></Ellipse>
    <Button></Button> //Error not accepting silverlight xaml controls
    </Canvas>

    But Page.xaml
    <UserControl x:Class="control.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="White">
    <Button></Button> // Working correctly
    </Grid>
    </UserControl>

    why xaml controls are not working canvas panel in Asp.net Website Application

    Please send me the reply i tried in different way but the solution is not found

    Filed under: , ,
View as RSS news feed in XML