Designdata for ClientUI Data Application

1 reply. Last post: October 13, 2011 2:32 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi

I would like to display test data in the UXGridView (ClientUI Data App Template) during the design-time. How do I implement this? Probably, I have to create a DesignNorthwindDomainContext and customize the RepositoryManager.cs as follows:

public class RepositoryManager

{

public static NorthwindDomainContext Create()

{

//return new NorthwindDomainContext(); return DesignerProperties.IsInDesignTool ? (NorthwindDomainContext)new DesignNorthwindDomainContext() : new NorthwindDomainContext();

}

}

How do I create the DesignNorthwindDomainContext? You may have an sample? Thank you for the support!

Michael

All times are GMT -5. The time now is 4:06 PM.
Previous Next