Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > BOOK: Beginning Microsoft Visual Studio LightSwitch Development
|
BOOK: Beginning Microsoft Visual Studio LightSwitch Development
This is the forum to discuss the Wrox book Beginning Microsoft Visual Studio LightSwitch Development by István Novák; ISBN: 978-1-1180-2195-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Studio LightSwitch Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 4th, 2011, 06:14 PM
Authorized User
 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue with Customization Mode to Change Layout Container Sizing

Hi,
I have been reading the book and following the Try out exercises, until I reached Chapter 9. I got stuck figuring out how did you add the fileds:
Display Closed
From
To
on Figure 9-20. You didn't explain how you added them? Can you please tell me how I can add them.

Thanks for your help and by the way..so far the book is really good, I hope I can finish it really soon to start my project.
 
Old September 5th, 2011, 01:02 AM
Wrox Author
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to deepdiver
Default

Hey cooldude87801! The Display Closed property is added to the form in Figure 9-20 in Chapter 7. Look at the Try It Out section starting at the top of Page 181 for detailed instructions. The property is bound to a query that is created in the Try It Our section on Page 179.
I hope this will help you :-)

DeepDiver
 
Old September 5th, 2011, 10:51 AM
Authorized User
 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your reply ...but what about the From and To controls? How can I add them?

Quote:
Originally Posted by deepdiver View Post
Hey cooldude87801! The Display Closed property is added to the form in Figure 9-20 in Chapter 7. Look at the Try It Out section starting at the top of Page 181 for detailed instructions. The property is bound to a query that is created in the Try It Our section on Page 179.
I hope this will help you :-)

DeepDiver
 
Old September 5th, 2011, 12:02 PM
Wrox Author
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to deepdiver
Default

It's easy to add From and To fields to the screen.
1. Repeat Step 2 on Page 181 twice to add From and To, respectively. In the Add Data Item dialog set the Local Property option and, but set the Type property (as shown in Figure 7-34) to DateTime, respectively.
2. Then repeat the part of Step 4 that uses the Add button to to append the Display Closed item to the Rows Layout container, however, this time append the From and To items to the container.
 
Old September 5th, 2011, 01:28 PM
Authorized User
 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your reply...I have followed the steps that you have outlined but when I ran the code the DispalyClosed is not working I am getting all the projects whether they are closed or not and when I tick the checkbox nothing happens. I have connected the propery DisplayClosed to the ShowClosed Parameter that was created in Ch 7.

I would appreciate your advice in this. I wish I could attach a screenshot for the IDE to show you the queries I have.

Quote:
Originally Posted by deepdiver View Post
It's easy to add From and To fields to the screen.
1. Repeat Step 2 on Page 181 twice to add From and To, respectively. In the Add Data Item dialog set the Local Property option and, but set the Type property (as shown in Figure 7-34) to DateTime, respectively.
2. Then repeat the part of Step 4 that uses the Add button to to append the Display Closed item to the Rows Layout container, however, this time append the From and To items to the container.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Time Customization B.V.Madhav Crystal Reports 1 May 10th, 2005 01:57 AM
CSS layout issue Groundhog1248 CSS Cascading Style Sheets 1 March 2nd, 2005 09:13 AM
Graph Customization hosefo81 PHP How-To 3 November 10th, 2003 03:07 PM
windows change mode shadowb VS.NET 2002/2003 0 August 27th, 2003 03:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.