Solved

Microsoft Dynamics CRM 3.0 Show Record Count on Grids

Posted on 2008-10-07
3
823 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now