Here I will explain how to solve the problem “Method error 500/12031 in ajax cascadingdropdown extender” using asp.net.
Description:
In previous post I explained clearly about Ajax cascading dropdownlist sample. Generally during implementation of cascading dropdonlist we will see our dropdowns shows error like “Method error 500 or Method Error 12031”. This error is occurred because of missing following line of code in WebService.
[System.Web.Script.Services.ScriptService()] |
[WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.Web.Script.Services.ScriptService()] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class CascadingDropdown : System.Web.Services.WebService { |
|
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
Subscribe by RSS
Subscribe by Email
|
|||
|
|
Subscribe by RSS
Subscribe by Email
4 comments :
Hi, I have writen same with all the mention things u say, bt still its gigving error Method Error 500
Still i m getting this error plz give some solution
tomra tale baal chero
thank i soo much.. with ur help i solved my problem in just 2min