Getting Startedhttp://forums.silverlight.net//14.aspx/1?Getting+StartedThe perfect forum for asking the basic questions. No question too simple!Mon, 01 Jan 0001 00:00:00 -050014160319http://forums.silverlight.net//p/65195/160319.aspx/1?how+to+create+a+Silverlight+menuhow to create a Silverlight menu <p>&nbsp;hi guys,</p> <p>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:</p> <p>&nbsp;<img src="https://pqxvrw.blu.livefilestore.com/y1plUJ6VFZqV_qvgoZS0Wn2DYLgg4xHbTyUk2_Fxig8T-AsFMLWlh9NHWMbc7ACEBsfNCSHRi6ZDUNndtxpjtm2yA/menu.JPG" title="sample menu" alt="sample menu" width="785" height="53"></p> <p>With the rollovers and everything. I have the whole Expression Studio installed. </p> <p>1. Which of the Studio arsenal should I use?</p> <p>Am not really fishing for a straight answer, am not really into copy-paste development. Links to tutorials or walkthroughs would be more appreciated.</p> <p>Thanks in advance and thanks for the warm welcome in my other thread! <br> </p> 2009-01-14T05:02:53-05:00160446http://forums.silverlight.net//p/65195/160446.aspx/1?Re+how+to+create+a+Silverlight+menuRe: how to create a Silverlight menu <p>I can not view the picture so it is hard to answer this question</p> 2009-01-14T11:17:08-05:00160456http://forums.silverlight.net//p/65195/160456.aspx/1?Re+how+to+create+a+Silverlight+menuRe: how to create a Silverlight menu <p>&nbsp;Darn, there must be something wrong with where I placed the Photo. I hope this one doesn't get messed up too.</p> <p><img src="http://photos-g.ak.fbcdn.net/photos-ak-snc1/v1934/233/8/1090921741/n1090921741_30149070_6605.jpg" width="604" height="40">&nbsp;</p> 2009-01-14T11:39:52-05:00160484http://forums.silverlight.net//p/65195/160484.aspx/1?Re+how+to+create+a+Silverlight+menuRe: how to create a Silverlight menu <p>Hi,</p> <p>This should be easy to do with VisualStateManager.</p> <p>Cheers,<br> D<br> </p> 2009-01-14T12:55:57-05:00160834http://forums.silverlight.net//p/65195/160834.aspx/1?Re+how+to+create+a+Silverlight+menuRe: how to create a Silverlight menu <p>&nbsp;</p> <blockquote><span class="icon-blockquote"></span> <h4>loveguitarncomp</h4> <p></p> <p>Hi,</p> <p>This should be easy to do with VisualStateManager.</p> <p>Cheers,<br> D<br> </p> <p></p> </blockquote> <p></p> <p>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:</p> <p>&nbsp;</p> <p>How do I incorporate this &quot;menu&quot; I created to an aspx webpage? As a user control? How do I add this to a Master Page?&nbsp; <br> </p> 2009-01-15T01:44:06-05:00160917http://forums.silverlight.net//p/65195/160917.aspx/1?Re+how+to+create+a+Silverlight+menuRe: how to create a Silverlight menu <p>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.</p> <p>Cheers,<br> D<br> </p> 2009-01-15T05:41:35-05:00161553http://forums.silverlight.net//p/65195/161553.aspx/1?Re+how+to+create+a+Silverlight+menuRe: how to create a Silverlight menu <p></p> <blockquote><span class="icon-blockquote"></span> <h4>loveguitarncomp</h4> <p></p> <p>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.</p> <p>Cheers,<br> D<br> </p> <p></p> </blockquote> &nbsp; <p></p> <p>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?</p> <p>&nbsp;</p> 2009-01-16T11:40:40-05:00161565http://forums.silverlight.net//p/65195/161565.aspx/1?Re+Re+how+to+create+a+Silverlight+menuRe: Re: how to create a Silverlight menu <p>Add the Clientbin folder in your asp.net application.</p> <p>Add the following code whereever you want to place the Silverlight control</p> <p>&lt;<font color="#a31515" size="2"><font color="#a31515" size="2">asp</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">:</font></font><font color="#a31515" size="2"><font color="#a31515" size="2">Silverlight</font></font><font color="#000000" size="2"> </font><font color="#ff0000" size="2"><font color="#ff0000" size="2">ID</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">=&quot;Silverlight1&quot;</font></font><font color="#000000" size="2"> </font><font color="#ff0000" size="2"><font color="#ff0000" size="2">source</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">=&quot;~/ClientBin/Test1.xap&quot;</p> </font></font><font size="2"> <p></font><font color="#ff0000" size="2"><font color="#ff0000" size="2">runat</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">=&quot;server&quot;</font></font><font size="2"> </font><font color="#ff0000" size="2"><font color="#ff0000" size="2">Height</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">=&quot;100px&quot;</font></font><font size="2"> </font><font color="#ff0000" size="2"><font color="#ff0000" size="2">Width</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">=&quot;100px&quot;&gt;</p> </font></font><font size="2"> <p></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">&lt;/</font></font><font color="#a31515" size="2"><font color="#a31515" size="2">asp</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">:</font></font><font color="#a31515" size="2"><font color="#a31515" size="2">Silverlight</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">&gt;</font></font></p> <p><font color="#0000ff">source should have the path where you have placeed the ClientBin containing the xap file.</font></p> <p><font color="#0000ff">Kindly mark this post as answered if it has helped you.</font></p> <p><font color="#0000ff">Cheers</font></p> 2009-01-16T12:12:00-05:00161603http://forums.silverlight.net//p/65195/161603.aspx/1?Re+Re+how+to+create+a+Silverlight+menuRe: Re: how to create a Silverlight menu <p>&nbsp;I marked it as answer because it has helped me. Now I am running into some complications I think.</p> <p>Silverlight does not work with MVC? <br> </p> 2009-01-16T13:21:00-05:00161774http://forums.silverlight.net//p/65195/161774.aspx/1?Re+Re+Re+how+to+create+a+Silverlight+menuRe: Re: Re: how to create a Silverlight menu <p>Kindly describe what is your scenario or what kind of error are u facing</p> 2009-01-16T18:18:49-05:00161933http://forums.silverlight.net//p/65195/161933.aspx/1?Re+Re+Re+how+to+create+a+Silverlight+menuRe: Re: Re: how to create a Silverlight menu <p>&nbsp;I think I complicated it too much and it now deserves<a href="/forums/p/66059/161932.aspx#161932"> its own thread.</a><br> </p> 2009-01-17T01:17:04-05:00