Kids, don't try this at home!

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

Browse by Tags

All Tags » .NET » ASP.NET (RSS)
CRM 4 Preview view render custom content
We needed to display related entities in the preview view of a custom entity grid, there is no supported way of doing this, so we created a httpmodule, trapped the calls to \_grid\preview.aspx and altered the rendered html. Here is a snippet of code....
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