Kids, don't try this at home!

Tips & Tricks for C#, ASP.NET and CRM

Browse by Tags

All Tags » C# » ASP.NET (RSS)
Programmatically reuse Dynamics CRM 4 icons
The team that wrote the dynamics crm sdk help rocks! I wanted to display the same crm icons on our time tracking application for consistency, so I opened up the sdk help file, searched for 'icon', ignored all the sitemap/isv config entries since I know...
Web Form to Dynamics CRM 4
We've decided to release another component we've been using internally. This little webcontrol allows you put pass data from a Web Form to Dynamics CRM 4. How does it work? Create a UserControl to layout the form. <%@ Control Language="C#" %> Topic...
CRM 4 Activity Direction Indicator (experimental)
I've been trying to change the icons under History for each entity to show the direction of the email or phone call. Using Fiddler I found out that areas.aspx was responsible for rendering the grid when you click on History, then when you click on the...
CRM 4 Incremental Numbering for any Entity
UPDATE 08/01/2009 - Project is now on CodePlex ( http://www.codeplex.com/crmnumbering/ ) MYOB can only take 8 characters and accountants don't like seeing cryptic Invoice Numbers that CRM generate, so we ended up writing a custom plugin that automatically...
CRM 4 Custom Workflow to Validate NZ Bank Account/IRD Number
Recently we created a payroll solution which integrated with Microsoft Dynamics CRM 4, part of that was to validate the Bank Account and IRD Numbers. Here's a screenshot of a sample workflow. You can download the code from here . Solution contains a Util...
CRM 4 FilteredViews, LINQ & WCF
We decided to use FilteredViews instead of FetchXml for an internal project, but we ran into couple of problems. You can't access data from the FilteredViews using ASP.NET since it runs under NETWORK SERVICE (by default (app pool)), FilteredViews filter...
Working with Dynamic Controls
I wanted to find a better way to work with dynamic controls. This is what I was doing before. Control c = this .wrapper.FindControl( "dynamictextbox" ); TextBox tb = c as TextBox ; if (tb != null ) { Response.Write(tb.Text); } as you can see doing this...
Posted: Jan 29 2008, 01:56 PM by gperera | with no comments
Filed under: , ,
Storing ViewState in SQL
The new adapter architecture of ASP.NET v2.0 allows you to do some amazing things, We'll use this new feature to store viewstate in sql. Firstly you must add the special folder App_Browsers to your project, then create a new .browser file and add the...
Posted: Jan 29 2008, 01:52 PM by gperera | with no comments
Filed under: , ,
More Posts