|
Rank: Newbie
Groups: Registered
Joined: 1/25/2017 Posts: 6
|
Hi, Please can you help me, I am trying to setup my MVC project to use your "As you Type" functionality on some text boxes, but without success . Calling dialog model and spelling work fine . But as you type don't.
Both Javascript file i put in head Main-Page. And added two reference in my project : Keyoti.RapidSpellWeb.ASP.NETv4 ,Keyoti.RapidSpellMDict.dll . rapidSpell.useAJAXWebService = true; Add 2 ignore routes: routes.IgnoreRoute("{d}/{resource}.svc/{*pathInfo}"); routes.IgnoreRoute("{d}/{resource}.svc");
Do I need anything else to setup ? Br
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Thanks for posting - do you see any JS errors in the console in the Dev Tools window (F12)? Do your textboxes have id attributes set? Can you show the code you have on the page please? Doesn't have to be all of it, but show what you've done with RapidSpell. Thanks Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Newbie
Groups: Registered
Joined: 1/25/2017 Posts: 6
|
Hi Jim,
I don't have any JS errors , yes all my textboxes have unique id attributes. I just don't see any indication when I enter a misspelled word.
I put RapidSpell -AYT.js and RapidSpell-Dialog.js in head section on MainPage(used for this Project) is this right place ? And Keyoti_RapidSpell_Web_Common in Scripts Folder of this MVC project. After that I load partial views(tabs) depending on the selection in side menu.
window.onload is loaded(and all events from RapidSpell-AYT.js ) before page div content(textboxes) has been loaded. Do I need to rescan page and reload Window.onload after all textboxes are on the page and how to do that? Br
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Quote:window.onload is loaded(and all events from RapidSpell-AYT.js ) before page div content(textboxes) has been loaded. Thanks, that sounds like it's the problem. Once all the textboxes are loaded you should call Code:rapidSpell.ayt_setupTextBoxes(true); https://keyoti.com/produ.../AJAX_DHTML%20Usage.htm
Best Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
You sent me some images showing "Access is denied" errors, and errors like "Blocked a frame with origin "https://localhost" from accessing a cross origin frame." What URL is your page loading under? Usually cross origin issues mean that you have a page loading under 1 domain but a script or iframe is loading from a different domain/url. Jim -your feedback is helpful to other users, thank you!
|
|