Showing results for 
Search instead for 
Do you mean 

Debugging a custom dashboard component

Tuned Listener
Posts: 24
Country: USA

Debugging a custom dashboard component

Published 09 October 07 12:42 PM

Debugging a custom dashboard component is similar to debugging an addin or a custom control for layouts.

After you implement your component you put it in the Tools directory under the ACT! install directory.  By putting your assembly there it allows the dashboard designer to load your custom dashboard component and put it on the toolbox of the designer.

I usually just setup my visual studio project to start ACT! as it's executable for debugging.  You can do this by right clicking on your project in the solution explorer and clicking proprties.  Next click the Debug tab and set the program to run as ActSage.exe and the working directory as the directory where you installed ACT!.

After you have set those options in Debug you can just hit F5 or start debugger and Visual Studio will launch ACT! and attach to it. 

The other option you have is to just start ACT! and then attach to the proccess in the debugger manually.  Debug->Attach to Process.

Once you have the debugger started on ACT! you can now set breakpoints in your dashboard component.  They won't show up as in process until your assembly is read into memory.
Go to the Dashboard designer and drop your component on a dashboard and save it.  Now you can test the loading of a dashboard with your component on it.

New Member
Posts: 4
Country: India

Re: Debugging a custom dashboard component


I want to create Custom Dashboard for ACT Web.


I followed the following line of code:-


Exercise 1: ACT! for Windows Custom Dashboard Control

Task 1: Create the Dashboard Control

1. Run Visual Studio.NET

2. File | New | Project, select C# under Project Types, and select


3. Name the project Act.Dash and hit OK

4. Build the project, fix up any post-build steps

5. Run ACT!, go to the Dashboard designer, and under the Custom tab in

the toolbox, drag MyDashboardComponent onto the design surface.

Task 2: Customizing the Dashboard Control

1. Open the DashboardComponent in Design view

2. Make sure DashboardComponent is selected in the property grid, and

use the property grid to make the following changes:

1. Change the Header property text to: “My Dashboard


2. Change the ShowFilterButton and ShowFooter properties to


3. Delete the FilterText property text

3. Build & Run (see steps 4 & 5 of Task 1).

4. Save a dashboard layout with the control on it as “My Dashboard”


Exercise 2: ACT! for Web Custom Dashboard Control

Task 1: Create the Web Dashboard Control

1. Run Visual Studio.NET

2. File | New | Project, select C# under Project Types, and select Class


3. Name the Project Act.WebDash and hit OK

4. Make sure this is a .NET 2.0 targeted project

5. Add a reference to Act.Web.Controls and System.Web

6. Add the following namespace references:

using System.Web.UI.HtmlControls;

using Act.Web.Controls.Layouts;

7. Add a class, name it DashboardComponent

8. Make this class derive from WebDashboardComponent

9. Override the following properties:

class DashboardComponent : WebDashboardComponent


public override string RenderDetailAreaHTML()


return "Hellow world";


public override string HeaderText


get { return string.Empty; }



10. Add post  

build steps to copy the dll to the Tools directory (you can

copy post build steps from the previous project)

11. Open the previous project, Act.Dash

12. Add the following attribute to the DashboardComponent class:


ent, Act.WebDash, Version=, Culture=neutral,


This will map the Windows dashboard control to the Web dashboard


13.Build Act.Dash

14. Build Act.WebDash & Run ACT! Premium for Web


15. Open “My Dashboard” in the Dashboard view




But i am unable to find  


ent, Act.WebDash, Version=, Culture=neutral,



Can you please help me,how to create Custom Dashboard for ACT Web.

i have create Custom dashboard for Act Window's