This is a migrated thread and some comments may be shown as answers.

Manually Set Definition Demo

8 Answers 74 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 13 Dec 2011, 03:24 AM
Hi

I tried to execute the Manually Set Definition demo and got the following:  It failed on GetEmployeeSet.  I installed 64Bit SQLExpress 2008 R2 but not the tools.  Is there something on need to do to get this working.

Thanks
Rich

Microsoft JScript runtime error: Unhandled Error in Silverlight Application An error occurred while loading data through the 'GetEmployee_Set' query on DomainContext of type 'EmployeesDomainContext' and the error was not handled.  If this error is expected, then you must handle the LoadedData event on the DomainDataSource and call LoadedDataEventArgs.MarkErrorAsHandled() to avoid this exception.
 
Load operation failed for query 'GetEmployee_Set'. The underlying provider failed on Open. InnerException message: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.   at Telerik.Windows.Controls.RadDomainDataSource.OnLoadedData(LoadedDataEventArgs args)
   at Telerik.Windows.Controls.RadDomainDataSource.OnViewLoadedData(Object sender, LoadedDataEventArgs e)
   at Telerik.Windows.Data.QueryableDomainServiceCollectionViewBase.OnLoadedData(LoadedDataEventArgs args)
   at Telerik.Windows.Data.QueryableDomainServiceCollectionView`1.OnDomainServiceCollectionLoadCompleted(Object sender, LoadOperationCompletedEventArgs`1 e)
   at Telerik.Windows.Controls.DomainServices.DomainServiceCollection`1.OnLoadCompleted(LoadOperationCompletedEventArgs`1 args)
   at Telerik.Windows.Controls.DomainServices.DomainServiceCollection`1.OnLoadOperationCompleted(LoadOperation`1 loadOperation)
   at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass13`1.<Load>b__11(LoadOperation lo)
   at System.ServiceModel.DomainServices.Client.LoadOperation.<>c__DisplayClass4`1.<Create>b__0(LoadOperation`1 arg)
   at System.ServiceModel.DomainServices.Client.LoadOperation`1.InvokeCompleteAction()
   at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
   at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )

8 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 13 Dec 2011, 02:50 PM
Hello Richard Harrigan,

From the stack trace that you have provided, it seems that the exception is thrown by the WCF RIA DomainService residing on the server-side. 

Our components operate on the client-side and we have no server-side code or control over what happens on the server side. That falls in WCF RIA Services territory. We simply call the methods on the DomainContext. 

I guess that you could find some more information on this Silverlight forum.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Richard Harrigan
Top achievements
Rank 1
answered on 13 Dec 2011, 03:32 PM

Hi

Could you please provide a simple program that demonstrates how the propertygrid works with the grid.

Source data created at client
Binding between property grid and grid
Just a few columns

Thanks
Rich

0
Richard Harrigan
Top achievements
Rank 1
answered on 20 Dec 2011, 03:26 PM
Hi,

Is there any progress on my request from my previous reply?

Thanks
Rich

0
Vlad
Telerik team
answered on 20 Dec 2011, 03:32 PM
Hello,

Have you tried to simply bind RadGridView and RadPropertyGrid to some client-side data similar to our demo? 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Richard Harrigan
Top achievements
Rank 1
answered on 20 Dec 2011, 03:55 PM
The demo does not work as I mentioned in a previous request.  I am looking for a working example. 

Thank you
Rich
0
Vlad
Telerik team
answered on 20 Dec 2011, 04:03 PM
Hi,

I'm afraid that the exception posted in your first reply is not related to Telerik components in any way. Please check our reply for more info.

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Richard Harrigan
Top achievements
Rank 1
answered on 20 Dec 2011, 07:45 PM
Hi

I do not want to modify your sample that does not work on my machine for who knows why.   I would appreciate it if you would just modifiy your sample so that it works with local data (As you suggested) and we can both move on. 

Thanks
Rich
0
Vlad
Telerik team
answered on 21 Dec 2011, 07:56 AM
Hello,

 You can simply copy desired part of the demo form our online example

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
PropertyGrid
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Richard Harrigan
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or