Friday 27 January 2012

How to to save an rdlc to PDF programatically

If you need to save a report viewer report to PDF via cocdeit can be achieved with the below code.

Thursday 12 January 2012

Restoring focus to a control after an UpdatePanel Update

Using Ajax update panels can sometimes cause issues with restoring the focus of the control after the update panel updates.

This can be achieved with a little jQuery and hooking the begin and end request events of the PageRequestManager.

Tuesday 10 January 2012

How to have an editable checkbox column in a jqGrid

If you need to have clickable checkboxes in a jqgrid that update immediately then this is the code for you. It took me about a day and a half to get this worked out!




aspx:

Javascript:
cs: