Wednesday, December 15, 2010

Today I was working on sorting a dictionary

Force full postback in Update panel

Typically update panel requires only partial post back. But occasionaly there is a requirement to post back entire page after a control fires server side event. This can be easily achived using
PostBackTrigger in Triggers section of the update panel. I had a requirement of using GridView control inside the update panel. The GridView should trigger only partial postback on sort and delete commands, but full page post back on edit and add copy commands. I could do this using ScriptManager.RegisterPostBackControl() method as described at http://www.brybot.ca/archives/update-panel-gridview-and-non-asynchronous-postbacks-in-aspnet-20. Thanks a lot Bryan.

SSL Error - The connection for this site is not secure

 After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...