Monthly Archives: June 2008

Inserting/Updating Rows in Sql Database – Avoid chatty interface

Its a good design practise to avoid chatty interfaces. This is not only true when we design our objects and interactions among objects, but also for your database interactions. For example if you have multiple rows to be updated to your table, its highly inefficient to fire your inserts one at a time to your database. If you are using a dataset, in ADO.net 1.1, data adapters update method prcessed each datarow one at a …

Continue reading →

AJAX Control Toolkit – Collapse Panel Flicker

If your collapse panel is causing your page to flicker while panels are collapsed and expanded, make sure that “SuppressAutoPostback” property is set to false. (Why would anyone wants to postback on panel actions anyways ??!!) In many forums I have seen setting style=”overflow:hidden” Height=”0″ for panel as a solutions, for me suppressing postback did the trick… Cheers!

Continue reading →