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