Hi Friend,
Thanks for your reply,,
here is my code:
Home.aspx
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title></title>
</head>
<
body>
<form id="form1" runat="server">
<div>
<div>
<%-- <asp:Silverlight InitParameters="PageName=Home" ID="abc" runat="server" Source="~/ClientBin/EWS.xap" MinimumVersion="2.0.30923.0" Width="100%" Height="100%" />--%>
<div id="silverlightControlHost" >
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<%--<param name="InitParameters" value="PageName=Home" />--%>
<param name="InitParams" value="PageID=Home" />;
<param name="source" value="ClientBin/EWS.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="3.0.40818.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40818.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</div>
</div>
</form>
</
body>
</
html>
Home.xaml
<
Grid Height="567" Name="grid1" Width="1117">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="227*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="56*" />
<RowDefinition Height="72*" />
<RowDefinition Height="402*" />
<RowDefinition Height="37*" >
</RowDefinition>
</Grid.RowDefinitions>
<Button Background="#FF4487CB" BorderBrush="White" Content="Search" Foreground="#FF432828" Height="30" HorizontalAlignment="Left" Margin="577,16,0,0" Name="btnSearch" VerticalAlignment="Top" Width="150" Grid.Row="1" HorizontalContentAlignment="Right" Click="btnSearch_Click" />
<Button Background="#FF4487CB" BorderBrush="White" Content="ChangePassword" Foreground="#FF432828" Height="30" HorizontalAlignment="Left" Margin="770,0,0,26" Name="btnChangePwd" VerticalAlignment="Bottom" Width="150" Grid.Row="1" HorizontalContentAlignment="Right" Click="btnChangePwd_Click" />
<Button Background="#FF4487CB" BorderBrush="White" Content="Project Information" Foreground="#FF432828" Height="30" HorizontalAlignment="Left" HorizontalContentAlignment="Right" Margin="404,16,0,0" Name="button1" VerticalAlignment="Top" Width="150" Grid.Row="1" Click="button1_Click" />
<Button Background="#FF4487CB" BorderBrush="White" Content="Assignments" Foreground="#FF432828" Height="30" HorizontalAlignment="Left" HorizontalContentAlignment="Right" Margin="237,16,0,0" Name="btnAssignments" VerticalAlignment="Top" Width="150" Grid.Row="1" Click="btnAssignments_Click" />
<Button Content="ViewLog" Grid.Row="1" Height="30" HorizontalAlignment="Left" Margin="81,16,0,0" Name="btnViewLog" VerticalAlignment="Top" Width="150" Background="#FF4487CB" Foreground="#FF432828" BorderBrush="White" HorizontalContentAlignment="Right" Click="btnViewLog_Click" />
<Button Background="#FF4487CB" BorderBrush="White" Content="Logout" Foreground="#FF432828" Height="30" HorizontalAlignment="Left" HorizontalContentAlignment="Right" Margin="941,16,0,0" Name="button2" VerticalAlignment="Top" Width="150" Grid.Row="1" Click="button2_Click" />
<!--<StackPanel Grid.Row="2" Height="378" HorizontalAlignment="Left" Margin="12,12,0,0" Name="spEmployee" VerticalAlignment="Top" Width="1105" />-->
<Grid Name="PageContainer" Grid.Row="2" Height="378" HorizontalAlignment="Left" Background="LightSkyBlue" Margin="12,12,0,0" VerticalAlignment="Top" Width="1105" >
</Grid>
<TextBlock Height="37" HorizontalAlignment="Left" Margin="25,11,0,0" Name="textBlock1" Text="Daily Work Log System" VerticalAlignment="Center" Width="1066" Foreground="#FF1010F2" FontWeight="Bold" FontSize="14" Visibility="Collapsed" />
<TextBlock Grid.Row="3" Height="23" HorizontalAlignment="Left" Margin="12,14,0,0" Name="textBlock2" Text="All rights reserved @ AppLabs Technologies Pvt Ltd. Version V01R01" VerticalAlignment="Top" FontWeight="Bold" Foreground="#FF61D161" />
</Grid>
can you please tell me where i need to set the height ...?
Regards
Ramesh