Very useful article on how to reduce your ViewState size. Also very simple to implement.
http://szokelizer.blogsome.com/2006/11/09/how-to-put-controlstate-into-viewstate-and-how-to-put-viewstate-into-session/
It recently began to annoy me that every time I want to redirect to a page I have to use a string. Not a big deal I know but when you have broken links it can reflect badly on you as a developer, so I began to look for some solution that would allow for [...]
I was using the __dopostback function in asp.net to cause a postback that would trigger an update in an updatepanel where relevant.
If you come across this problem make sure that your custom control implements the INamingContainer as well as the IPostBackEventHandler interfaces
Also make sure that your first argument to the __dopostback function is the unique [...]
I find mocking the http context rather difficult, you can’t inherit from it and making a wrapper class is a lot of work. Thankfully someone came up with a solution, unfortunately the link they included with the code is dead and I can’t seem to remember where I got the code, if anyone finds out [...]
Just started using the ASP.Net Web Forms wrapper for JqGrid, worth taking a look at
http://trirand.net/default.aspx
First look at the official JqGrid ASP.Net Web Forms control here http://www.trirand.net/jqgrid.aspx
Includes support for Linq and object data sources.
Last night I was at the first meeting of the local alt.net book club, we’re currently going through a book called the art of unit testing. What I took from reading the first chapter and the discussion we had at the meeting was that you test your code already, your tests can be improved and unit testing [...]
Taken from http://sadeveloper.net/forums/p/1195/5115.aspx
Saved me a lot of hassle
We’ve got a 3rd party DLL that we use (not strong named) and I wanted to add it to the GAC. Alas! Only strong named assemblies are allowed in the GAC.
I’ve been trying figure this out for almost a week… couldn’t find much help on Google , so I thought I’d share.
Well, here is [...]
.ajax__calendar_title
{width:150px; margin:auto; padding:3px;}
Taken from here: http://forums.asp.net/p/1395899/3000757.aspx
If you are finding that you can’t click on the arrows on the Calendar Extender in IE 8 try using the following css.
.ajax__calendar_title{width:150px; margin:auto; padding:3px;}
It stops the calendar title from extending over the arrows.
Get JqGrid here: http://www.trirand.com/blog/
So far I’ve seen two implementations of ASP.Net wrapper on JqGrid, one involves a httphandler and the other involves using a web service. Both add extra work onto the gridview/datasource pattern.
Instead I had the JqGrid use a Callback Event Reference (Page.ClientScript.GetCallbackEventReference()) with async (a parameter) set to true, this allowed me to [...]