The error does not happen on demo page, it´s only in my PC. I´m using IE7.
I've tried again with the demo in my PC. Again from the begining!
I don't get that error but I't doesn't run at all. I've made some changes in the code.
I've changed the StateSuggest function in Default.aspx.cs and Suggestions.cs not to get the elements of the list from DB:
Quote: List<SuggestionItem> items = new List<SuggestionItem>();
SuggestionItem suggestionItem = new SuggestionItem();
suggestionItem.Title = "title1";
suggestionItem.Id = "id1";
//add item to the list
items.Add(suggestionItem);
return SuggestionItem.SuggestionArrayToJSON(items.ToArray(), tryValue);
One of the things I don't understand is why the function StateSuggest is in two files. Anyway, the application starts running and the hourglass rounding¿? but it doesn't stop, it doesn't do anything.
I've also had to changed the name of the SuggestionItemToJSON function in AdvancesSuggestionItem.cs because the function is not been recognized, I've changed the name for ToJSON. Is it ok?
Quote:public override void SuggestionItemToJSON(StringBuilder sb, string tryValue)
This is the first time I use WebServices, so I may be doing sth wrong,
Thanks,