December 2010 - Posts

9
Comments

Enum.HasFlag method in C# 4.0 by Jalpesh P. Vadgama

Enums in dot net programming is a great facility and we all used it to increase code readability. In earlier version of .NET framework we don’t have any method anything that will check whether a value is assigned to it or not. In C# 4.0 we have new static...
7
Comments

ASP.NET 4.0- Menu control enhancement. by Jalpesh P. Vadgama

Till asp.net 3.5 asp.net menu control was rendered through table. And we all know that it is very hard to have CSS applied to table. For a professional look of our website a CSS is must required thing. But in asp.net 4.0 Menu control is table less it...
Filed under: ,
5
Comments

ASP.NET Error Handling: Creating an extension method to send error email by Jalpesh P. Vadgama

Error handling in asp.net required to handle any kind of error occurred. We all are using that in one or another scenario. But some errors are there which will occur in some specific scenario in production environment in this case We can’t show our programming...
3
Comments

ASP.NET Performance tip- Combine multiple script file into one request with script manager by Jalpesh P. Vadgama

We all need java script for our web application and we storing our JavaScript code in .js files. Now If we have more then .js file then our browser will create a new request for each .js file. Which is a little overhead in terms of performance. If you...
2
Comments

Programmatically updating one update panel elements from another update panel elements by Jalpesh P. Vadgama

While taking interviews for asp.net candidate I am often asking this question but most peoples are not able to give this answer. So I decided to write a blog post about this. Here is the scenario. There are two update panels in my html code in first update...
25
Comments

Sending mail with Gmail Account using System.Net.Mail in ASP.NET by Jalpesh P. Vadgama

Any web application is in complete without mail functionality you should have to write send mail functionality. Like if there is shopping cart application for example then when a order created on the shopping cart you need to send an email to administrator...
4
Comments

The remote host closed the connection. The error code is 0x80070057 by Jalpesh P. Vadgama

While creating a PDF or any file with asp.net pages I was getting following error. Exception Type:System.Web.HttpException The remote host closed the connection . The error code is 0x80072746. at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore...
4
Comments

Request format is unrecognized for URL unexpectedly ending exception in web service. by Jalpesh P. Vadgama

Recently I was getting error when I am calling web service using Java script. I searching on net and debugging I have found following things. Any web service support three kinds of protocol HttpGet,HttpPost and SOAP. In framework 1.0 it was enabled by...
3
Comments

ASP.NET MVC 3 RC2 Razor- Syntax Intellisense in view. by Jalpesh P. Vadgama

Microsoft has recently launched Razor view engine with ASP.NET MVC RC2. It’s going to be promising one. There are lots of features bundled with this view engine. But in earlier version of ASP.NET 3 MVC. We were are not having Synatx intellisense provided...
1
Comments

ASP.NET 4.0 Script Manager Enhancement Part-2 AjaxFrameworkMode Property by Jalpesh P. Vadgama

This will be a second part of ASP.NET 4.0 Script Manager enhancement. In this post I am going to explain about AjaxFrameworkMode Property. In Earlier asp.net version of script manager it will load entire Microsoft Ajax library whether its required or...
More Posts Next page »