tag:blogger.com,1999:blog-7805972021499203804.post7793149073980055502..comments2023-10-30T06:24:14.411-07:00Comments on ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview: Ajax Cascading Dropdownlist Sample with database using asp.netSuresh Dasarihttp://www.blogger.com/profile/01337689983379917267noreply@blogger.comBlogger137125tag:blogger.com,1999:blog-7805972021499203804.post-75346355073788859682016-05-09T05:04:28.569-07:002016-05-09T05:04:28.569-07:00sir i try all solution ..but still am getting empt...sir i try all solution ..but still am getting empty drop-down list plzzzzzzz help m ....<br />i run only web services it give m correct output...but in web page dropdown list is empty Anonymoushttps://www.blogger.com/profile/15202904872244220738noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-21977153155525855302015-03-27T23:39:53.901-07:002015-03-27T23:39:53.901-07:00i am getting the error there is no source code ava...i am getting the error there is no source code available for this location..plz helpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-76136043344028843252015-02-08T03:31:23.200-08:002015-02-08T03:31:23.200-08:00please ignore above code it was
SqlConnection co...please ignore above code it was<br /><br /> SqlConnection concountry = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);<br /> concountry.Open();<br /> SqlCommand cmdcountry = new SqlCommand("SELECT countryid, country_name FROM country", concountry);<br /> SqlDataAdapter dacountry = new SqlDataAdapter(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-30907616779205196092015-02-08T03:29:32.091-08:002015-02-08T03:29:32.091-08:00it giving me metho error 500 on state drop down me...it giving me metho error 500 on state drop down menu...<br />below is code please suggest.<br /><br /><br /><br /> [WebMethod]<br /> public CascadingDropDownNameValue[] BindCountrydropdown(string knownCategoryValues, string category)<br /> {<br /> SqlConnection concountry = new SqlConnection(ConfigurationManager.ConnectionStrings["Connection"].ConnectionString);<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-9319546477078341112015-01-11T11:41:34.412-08:002015-01-11T11:41:34.412-08:00Nice post dear.Nice post dear.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-67699158805043086322014-12-02T00:24:13.821-08:002014-12-02T00:24:13.821-08:00above code is runableabove code is runableAnonymoushttps://www.blogger.com/profile/12504379450168661402noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-56082972220793553472014-12-02T00:20:29.269-08:002014-12-02T00:20:29.269-08:00[WebService(Namespace = "http://tempuri.org/&...[WebService(Namespace = "http://tempuri.org/")]<br />[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]<br />[System.Web.Script.Services.ScriptService()]<br />public class DropdownWebService : System.Web.Services.WebService<br />{<br /> <br /> [WebMethod]<br /> public CascadingDropDownNameValue[] Bindcountrydropdown(string knownCategoryValues, string category)<br />sachin chaudharynoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-24552414685180095862014-10-15T00:37:44.838-07:002014-10-15T00:37:44.838-07:00hi...suresh Bro..
I have done all thing but if rec...hi...suresh Bro..<br />I have done all thing but if record is more than 200 then fire error [error 500] .Plesae help me as soon as possible at my Id: sushil7350@gmail.comAnonymoushttps://www.blogger.com/profile/06976871190718387156noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-52983796049230427672014-07-04T06:27:12.008-07:002014-07-04T06:27:12.008-07:00Hi Suresh,
Https is blocking Ajax Cascading Dropdo...Hi Suresh,<br />Https is blocking Ajax Cascading Dropdownlist content in all browsers, How to solve this issue?sumeshhttps://www.blogger.com/profile/03191257458407417522noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-91349952715716430932014-05-09T01:11:33.917-07:002014-05-09T01:11:33.917-07:00Hello Admin. Im new .Net ... tried ur code in my a...Hello Admin. Im new .Net ... tried ur code in my application I got result also...But I have problem here.....I have 4 Cascade Dropdowns and Button control.Here, without giving Selcting the dropdowns directly fire button control come to Button method...But after Selecting all the dropdowns values Im trying to fire the button....but the control doesnt come to Button method ...I dont know what is Anonymoushttps://www.blogger.com/profile/18135603939456429865noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-7731629286213622202014-05-09T01:08:48.593-07:002014-05-09T01:08:48.593-07:00Hello Admin. Im new .Net ... tried ur code in my a...Hello Admin. Im new .Net ... tried ur code in my application I got result also...But I have problem here.....I have 4 Cascade Dropdowns and Button control.Here, without giving Selcting the dropdowns directly fire button control come to Button method...But after all the dropdowns ,i fire the button....but the control doesnt come to Button method ...I dont know what is the Reason please help me outAnonymoushttps://www.blogger.com/profile/18135603939456429865noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-29842390738490107262014-04-28T14:28:42.692-07:002014-04-28T14:28:42.692-07:00I extended your approach as follows:
DropDownList ...I extended your approach as follows:<br />DropDownList droplist = new DropDownList();<br /> droplist.ID = "DropDownListOrderTask";<br /> droplist.AutoPostBack = true; <br /> item["OrderTask"].Controls.Add(droplist);<br /><br /> CascadingDropDown ccdOrderTask = new CascadingDropDown();<br /> ccdOrderTask.ID = "ccdOrderTask";<br />RBhttps://www.blogger.com/profile/15784187054814952478noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-26464130136717476832014-04-11T00:48:20.324-07:002014-04-11T00:48:20.324-07:00cn u plz post hw to bind dropdown in 3 tier using ...cn u plz post hw to bind dropdown in 3 tier using object...plz as soon as possibleAnonymoushttps://www.blogger.com/profile/09603349482639626756noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-42418065877407759352014-03-30T00:14:30.585-07:002014-03-30T00:14:30.585-07:00Hiii, I have a problem with the Cascading drop do...Hiii, I have a problem with the Cascading drop down. <br />Cascading drop down is getting refreshed infinetly. in Chrome and safari browser. <br />This issue is not appearing in IE and firefox. I have tried adding Microsoft ajax scripts in the script manager and added the browser compatability code but nothing worked for me. Please let me know if there is any solution regarding this issue.<br />phanihttps://www.blogger.com/profile/16862143753143085447noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-9243221488949218212014-03-21T22:59:38.586-07:002014-03-21T22:59:38.586-07:00it is very helpfulit is very helpfulAnonymoushttps://www.blogger.com/profile/12678321925280380205noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-46802614344264022202013-11-21T03:58:56.017-08:002013-11-21T03:58:56.017-08:00Hello Sir!!
Thanks a lot for the gr8 help. It wor...Hello Sir!!<br /><br />Thanks a lot for the gr8 help. It works but I am facing a problem in filtering the data in my web method I want to filter the data. If I select a particular state it should show only districts in that particular state but it doesn't allow me to query on the dropdownlist in the web method. How to call the dropdownlist in the web method Please help..Rituhttps://www.blogger.com/profile/15373608666315149159noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-14192152034514654572013-10-09T00:31:30.145-07:002013-10-09T00:31:30.145-07:00Thanks Brother.. you are awesome
Thanks Brother.. you are awesome<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-61367422014332835072013-09-27T01:32:15.913-07:002013-09-27T01:32:15.913-07:00hi.......sir.this error occure during running
Cou...hi.......sir.this error occure during running<br /><br />Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-1124964854807340642013-09-24T03:21:21.778-07:002013-09-24T03:21:21.778-07:00How to fill Drop Down list i am blank drop down li...How to fill Drop Down list i am blank drop down list<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-75052763897212122742013-09-18T07:13:42.829-07:002013-09-18T07:13:42.829-07:00hi this is mahesh,
i am unable to get values to dr...hi this is mahesh,<br />i am unable to get values to dropdownlist.<br />i am getting error like method error 1230,like thet am getting can u please chaeck it once.Anonymoushttps://www.blogger.com/profile/01498867904041289563noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-85400174728988337872013-09-16T06:26:18.559-07:002013-09-16T06:26:18.559-07:00CountryID = Convert.ToInt32(countrydetails["C...CountryID = Convert.ToInt32(countrydetails["Country"]);<br />what is Country here??Harshitnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-26166405022744187202013-09-11T00:58:39.134-07:002013-09-11T00:58:39.134-07:00Hi Suresh I want to know other than this topic...
...Hi Suresh I want to know other than this topic...<br />I have created a software which contain a .mdf file but the connection String which i am using is of my system file location. so , i am unable to run the software in another PC. can u suggest a way so that it can run in any PC.I have used viual studio 2010 to develop the software..<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-40766813843194511302013-09-01T04:09:10.132-07:002013-09-01T04:09:10.132-07:00Hi suresh really very good.Code is working but one...Hi suresh really very good.Code is working but one problem is if value fetch in drop down(Like 1000 or more )its gives error 500.Please helpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-90691855782951866492013-08-22T04:59:37.510-07:002013-08-22T04:59:37.510-07:00Hi suresh really very good ,but i want more except...Hi suresh really very good ,but i want more exception from your end you know know we r using 4.0 or 4.5 version and you didn't mention any thing in both version if you updated any thing (Just like new interview q ans Ans,wcf in 4.0 or 4.5 etc) Thanks Arjun walmiki Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-7914757193454151772013-08-06T21:24:29.346-07:002013-08-06T21:24:29.346-07:00Hi,
I am Saroj ,I got same error like [Method erro...Hi,<br />I am Saroj ,I got same error like [Method error 500].But it solved,<br />1.First check the connection string in Webconfig file,<br />2.Create Tables in perfect naming like suresh)<br />3.Give the table name Country not Country Table.<br />4.First fill the tables then try to retrive..<br /><br />I think it will be help u for solving the [Methord error 500]<br /><br />Thanks suresh to helpAnonymousnoreply@blogger.com