Register     Login

Search

How To Enable Multiple Row Selection In LightSwitch's Grids

Aug 26

Written by:
Friday, August 26, 2011 12:00 AM  RssIcon

I've just uploaded a code sample to MSDN Developer Samples, showing How To Enable Multiple Row Selection In LightSwitch's Grids.

I hope somebody finds it useful.

4 comment(s) so far...


Gravatar

Re: How To Enable Multiple Row Selection In LightSwitch's Grids

Hi Yann,

Thanks a lot for sharing this. I am just a beginner in LightSwitch and am working on my very first project.

I have a scenario where I need to associate Invoices (already added in the system) with the existing Timesheets (already added in the system).

I have created an Invoice Search/ Detail / Related Entities screen on which under "Associated Timesheets" tab I was thinking to put a "Associate Timesheet" button that will take the users to Search Timesheet Screen. On this screen users can search for the eligible Timesheets, then Multi select them based on the technique suggested by you and then click "Associate" button to associate the selected Timesheets to the pre-selected Invoice. On clicking "Associate", after saving, users will be re-directed to the Invoice screen and the selected Timesheets can appear under "Associated Timesheets" tab.

Can you please provide your feedback if this is the best possible way to achieve this or are there better/simple way to do this?

Thanks in advance. Your help to the community is much appreciated!!!!

Cheers
Raj

By Techmonster13 on   Monday, November 07, 2011 6:01 PM
Gravatar

Re: How To Enable Multiple Row Selection In LightSwitch's Grids

Hi Yann,

Thanks a lot for sharing this. This is exactly what I was looking for! A shame the extended selection mode isn't part of the out-of-the-box LightSwitch functionality, but your solution only requires a few code lines and allows me to use the rest of LightSwitch without any compromise.

Thanks!

By Sander Schutten on   Monday, June 04, 2012 7:05 PM
Gravatar

Re: How To Enable Multiple Row Selection In LightSwitch's Grids

@Techmonster13,

I'm sorry for not replying, I've only just seen your comment. Thanks for the kind words.

Did you manage to get what you wanted done?

By Yann Duran on   Saturday, June 16, 2012 8:09 PM
Gravatar

Re: How To Enable Multiple Row Selection In LightSwitch's Grids

@Sander,

You're welcome!

By Yann Duran on   Saturday, June 16, 2012 8:09 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
Home   |   Blogs   |   Books   |   Extensions   |   Donations   |   About LightSwitch   |   About Me
Privacy Statement    |   Terms Of Use

Copyright 2011 by Yann Duran