Newbie here. Am going to create a silverlight page (ASPX as I some background in C#) and would like to learn how to create a menu that would look something like this:
With the rollovers and everything. I have the whole Expression Studio installed.
1. Which of the Studio arsenal should I use?
Am not really fishing for a straight answer, am not really into copy-paste development. Links to tutorials or walkthroughs would be more appreciated.
Thanks in advance and thanks for the warm welcome in my other thread!
This should be easy to do with VisualStateManager.
Cheers,
D
Haven't tried this approach but I might have used this unknowingly. I have created buttons with rollover and pressed actions by changing properties while recording is on and I have also hooked event handlers. So I guess I am halfway through to this menu.
Next question is:
How do I incorporate this "menu" I created to an aspx webpage? As a user control? How do I add this to a Master Page?
You can see the .xap file in the bin\Debug folder once you build the solution. Just copy that file to wherever you want to use it. Sample html(Default.html) code for embeding the same is in the same directory.
You can see the .xap file in the bin\Debug folder once you build the solution. Just copy that file to wherever you want to use it. Sample html(Default.html) code for embeding the same is in the same directory.
Cheers,
D
Now you lost me. Am at work right now (slacking and posting) so I can't try it but do you mean that I can copy the XAP file from the project, drop it in the bin folder of an existing asp.net app and it will run? How would I go about referencing it?
edulorenzo
Member
2 Points
15 Posts
how to create a Silverlight menu
Jan 14, 2009 06:02 AM | LINK
hi guys,
Newbie here. Am going to create a silverlight page (ASPX as I some background in C#) and would like to learn how to create a menu that would look something like this:
With the rollovers and everything. I have the whole Expression Studio installed.
1. Which of the Studio arsenal should I use?
Am not really fishing for a straight answer, am not really into copy-paste development. Links to tutorials or walkthroughs would be more appreciated.
Thanks in advance and thanks for the warm welcome in my other thread!
Ken Tucker
All-Star
23246 Points
3532 Posts
Re: how to create a Silverlight menu
Jan 14, 2009 12:17 PM | LINK
I can not view the picture so it is hard to answer this question
Space Coast .Net User Group
edulorenzo
Member
2 Points
15 Posts
Re: how to create a Silverlight menu
Jan 14, 2009 12:39 PM | LINK
Darn, there must be something wrong with where I placed the Photo. I hope this one doesn't get messed up too.
loveguitarncomp
Member
9 Points
14 Posts
Re: how to create a Silverlight menu
Jan 14, 2009 01:55 PM | LINK
Hi,
This should be easy to do with VisualStateManager.
Cheers,
D
edulorenzo
Member
2 Points
15 Posts
Re: how to create a Silverlight menu
Jan 15, 2009 02:44 AM | LINK
Haven't tried this approach but I might have used this unknowingly. I have created buttons with rollover and pressed actions by changing properties while recording is on and I have also hooked event handlers. So I guess I am halfway through to this menu. Next question is:
How do I incorporate this "menu" I created to an aspx webpage? As a user control? How do I add this to a Master Page?
loveguitarncomp
Member
9 Points
14 Posts
Re: how to create a Silverlight menu
Jan 15, 2009 06:41 AM | LINK
You can see the .xap file in the bin\Debug folder once you build the solution. Just copy that file to wherever you want to use it. Sample html(Default.html) code for embeding the same is in the same directory.
Cheers,
D
edulorenzo
Member
2 Points
15 Posts
Re: how to create a Silverlight menu
Jan 16, 2009 12:40 PM | LINK
Now you lost me. Am at work right now (slacking and posting) so I can't try it but do you mean that I can copy the XAP file from the project, drop it in the bin folder of an existing asp.net app and it will run? How would I go about referencing it?
Abhishek@TIL
Member
336 Points
64 Posts
Re: Re: how to create a Silverlight menu
Jan 16, 2009 01:12 PM | LINK
Add the Clientbin folder in your asp.net application.
Add the following code whereever you want to place the Silverlight control
<asp:Silverlight ID="Silverlight1" source="~/ClientBin/Test1.xap"
runat="server" Height="100px" Width="100px"> </asp:Silverlight>source should have the path where you have placeed the ClientBin containing the xap file.
Kindly mark this post as answered if it has helped you.
Cheers
Technical Lead
Technology Innovation Lab
http://abhishek4hcl.wordpress.com/
edulorenzo
Member
2 Points
15 Posts
Re: Re: how to create a Silverlight menu
Jan 16, 2009 02:21 PM | LINK
I marked it as answer because it has helped me. Now I am running into some complications I think.
Silverlight does not work with MVC?
Abhishek@TIL
Member
336 Points
64 Posts
Re: Re: Re: how to create a Silverlight menu
Jan 16, 2009 07:18 PM | LINK
Kindly describe what is your scenario or what kind of error are u facing
Technical Lead
Technology Innovation Lab
http://abhishek4hcl.wordpress.com/