I have a small SL application that uses RIA services to display employee data (Northwind database) in a data grid. I have a text filter, that works fine against varchar columns but does not filter against a nullable int column. Here is the xaml:
<UserControl xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Window...
Hi all,
I've just been toying around with the new WCF RIA Services Beta for Silverlight this evening. So far it looks nice, but I've come across a few barriers when trying to retrieve data and exposing it to the UI via binding.
First of all, how am I able to get a single integer or string value from my service? Say if I have this metho...
I have a very simple sample silverlight application. I added a domain service to it with an entity model that has one entity. The client app simply loads all rows in the entity at startup. When I run this on my development box, it works as expected. However, when I move it to our test server I get an exception saying that the method I am...
When I was developing web-apps with jsp/jstl and jQuery, I used to write nice html-code, separated from styles and scripts. JSP inserted some odd spaces and blank lines but nothing else.
Now I'm trying to develop with jsf. JSF has lots of libs for creating RIA with numerous components so it should be much faster to develop web-apps wi...
Hi all,
A quick question here about the new WCF Ria services beta:
If I do this in code-behind:
EntitySet e = MyContext.Employees
It seems that the entityset is always empty at runtime? I.e. if I want to loop through the Employee entityset.
Also, if I'm getting the Enumerator for the entityset, I'll get an error telling me that the...
I know I've had this problem when I started working with Silverlight, but I can't for the life of me remember how to fix it.
I created a new RIA service application using the standard tutorial, added a table from the database and added a grid to display the results. Works great. Now I pull open the Web properties and change the web proj...
Hi,
I have downloaded WCF RIA Services Beta from the following website: WCF RIA Services Beta for Visual Studio 2008 SP1
http://www.microsoft.com/downloads/details.aspx?FamilyID=76bb3a07-3846-4564-b0c3-27972bcaabce&displaylang=en#filelist
But I am unable to add a reference to the following assembly : system.Windows.Ria.Data
I se...
I've got a RIA silverlight 4 app with a complex data type as a model. As a familiar example let's call it aspnet_User which has a member object called aspnet_Membership; aspnet_User has a member called "UserName" and aspnet_Membership has a member called "Email". Now using the aspnet_User as a datacontext I want to bind to any changes in...
I'm attempting to call a DomainService created using WCF Ria Services from jquery. If I use a POST I get 405 method not allowed. If I use Get, it get javascript errors. Am I missing a configuration step? This code results in the 405.
function GetSearchResults() {
$.ajax(
{
type: "POST",
url: "/Services/CustomerService.svc/GetC...
I have a silverlight combobox inside of a dataform as follows:
<dataControls:DataForm x:Name="newScheduleMasterForm" Height="350" Width="450" MinWidth="400"
VerticalAlignment="Top"
CommandButtonsVisibility...
I have a Filterdescriptor as shown below. The propertypath is of type 'char?'
I get following InvalidOperationException when I filter by entering a value Y
InnerException {System.InvalidOperationException: A FilterDescriptor with its PropertyPath equal to 'Valid' cannot be evaluated. ---> System.ArgumentException: Operator 'St...
I'm using Silverlight Business app template with RIA services (PDC'09 release).
I've created DomainService, let's call it ListingDomainService (based on EF model).
Then build the solution.
Ok, now I can in SL project
private void GenerateReport_Click(object sender, RoutedEventArgs e)
{
ListingDomainContext ...
I mean,, that would be the only issue to worry about when using silverlight compared to flash... do you think this issue could be solved in 2-3 years?
...
Hi!
I need to combine
a ajax-driven RIA frontend, using for example JQuery layout plugin (http://layout.jquery-dev.net/demos/complex.html) or ExtJs (http://www.extjs.com/deploy/dev/examples/layout/complex.html), with...
a php mvc backend, using for example Zend MVC, CodeIgniter or Kohana
Where can I find info on how to set up the a...
I used Flash player 10, and Flex SDK 3.4. The code as followings:
// Following comes callbacks
function imageLoadOpenCallback(evt:Event):void
{
trace("in--open");
}
function imageLoadCompleteCallback(evt:Event):void
{
trace("in--load");
var fr:FileReference = evt.target as FileReference;
trace(fr.data);
}
function ima...
When I downloaded the Microsoft .NET RIA Services July 2009 Preview, I got a hundred-and-something page Overview document. It looked like it had been revised from a previous release. I've just downloaded the WCF RIA Services Beta for Visual Studio 2008 version but I can't find an updated Overview document.
Do you know is there is one?...
I'm new to both Silverlight and RIA. I have a simple form with a DataGrid bound to a DomainDataSource object. The rows displayed represent section headings to be displayed on a webpage. One of the columns is called OrdinalPosition and I have specified that the grid is to sort by this column. I have a custom column with up and down ar...
It seems the world is awash with people having problems deploying RIA WCF services, and now I'm one too. I've already tried a bunch of things, but to no avail. I need WCF RIA to support a Silverlight 3 application I've built.
The short story is, using the new WCF RIA services (Nov 09?) I open VS 2008, create new project (silverlight a...
I’m using Silverlight and the .NET RIA Services.
I’ve generated an entity data model from a database, created one domain class service for all the tables and chosen to generate the metadata.
Now, when trying to build I get errors in metadata that contain foreign keys in the generated file App.Web.g.cs. The problem is there are lots...
I defined a domaindatasource in the xaml
<dds:DomainDataSource x:Name="ddsPayroll" QueryName="GetEnPrcsQ" AutoLoad="True" LoadSize="20" PageSize="20">
<dds:DomainDataSource.DomainContext>
<RIASrv:PayrollSrv />
</dds:DomainDataSource.DomainContext>
<dds:DomainDataSource.Sor...