Mohammad Azam
20 posts.
- Understanding Mock ObjectsMock object is basically a mirage of the real object as they posses the same qualities by don't do anything. Mock objects really shines when working with…
- Creating Better FindControl MethodThe default implementation of the FindControl method which is part of the Control class is not recursive. This means that if you are trying to find a…
- LEFT JOINS and DefaultIfEmpty Operator in LINQSuppose you have a tblRoom and tblUserInfo. Now, you need to select all the rooms regardless of whether the room has user information or not. This calls…
- LINQ to SQL DataLoadOptionsOne of the good things about LINQ to SQL is that it gives the developer flexibility to choose the specified columns of a table from a database. Let's say…
- ASP.NET MVC Controller And Action Role AuthenticationToday, I was playing around with ASP.NET MVC Framework when I came to an interesting situation. I was displaying Categories from the Northwind database as…
- Using JQuery to Add Drag and Drop SupportDrag and drop support in a web application always get some attention. I used drag and drop support in one of my applications and I have to admit that it…
- Url Rewriting Using ASP.NET MVC FrameworkFew days ago I wrote a post about Url Rewriting Using RewritePath Method. The basic idea was to rewrite the path to the correct one inside the…
- Getting Started with ASP.NET MVC FrameworkToday, I played around with the new ASP.NET MVC Framework. I have to admit it is quite intriguing. I created a small application in which the user can…
- "SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM."While working on an application I faced the following error when trying to submit changes to the database using DLINQ:
- Testing ASP.NET Application Using Watir And RubyWednesday, January 02, 2008 9:27 AM Now, this is freaking awesome. Testing your ASP.NET pages using Ruby code. I used to test my ASP.NET pages using…
- Google Chart API Truly Awesome!!!!!My friend blogged about Google Chart API. You can read his post. The chart API is a URL based API which means you will pass the data in the URL and Google…
- Passing Parameters from ASP.NET Application to Crystal Report ApplicationCrystal Reports allow you to display the data in a formatted report style form. You can easily create Crystal Reports by adding the "New Item" from the…
- Solving the error "Could not find control 'xxx' in ControlParameter 'xxx'."If you have used SqlDataSource control with the GridView, FormView or the DetailsView and updating the data in the database using the UpdateCommand and…
- Bread Crumbs in ASP.NET 2.0ASP.NET 2.0 provides a great feature of creating Bread Crumbs. Bread Crumbs appears as links or images and shows the user his current position in the…
- Populating the DropDownList inside the FormView ControlFormView control is a template control and hence it allows other controls to be embedded inside it. You can also place a DropDownList control inside the…
- Security Trimming in SiteMapsSecurity Trimming attribute in the SiteMap is a pretty cool feature to hide the links which are not approachable by the user of the desired role. Yes, I…
- Gettting Column Value Using Checkbox in GridView Autopostback = trueSometimes we need to have checkboxes in the GridView control and we want that as soon as the Checkbox is clicked/checked the postback happens and we get…
- Solving GridView Export Paging ProblemsFew days ago there was a question asked on www.asp.net forums that how can I export the whole GridView to Excel if the paging is enabled. I prepared this…
- Hyperlink Columns in GridView ControlThe code below creates a GridView control that have a hyperlink column which sends the ID to other page: Here is the simple code which you can use:…
- GridView Export to Excel ProblemsSeveral days back I wrote an article Exporting Datagrid to Excel, Word and Text Files. I tried the same technique for the GridView control and was smashed…
