Bootstrap Multiselect Dropdown in ASP.NET Web Forms

Today I was working on one of my project and I noticed the need of selecting multiple values in a DropDownList. Being a .NET guy my first thought was to us ListBox because is gives same feature, we can selected multiple values by holding ctrl (control) key. But the reason for not using it was that it is not user friendly and its view is not good.

After searching for few minutes I found this Bootstrap Multiselect plugin. I was using bootstrap in my project as well so that was best fit for me. For other also it is very good tool and very easy to use with any platform. I used it with ASP.NET web forms so showing the same here. Keep on reading

How to use MultiView with sample codes

MultiView is a simple ASP.NET web form control to create different view on same page and show them based on your certain conditions and logic.

A simple example to see where MultiView can be used is Payment processing on any e-commerce website. Usually there are different steps for payment processing like View Cart, Provide Shipping Information, Enter Payment details (like credit card) and complete payment. Keep on reading

Solution for SUM() in SQL query returning NULL instead zero (Differen between ISNULL and COALESCE)

When I was working on SQL queries I face this problem and then I have to shake my head to remember why this happen and what I did to solve it. So now I am documenting it here in more detail so that anyone who need help can get information here. Even I can check back when I will do same mistake 😉

Normally what happens is we use COUNT in QSL query and it return 0 if there is resolve fr that query. For example here is my table Keep on reading

Solution : Cross domain policy issue while calling SOAP service from your application

Some days back I was trying to call a .net SOAP web service from my Silverlight application. This was my first attempt to call a SOAP service from a Silverlight application and I saw this error

An error occurred while trying to make a request to URI ‘https://edunyte.com/MyService.asmx’. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details. Keep on reading