Solved

Microsoft Dynamics CRM 3.0 Show Record Count on Grids

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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.
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Suggested Courses

635 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