Posted on: 7/24/2014 4:10:47 AM | Views : 369

hello all,
i have an issue with javascript. i developed a project in asp.net using csharp. when it was uploaded on internet it was working slow. to make the processing fast i have been advised to convert some of my csharp code to javascript and use ajax controls. following is the csharp code:
int occ_no = error_sl[curr].occ_no; int position = NthOf(FreeTextBox, token, occ_no); FreeTextBox = FreeTextBox.Substring(0, position - 24) + replace_string + " " + FreeTextBox.Substring(position + token.Length + 7); int position2 = NthOf(InputText, token, occ_no); InputText = InputText.Substring(0, position2) + replace_string + InputText.Substring(position2 + token.Length); for (int i = curr; i < no_of_misspell - 1; i++) { error_sl[i].errorword = error_sl[i + 1].errorword; error_sl[i]. ...

Go to the complete details ...