Hello,
I am working on one project where the requirement is to check the spelling errors in the textarea value which is filled by database while runtime..
my code is like this:
<script type="text/javascript" id="igClientScript"> function Click2() { var spell2 = ig$('<%=WebSpellChecker1.ClientID%>'); var text2ID = '<%=inactive_description.ClientID%>'; var text2 = document.getElementById(text2ID); spell2.checkSpelling(text2.value, null, text2ID);
}
</script>
<textarea ID="inactive_description" cols="150" rows="21" style="background-color: #B0E2FF"class="biggerFont"></textarea> <input id="btn" type="button" value="Spell Check" runat="server" onclick="Click2()" /> <ig_spell:WebSpellChecker ID="WebSpellChecker1" runat="server"> </ig_spell:WebSpellChecker>
here textarea value is gonna filled by database when i will run this script but when i run it and click on the check spell button ,spell checker dialogue box is not coming but if i modify that value of text area then dialogue box will show but it will only check my modified text..not the whole text that is present in textarea..
if i m gonna use textbox instead of textarea then the result is still same...i tried all the formulas that i found in different forums and i also submitted support request and they gave me the code that i posted here but it didnt work out..
P.S. i used javascript code to fill the text value of textarea field from database..
Please give me solution as soon as possible..
Thank You!
Hello David
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I was able to perform spell check on the value that are retrieved from the database.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.
Hello Prabha,
First of all,
I am not using sql database..i m using external oracle database and other thing i m using jqgrid to display my data like gridview...and one more thing i m using <textarea></textarea> NOT <webtexteditor> and again even i tried to use this <WebTextEditor> but the result is still same. i will send you my project soon.kindly take look on it. thank you!
Hello Dalaysla,
Were you able to resolve the issue?
Please let me know if you have any further questions regarding this matter.
I already Submitted sample project.Kindly review it and let me know the solution.Thank You!
Hello Delaysla,
I have updated the other case I have it with you.
Let me know if you have any questions
hello prabha,
did u close my case? i can not see support activities in my account.please do reply.