Solved

Microsoft Dynamics CRM 3.0 Show Record Count on Grids

Posted on 2008-10-07
3
828 Views
Last Modified: 2013-11-25
I'm basically trying to recreate what can be seen on this screen shot:
http://www.creativesolutions.ro/img/Customizations-GridCount.jpg

I would like the total records to appear on each grid. Any Ideas?
0
Comment
Question by:collages
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:brodaseating
ID: 22796293
I am looking for the same solution. I will post back when I find a solution.

Matt
0
 

Expert Comment

by:nitindhawan
ID: 22810308
My Findings
=========
1. We have to write a custom code which execute the view behind the grid and count the whole result set. Then we can show the count by a client-side customization.
2. We can write code at grid event at row bound/item bound. where we have to put counter and we have to add html element in the aspx on the backend at crmweb folder.
 
I am confued. which approach i should follow. Pls. let me know your inputs on this.

Regards
Nitin Dhawan
+91 9822140488
0
 
LVL 1

Accepted Solution

by:
qbkil earned 500 total points
ID: 23736244
You could do this by creating a custom plug-in that intercepts queries to the server, generates and executes another query to total the first query, and then returns this total to the client as a row in the first query's results. The client-side JavaScript for the grid could then parse the result set and update the status bar.

The following commercial solutions appear to take this approach:

http://geek.hubkey.com/2009/02/ms-dynamics-crm-40-record-counter-page.html

or (without the code to update the status bar):

http://mscrm4ever.blogspot.com/2008/12/crm-40-supported-record-page-counter.html

0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question