Click here to Skip to main content
15,917,060 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
I have silverlight business application.
There is one menu strip at upper end and one login menu included in it.
When we click on that menu it invoke LoginForm
Its all are fine .
Now i need to add menu one more menu 'Register Student'
and when user lick on this menu one form open where user can enter students information.
Please suggest me how i do this ? I already gooled out this thing.
I am able to create the form with all required attribute . remaining is still remain from my side .
Please give me suggestion or link .
Posted
Comments
Espen Harlinn 3-Jan-11 15:18pm    
Can you show us the xaml? Are you talking about a newly created "SilverLight Business Application" generated by Visual Studio 2010?

1 solution

Hi,

I assume you are using the vs2010 silverlight business application template. If you are not then the following might be irrelevant.

There is an article about this on the msdn website:

http://msdn.microsoft.com/en-us/library/ee796239(v=vs.91).aspx[^]

Basically just after this line in MainPage.xaml

<HyperlinkButton x:Name="Link2" ... />


add a new button:

XML
<Rectangle x:Name="Divider3" Style="{StaticResource DividerStyle}"/>
<HyperlinkButton x:Name="Link3" Content="Order List" Style="{StaticResource LinkStyle}" NavigateUri="/OrderList" TargetName="ContentFrame"/>


Hope that is what you are after.

Valery.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900