Questions tagged [domaindatasource]
42 questions
3
votes
1 answer
Silverlight RIA Services DomainDataSource, relation between AutoLoad and RefreshInterval
I'm having trouble understanding the relation between DomainDataSource.AutoLoad
and DomainDataSource.RefreshInterval.
If I enable AutoLoad for a given DomainDataSource, the server is being queried
repeatedly at a very high rate... this is not what I…

TimothyP
- 21,178
- 26
- 94
- 142
2
votes
1 answer
VB Overload resolution failed
I having this error during compile and i have no idea why~
Anyone can solve the problem pls.
Overload resolution failed because no accessible 'Add' can be called with these arguments:
'Public Sub Add(entity As…

Carson Lee
- 2,673
- 3
- 20
- 23
2
votes
1 answer
How to programmatically bind a System.Windows.Controls.Parameter to a ComboBox' SelectedItem in Silverlight
I have the following sample from MSDN:

bleepzter
- 9,607
- 11
- 41
- 64
2
votes
1 answer
Entity Framework Changing from SQL Server 2005 to 2008 R2
What changes do I need to make to get my entity data model to a new database instance on another server running SQL Server 2008 R2? I have changed the connection string in the Web.config and changed ProviderManifestToken="2008". If I try to refresh…

Robert Kaucher
- 1,841
- 3
- 22
- 44
2
votes
1 answer
Collapse All DataGrid groups programatically without using PagedCollectionView
I'm trying to do as much as possible in the Xaml (rather than code-behind) for a relatively simple application. I have the DataGrid bound to a DomainDataSource in Silverlight 4 and I'm binding the DomainDataSource's GroupDescriptors to ComboBoxes…

MylesRip
- 1,212
- 17
- 29
2
votes
1 answer
silverlight 4 RIA update item in domaindatasource only updates after refresh
I have created a silverlight app and have a listbox that is populated using a domaindatasource. I have created a button that takes the selected list item and updates a field (in my case its called IsDeleted)
my domain service looks like this
…

Diver Dan
- 9,953
- 22
- 95
- 166
2
votes
1 answer
Ria Services: Synchronous DomainDataSource.SubmitChanges()
I'm trying to upload images (byte arrays) from the client to a database - this works like a charm.
The thing is, I'd like to show the progress of this operation to the user, but the DomainDataSource object doesn't provide any sort of…

Dänu
- 5,791
- 9
- 43
- 56
2
votes
1 answer
ObjectDataSource vs new DomainDataSource
I don't see difference between ObjectDataSource and new DomainDataSource (http://blogs.microsoft.co.il/blogs/bursteg/archive/2009/04/11/using-domaindatasource-in-asp-net.aspx).
I need create 4 methods, which is then used in both cases.
What I main…

Petr Šnobelt
- 21
- 1
2
votes
1 answer
SilverLight 4.0 C# - DomainDataSource DataGrid with CheckBox Column (UI only - not a data field) to allow user to select multiple records/rows
New to SilverLight and to posting here. Please have mercy and be specific :)
Using RIA services with DomainDataSource and DataGrid control to display data rows from SQL server query
Goal: Have checkbox column (UI only - not a data field) to allow…

CodingRed
- 31
- 5
1
vote
1 answer
Silverlight Domain Data Source + Paging : AutoLoad = "False"
I want to use a DataPager with a DataGrid and DomainDataSource.
I would like to have future pages cache ahead of time. When the user gets, say, five pages off from the last page, I would like another XXXX pages to load. However, I don't want the…

nosirrahcd
- 1,467
- 3
- 18
- 36
1
vote
3 answers
Silverlight 4 Add New Item To DomainDataSource
I have a simple datagrid listing addresses and a child window where the user can edit/add new. On the main form with the datagrid i have a button to "Insert New Address" which should load the child window with an empty Address object. However it…

Oly
- 75
- 7
1
vote
1 answer
Silverlight 4 Domain Data Source Filter Descriptor on nested property
I have an object model where I'm checking a filter value of nested child property e.g.
Order -> Customer
And Customer has a property e.g. Name = "Joe Bloggs"
My domain service returns IQueryable. My domain data source is bound to this (and in…

Isaac Abraham
- 3,422
- 2
- 23
- 26
1
vote
2 answers
Domain Data Source CanLoad is false when using RIA Query Parameter bound to a dependency property
I have a ria DDS query whose parameter is bound to a dependency property of the code behind my silverlight page. The issue is that once the project dependency is changed I get the following error.
QueryParameters cannot be changed when CanLoad is…

TealFawn
- 329
- 4
- 14
1
vote
1 answer
Problem With Multiple Data Bindings (Silverlight)
I am using silverlight to create an Intranet for managing chemical usage. All data is stored in a MS SQL database, and is retrieved by using a DomainService (RIA).
By dragging the database onto the form, Silverlight has created a DomainDataSource…

Gavin Coates
- 1,366
- 1
- 20
- 44
1
vote
1 answer
RIA Services error
I have a domaindatasource with a filter descriptor. This is for a textbox used to search the data. it filters out only the names which start with the text. I'm getting an error whenever text is entered in the search box. Part of the error message…

Chris
- 1,197
- 4
- 13
- 25