Advanced Forum Search Results
-
No the toolkit is just a set of prebuilt controls for silverlight. You need to install silverlight tools for visual studio 2k8 in order to compile Silverlight projects. See my previous post for a link to the download. You should also check out http://silverlight.net/GetStarted/
-
have you installed silverlight tools?
http://www.microsoft.com/downloads/details.aspx?FamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&displaylang=en
-
alternatively you can also do foreach(var status in statuses)
{
xml.Element("devicestatuslist").Add(new XElement("devicestatusvalue", new XAttribute("devicestatus", status)));
} although the above mentioned solution would probably be faster.
-
I would assume SL3 is coming out sometime similar to the release date of SL2 last year. Maybe October/November...come to think of it I can't remember when SL2 came out!
I know my first shipped SL2 game I had to convert to RC0 sometime around October.
-
Now you've got me curious... I found the following link which seems to indicate that a ContentPresenter is required in the DataTemplate. But when I added it that didn't fix the problem (although Blend was giving an error while VS was ...
-
I just tested this with a rectangle in a button (the same should apply to any content control). I found this solution worked with my setup...hopefully this accomplishes what you want.
...in <UserControl.Resources>
<Rectangle x:Key="DefaultContent" Height="34" HorizontalAlignment="Left" ...
-
To call a JavaScript method from Silverlight use the following command:
HtmlPage.Window.Invoke(); - this method takes two arguments the name of the function you are trying to call, and any arguments you wish to pass to that function.
Anytime the grid row changes for example, call a method in the javascript to update information on ...
-
Ah yes...Sorry Didn't notice that content templace what exactly are you trying to accomplish? DId you want the Content to be set in the UserControl's reasources? or are you trying to get a yellow background on the Control and have the circle on top?
-
In your style you are overriding the Datatemplate for your control. Normally between the Data template tags there exists a <ContentControl />. The ContentControl is what hosts the content of your control so while the control still has a content control its not on the "stage" per say.
Try adding <ContentControl /> ...
-
I don't think there is any way of doing this without using JavaScript. The reason you can pass values to the SIlverlight application from the aspx page is because it is hosting the control and is generally processed before being sent to the client ( where the silverlight is processed)