Agha Usman
Lives in Riyadh(Saudia Arabia) belong from Karachi (Pakistan)
-
Google Can Do Mistakes So Why People Don't
-
Prevent Request Timeout in Asp.net
In one of our application we want our user to upload data up to 1GB and the most interesting part is we want this uploading via HTTP. I mean, we have plan to use FTP but that is for future. For now we need to make it with HTTP.
-
Passing Parameter To User Control On A Modal Popup
This is the most demanded scenario for the one who are using Asp.net AJAX Control Toolkit, I mean I have seen most of the people asking for this feature on asp.net 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. -
Disable Control When Asp.net 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. -
Send Welcome email to user using Membership API
While using Membership API, It is a very normal task to send user a registration or verification email. We can achieve that using two ways one is using the default email setting of Create User Control and other is by implementing CreateUserWizard.CreatedUser event
-
Event Bubbling in Javascript
Today, while creating some javascript popup I had a condition in which I place onclick function on body tag. I had an other button which also implement onclick. So the code looks like as follows
-
Long Waited Task in Asp.net
Yesterday, one my my friend ask me a query about sending some 500+ emails using an asp.net page. Sending bulk email using asp.net is obviously an issue. I mean, You cannot keep the page on the post back state for the five minutes. Your page will get expired and even if you increase the Request Timeout period it is still not a good approach.
-
Get Primary key on Row Command (GridView)
Some days back I got a query from one of my fellow, regarding a very normal situation I mean that’s the day to day task that we as a developers are doing. Here is the scenario
-
Backup Failed : System.Data.SqlClient.SqlError: Failed to pause catalog for backup. Backup was aborted.
This morning when I was taking backup of the database located on one of our dedicated server. I hunt the following error.
-
Beta Components Detected on SQL Server 2005 Installation
This weekend, I was in Morgan Technologies as they were facing some installation problem in SQL Server 2005 enterprise edition. So they called me up with relation to the community work. So the error was