Browse by Tags

All Tags » .NET (RSS)
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....
Posted by gperera | 8 comment(s)
Filed under: , ,
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 by gperera | with no comments
Filed under: , ,
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 by gperera | with no comments
Filed under: , ,
A while back I needed to read a mpeg file and retrieve the video/audio information. I didn't want to read the mpeg specification to write one from scratch so after googling around I found a project on sourceforge called mpgtx, it's written in C and has...
Posted by gperera | 2 comment(s)
Filed under: ,
More Posts