Geeks With Blogs


Show Loading Message in AJAX
In this post, I will explain you how can we show Loading message in ajax without using Update Progress. Now some one may asked, why do I want to skip Update Progress ? Well, there can be several reasons for this, fist of all you have to work on every single page, and on every update panel to get the update progress working. There are basically three methods of meeting this requirement. Using Master Pages : A very smart way, but not all of us are using them .. right ? Extending Page Class ......

Posted On Sunday, July 19, 2009 8:47 PM

Migrate from WordPress to
In this post, I will explain how to migrate a blog running on Word Press (Self Hosted) to BlogEngine. But before I start let me say, that Word Press simply rocks. The reason why I plan to switch my blog is customization. Since I am a dotnet geek, I really have no great idea of what I can make out of Word Press using PHP and when it comes to Blogging in .net, I guess I made a very right decision to use BlogEngine. It is open source and included all the necessary blogging utilities. The main thing ......

Posted On Sunday, July 19, 2009 6:37 AM

How to show and select month/year in Calendar Extender
In this post I will explain you, How to make calendar extender control to show month / year view by default and instead of selecting dates how can we use calendar extender to select months. Before I start, let me say that I got extensive support from this forum post Thanks to Zhi-Qiang Ni, but the way he follow was a little bit lengthy. However, all credit still goes to him because I gain the exact idea from his post. Let me start by creating a calendar extender ......

Posted On Sunday, May 31, 2009 3:19 AM

Datatable to JSON
In this post I will explain you, how can we serialize Datatable to JSON. So that, it can easily pass to JavaScript to get the AJAX done. First of all fill a Datatable with some results. DataTable dt = new DataTable(); SqlConnection objSqlCon = new SqlConnection(System.Config... objSqlCon.Open(); SqlDataAdapter objSqlDa = new SqlDataAdapter("select * from Production.Product", objSqlCon); objSqlDa.Fill(dt); Now ......

Posted On Saturday, May 16, 2009 4:52 PM

Passing Parameter To User Control On A Modal Popup
This is the most demanded scenario for the one who are using AJAX Control Toolkit, I mean I have seen most of the people asking for this feature on forum. Unfortunately, we have no such functionality provided in Modal Popup because the control get rendered once the page is loaded and the Modal Popup is just a JavaScript which work is just to display a div which is hidden. Here is a little work around for those who wants to pass parameter to user control using Modal Popup. Basically, ......

Posted On Sunday, February 8, 2009 1:35 AM

Disable Control When AJAX is in progress
If the AJAX call to the server take too much time, then there is a possibility that user might press some other buttons or some other event occurred which will cause your AJAX call to stop and make a new request. To overcome this situation, I decided to have div on the top of the page so that while AJAX call is in progress user cannot do any thing else. So I simply Drag and Drop a Update Progress Control and write the following stuff. <asp:UpdateProgress ID="UpdateProgress1" runat="server"> ......

Posted On Friday, February 6, 2009 2:08 AM

Copyright © Agha Usman Ahmed | Powered by: