In an earlier post I asked about how to create short form for my silverlight application I host on line. But this solution don't help me.
The problem is that I have my few project in solution in other folders. And in folder with my aspx file which host SL app I have ClientBin folder with xap file. And when I copy this aspx file to root...
Lets say I have some code like:
ExampleDomainContext ctx = new ExampleDomainContext();
var query = from p in ctx.GetPeopleQuery()
where p.Id > 2
select p;
ctx.Load<Person>(query).Completed += (s, e) =>
{
// do some stuff
};
This is being done on the client, and the GetPeopleQuery() call from the RIA servi...
I am using SL 4, WCF RIA Services against Entity Framework 4.0. I have an Entity, Visit, that has a string Status field. I have a search screen where I need to display results that have StatusA or StatusB. I am struggling to find a way to specify a client-side query that specifies a collection of statuses that should be matched. If I was...
I have a Listbox that I binds to a resource (sort) CollectionViewSource in my XAML. Then in my cs code I set the CollectionViewSource source to List of objects (class level field)
I then have "remove button" that checks the selected items in the Listbox and removes them from the List of objects (class level field).
I thought the Listb...
Is there performance profiler for Windows Phone 7 (SL/XNA)? I just want to measure execution time of calling methods.
...
I am trying to scroll text across the screen which is working well.
Update: I'm still stuck with problem and can now demonstrate it on my live app:
Go to
http://www.pokerdiy.com/poker-blinds-timer.aspx
and leave it non-fullscreen.
Click on the "Timer" tab at the top.
Then click on "Start Tourney". At
the top, a scrolling message wil...
When are WPF and Silverlight going to support Xaml 2009 in Visual Studio?
...
Hello I want a silverlight grid layout panel.
The width should be 100%.
There should be 2 columns that both take 50%.
In the columns there should be buttons that take 100% of the column cell..
Somehow I mess it up all the time and cannot find a way to do this.
Gridpanel is not a must... Stackpanel or whatever is fine too..
One more th...
I have a usercontrol consisting of two DateTimePicker
This component must be reusable and should expose properties which define, for example, the Visibility of elements, the WIDTH of the container, etc..
And of course, I'm able to retrieve the values entered.
So I created adequate DependencyProperty
public DateTime StartDateVal...
What's the best way (e.g. framework) to access a database using Silverlight?
...
I want to reproduce a ListBox used in the Windows Phone 7 calendar. When the list does not have focus, only the selected item is shown. When the list gets focused, it smootly grows (vertically) to show all items.
My limited Silverlight and Blend talent is failing me. I thought I could achieve all this via the ItemContainerStyle, but the...
I've been upgrading some Silverlight 3 apps to Silverlight 4 in Visual Studio 2010. My Silverlight 3 apps open fine in Visual Studio, but SL4 apps don't, with the following error:
C:\Path\To\MyProject.csproj : error : Unable to read the project file 'XNTVOD.AdminClient.csproj'.
C:\Path\To\MyProject.csproj(593,3): The imported project ...
I've made a rather complex Silverlight 4 out-of-browser application. One of my main view models adds an event handler to the Application.Current.MainWindow.Closing event.
This works fine when the application is initially run. It is able to cancel the close operation.
However, sometimes after performing operations like showing and closin...
I am working on a Windows Phone 7 application and I'd like to know if there are any common ways to implement validation on the form. Some simple examples would be really helpful. I'd love to see something that uses data annotations, but I don't believe that's supported in Silverlight 3 (and thus WP7). To be clear, I'm looking for things...
I'm interested in using Google Ads in my Win Phone 7 Application. I've created a custom control that currently uses AdMob services to load ads, and I'm interested in incorporating a Google Ads provider (as well as any others I can). You can see the source for this control here: https://bitbucket.org/jacob4u2/moads/wiki/Home.
The best c...
Just for clarification, is the question: websocket vs silverlight?
Cause websocket is based on HTML enabling the web browser and web client to talk with each other live. Does this mean that developers cannot use Ruby/Python in client side, but only Javascript?
If I use Silverlight, then it seems possibly for developers to use Ruby/Pyth...
During localhost testing of modular Prism-based Silverlight applications, the XAP modules download too fast to get a feel for the final result. This makes it difficult to see where progress, splash-screens, or other visual states, needs to be shown.
What is the best (or most standard) method for intentionally slowing down the loading of...
I have a button inside my UserControl. I have three instances of this UserControl on the same page.
How can I expose the click event of the button inside such that I can assign different events for each instance of my UserControl.
I think this is similar to concept behind exposing DependencyProperty but I don't understand how to do i...
hi. can i use silverlight 4 with .Net 2008 and sharepoint 2007?
If possible, What steps are necessary in order to host a Silverlight 4 application, in a web part, on Sharepoint Server 2007 ?
...
Hello. I'm using Visual Web Developer 2008 Express + Silverlight 3 Tools + Silverlight 3 Developer runtime, debugging in Firefox 3.6.8.
When I create a Silverlight project and let the IDE set up an ASP.NET site to host it, the breakpoints will not be hit. If I create a single Silverlight project it will be fine. Something must be wrong...