Questions tagged [domaindatasource]
42 questions
1
vote
2 answers
SL4 | DomainDataSource / DataGrid | Adding a blank row to insert new items
I'm trying to bind a DataForm and DataGrid to a DomainDataSource and implement the functionality of adding, deleting and editing items.
Everything works very well for the DataForm part. But how I'm able to add a new record using the DataGrid?
Like I…

0xbadf00d
- 17,405
- 15
- 67
- 107
1
vote
1 answer
Silverlight DomainDataSource in code-behind not loading all rows
I have a domain data source in Silverlight 4. I'm setting it up in the code behind, and I'm also using a RadDataPager and RadGridView.
DomainDataSource dds = new DomainDataSource();
dds.QueryName = "MyQueryName";
dds.DomainContext =…

Neil
- 737
- 1
- 8
- 23
1
vote
3 answers
Binding to DomainDataSource with DataGrid in Silverlight 3
Using markup I can't get data to show in the grid:
…

rotary_engine
- 559
- 2
- 6
- 17
1
vote
2 answers
Databinding to a DomainDataSource Query Parameter
I need to bind a username to a DomainDataSource QueryParameter. My understanding is that the following does not work:
…

Joe
- 669
- 1
- 8
- 21
0
votes
2 answers
Silverlight refreshing domainDataSource
I have datagrid whichs items source is domainDataSource.
How i can refresh Domain data source?
domainDataSource1.Load() does not works

Irakli Lekishvili
- 33,492
- 33
- 111
- 169
0
votes
1 answer
bind silverlight dataform
Hello guys i have dataform in silverlight 4 project item source is:
ItemsSource="{Binding Data, ElementName=domainDataSource1, Mode=TwoWay}"
and domain data source is :

Irakli Lekishvili
- 33,492
- 33
- 111
- 169
0
votes
1 answer
DomainDataSource + DomainService
Is it possible to use the DomainDataSource control with a plain DomainService? I want to page/sort non-entity data.

Ronnie Overby
- 45,287
- 73
- 267
- 346
0
votes
1 answer
Hex annotation on MSDN site
I fail to understand the hex annotation at the MSDN site
On the following MSDN site: DDS file spec
there is a table at dwFlags. dwFlags is a DWORD (4 Bytes or 0x00000000)
Question: The hex annotations for a value (e.g.) 0x800000 are confusing me,…

NopeAndNever
- 25
- 5
0
votes
1 answer
Loading Static Data from Database in an RIA Application
As part of a WCF RIA application I'm creating, I'd like to cache a bunch of static supporting data locally (lists of water systems, countries, provinces; that sort of thing.) I've created a simple static class to cache the lists into…

ParoXoN
- 582
- 2
- 10
0
votes
1 answer
Silverlight DomainDataSource and FilterDescriptors (Entire query loaded from server THEN filtered in client?)
I need to know if DomainDataSource with filterdescriptors added will first load ALL the data from the client and then filter on the client, or do the filter descriptors cause the domaindatasource to create a query with filter added on…

allen brubaker
- 11
- 1
- 2
0
votes
1 answer
Disable a button while a DomainContext IsLoading
I have a button on a form which I want to be disabled as long as my DomainDataSource's DataContext.IsLoading is true; I want to bind the IsEnabled property of the button to a ! condition on DomainContext.IsLoading and unfortunately I do not know how…

Keith Adler
- 20,880
- 28
- 119
- 189
0
votes
1 answer
Domain Service Method using Optional Parameters?
I want to be able to bind to this datasource without the view needing to know that there is an additional parameter (unless he cares). Is this possible to do?
[Query]
public IQueryable GetProduct(int productID, bool someAdditionalStuff =…

Eluvitar
- 58
- 1
- 6
0
votes
1 answer
ComboBox Binding to display list but bind selection to entity?
I am using a Silverlight 4 Navigation template. I use a DomainDataSource to load a specific entity called Issue. Each Issue has a Category. But I am not sure of the best way to perform the binding of a combobox so that the combobox is populated with…

Robert Kaucher
- 1,841
- 3
- 22
- 44
0
votes
2 answers
EPiServer DDS Change Schema for type
I am storing a type in the EPiServer DDS that has a few properties such as string and guid. I now want to add a new property of type string to that type. How is it possible to get the DDS to recognise the new property added to the type and add it to…

Jet Basrawi
- 3,185
- 2
- 15
- 14
0
votes
1 answer
silverlight domaindatasource binding to model
I have a user control that has a ViewModel behind it...
The constructor of the user control in codebehind looks like this:
public ClientListingVM()
{
ClientListingViewModel model = new ClientListingViewModel();//this is my…

bogdanbrudiu
- 534
- 9
- 32