asp.net ajax - Cascading Dropdown without using any webservice -


I was looking for a way to do cascading dropdown without using the web service and came over it

I tried the suggestion below but I get a method 500 error. I search this error on the web, but I only have to increase the webserveration size, but I am not using the web service at all So I guess that does not apply.

Does anyone know whether to make cascading dropdown without using the web service or for better tutorials / butchers?

Thanks

Cascading dropdown control not designed to be used without a webservice I was running into big problems using control with large datasets. What I was finally doing at the end:

  & asp: ScriptManager id = "ScriptManager" runat = "server" /> & Lt; ASP: Update Panil ID = "Panel 1" Runat = "Server" ChildArgrager = "True" & gt; & Lt; ContentTemplate & gt; & Lt; ASP: Dropdown list id = "ddlDropdown1" runat = "server" On-select index switching = "ddlDropdown1_IndexChanged" AutoPostback = "true" /> & Lt; Asp: dropdown list id = "ddlDropdown2" runat = "server" /> & Lt; / ContentTemplate & gt; & Lt; / ASP: UpdatePanel & gt; Protected Zero is using ddlDropdown1_IndexChanged (Object Sender, EventArgs E) {// Database ... // DPLD Prododation 2}  

This will allow you to fill multiple levels of drop down As you like This solution does not use cascading dropdown control but gives you the same effect. 500 error is a normal data error from AJX and generally indicates that you are not using the [Scripps Service ()] decorator at the top of the webservice class.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -