问题描述
Beth Massi的视频在Lightswitch入门系列中排名第9.在Visual Studio中,我无法按照她概述的步骤进行操作.我创建了一个新数据屏幕"正如视频中概述的那样,但我再也无法进入 表格并设置默认屏幕.相反,仅当创建详细信息屏幕"时,才可以用作默认详细信息屏幕,并且视频所覆盖的代码在这种类型的屏幕的初始化工作空间方法中不起作用.
Beth Massi has a video, #9 in the Getting started with Lightswitch series. In Visual Studio I can not follow the steps that she outlines. I create a "New Data Screen" as outlined in the video but I no longer have the ability to go to the table and set the default screen. Instead, the use as Default Details Screen is only available when creating a "Details Screen", and the code covered by the video does not work in the initialize workspace method of that kind of screen.
使用Silverlight客户端,有什么方法可以使用Visual Studio 2013完成Beth在视频#9中显示的内容吗?还是我需要返回Visual Studio 2012?
Using a Silverlight client, is there any way to do what Beth showed in video #9 using Visual Studio 2013? Or do I need to go back to Visual Studio 2012?
推荐答案
我对此进行了测试,我可以创建一个addAndEditNew屏幕,该屏幕可以使用Visual Studio 2013在LightSwitch应用程序中同时编辑和添加记录.
I tested this,I can create an addAndEditNew Screen that can Both Edit and Add Records in a LightSwitch Application using Visual Studio 2013.
添加浏览数据屏幕后,展开命令栏节点,单击添加"以添加新按钮,然后选择现有方法:addAndEditNew.
After add a Browse Data Screen,Expand the Command Bar node, Click Add… to add a new button, then choose an existing method: addAndEditNew.
请检查下面的照片:
最好的问候
这篇关于如何:使用Visual Studio 2013创建一个可以在LightSwitch应用程序中同时编辑和添加记录的屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!