04 Mar 2008, 3:16 PM
|
proace
Joined on 02-20-2008
Austin, TX
Posts 13
|
Re: IE6 crashes with SpellAsYouType and SmartNavigation set to True
|
|
|
|
It seems we have another issue having to do with when the page does a postback. If we type text into a textbox that is being checked by UltimateSpell, then do a postback, then change the text in the textbox that was being checked, the typos no longer get checked anymore, and if you then do another postback, the text in the textbox reverts back to what it was before the first postback.
That probably sounds confusing, so I'll use the crash test app I sent you guys yesterday as an example, since I was able to recreate the problem on there with both the old and updated js files.
- So if you load up that crash test app, type the text "asdf test" into TextBox1. The text "asdf" should now be underlined.
- Next change the value of DropDownList1 to something else and let the page do a postback. Now "asdf" in TextBox1 is no longer underlined.
- Then add another "asdf test" to TextBox1 so the full value is "asdf test asdf test". Neither "asdf" will be underlined.
- Now change the value of DropDownList1 again to something else and let the page do a postback. The value of TextBox1 becomes "asdf test" after postback, when it should be "asdf test asdf test".
It seems after doing a postback, the spellchecker stops working and the values of the textboxes gets stuck at whatever it was before the postback. After messing with it for a bit, it seems that it has to do with smartNavigation again. When the page has smartNavigation set to True, this behavior occurs. When it's set to False, it doesn't happen and works like normal. Sorry to be a pain about this smartNavigation thing, but my client specifically asked for it, so would be best if we could get UltimateSpell to work with smartNavigation enabled.
|
|
|
|
|
|
|
|
|