FORUMS

c360 Forums
 Home        Members    Calendar    Who's On

Welcome Guest ( Login | Register )
      



Lookup with linked header and detail gridsExpand / Collapse
Message
Posted 2/20/2007 12:59:31 AMPost #1187
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
Overview

This sample was requested by a member on our online forum. What she wanted to do is build a page with a lookup control  and two grids and wanted to filter the data in the first grid based on the selected lookup item and also filter the data in the second grid based on the record selected in the first grid. This is very similar to the "Multiple Lookups" sample except that grids are used instead of lookup controls. This sample demonstrates the following:

  • How to refresh a grid when the user selects an item in a lookup control
  • How to refresh a "detail" grid when the user selects a record in the "header" grid

Installation

Step 1 – Edit ISV.config This sample must be added as a new link under a “top level” menu (i.e.: a pull down menu on the top menu bar at the top of the main CRM window). Therefore we need to edit the “CustomMenus” section in Microsoft CRM’s ISV.config file like so:

<Menu Title="Testing c360 SDK">

     <MenuItem Title="Lookup with linked grids"

         Url="http://localhost:5517/c360Sdk/Samples/LookupWithLinkedGrids/LookupWithLinkedGrids.aspx"

         WinMode="0"

         Client="Web,OutlookWorkstationClient"

         AvailableOffline="false" />

</Menu>

Note: you will need to adjust the url in the above sample to match your environment.

Step 2 – Copy files In your Visual Studio 2005 project, make sure you have a folder called “Samples” and create a sub-folder called “LookupWithLinkedGrids”. In this new folder, copy the ASPX page and its corresponding code behind file:

  • LookupWithLinkedGrids.aspx
  • LookupWithLinkedGrids.aspx.cs

Screenshots



Jeremie Desautels

VP, Product Marketing

c360 Solutions

  Post Attachments 
LookupWithLinkedGrids.zip (137 views, 1.96 KB)

« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Jeremie Desautels, john.gravely, kanika.jackson, Arvind Raman, Ken Champion

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 12:26am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.141. 12 queries. Compression Enabled.