Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
Now that we are displaying the task for the correctly logged in user, let's add the functionality to edit the task. Let's open the task edit page. Again going back to our ToDo desktop application, we have some code that we should be able to re-use. Let's copy the edit task computed property, and it's related property. Let's also copy the update task method. And the select priority method. We do not have a combo box on the web edit task page, so let's change it to the field. We also do not need to populate it, so we can remove that method call. Let's add the completed date label so that we can show the completed date on any task. Let's check to see if there's anything we need to change on the web project. Here we are referring to the Einhuger control that we used on the desktop application. We also did not add our priority popup to the task edit window, so we will add that now. And we need to change this to be the field. We'll remove the reference to the Einhuger control and the select start method is not available for web applications. Let's do another test to see if there are any other errors to correct. Now we can hook up the ToDo page edit buttons to open the edit page itself. If we go back to our desktop application, we have an edit task method. Let's copy that. We need to instead of referring to the task edit window from the desk top application, now called the page. And on the edit task button, we can call the edit task method. Let's run the project. We will click on a task, and then click Edit Task. It switches to the task edit page and the information is filled in.
| Course: | Real Studio |
| Author: | Paul Lefebvre |
| SKU: | 34190 |
| ISBN: | 1-936334-77-1 |
| Release Date: | 2011-02-02 |
| Duration: | 7 hrs / 87 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |