I started reading the Pro Business Applications with Silverlight 4 and I'm having the following problem here with my visual studio 2010
I can't find the data sources tab page as mentioned here:
When you open the Data Sources window in Visual Studio, you will find that a data source has already been created for each domain context created by RIA Services in the Silverlight project, with the entities that they expose beneath them (as shown in Figure 6-2). Dragging and dropping one of these onto your design surface will create both a DomainDataSource control and a bound control to display the data.
I know that the Data Sources window and Data menu are intentionally disabled in Websites and Web Application Projects but my project is a Silverlight business application.
Can someone tell where i can find this window or what should i do to create the DomainDataSource control and the bound control?
Thanks!
Answer: 1
When I create an empty project, I am able to access Data Sources as follows:
- Select a project in the solution explorer. (Not a solution!)
- The 'Data' menu on the menu bar now allows you to access the data sources for this project, along with other Data Source related options.
Answer: 2
If you have MainWindow.xaml open, the DataSources tab is normally right next to the Toolbox tab.
If it does not appear there, go to View -> Toolbars, and turn on the Data Design toolbar. Click the Show Data Sources button.
Or just use Shift + Alt + D
by : Stewbobhttp://stackoverflow.com/users/107899Answer: 3
OK, i got a workaround. For some reason, it only shows up if you do a Silverlight project. So I started a blank solution, added a silverlight project. Bingo - there is the Data Source window. Now, add whatever project you really need.
by : Scotthttp://stackoverflow.com/users/819610
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog