I am having a strange issue and cannot solve it. Basically, I have a form
that edits information in a database. This form has many different controls
that are bound to a business object. When I first load the form to edit
the info everything works properly. The process of loading the object also
loads the object into cache (Isolated storage using Enterprise Library 2.0
caching application block). If I load the form again and attempt to edit
a field (say notes a textbox) my cursor gets "stuck" in the text box and
I cannot click on any other control in the form. However I can close the
form with the X in the upper right corner and the keys still function properly
(Enter saves the object and Esc closes the form). I have looked the stack
trace but it is giving me nothing. I have no idea where to begin. Has anyone
seen something similar or have any ideas what it might be? Any ideas how
I can go about getting some info to solve the problem?

Re: Cursor "stuck" In Databound Control/Caching? by Dmytro

Dmytro
Fri Jun 17 01:16:30 CDT 2005

Hi Sam,

This usually happens when the bound business object throws an exception in
the setter of the property bound to the control where the input caret gets
"stuck".
If you use custom property descriptors, I'd look for the problem there first
of all, but as it seems it's not the case, carefully examine the business
object for any unexpected exceptions.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]


"Sam Kuehn" <samkuehn@hotmail.com> wrote in message
news:262714632543347533971717@msnews.microsoft.com...
>I am having a strange issue and cannot solve it. Basically, I have a form
>that edits information in a database. This form has many different
>controls that are bound to a business object. When I first load the form
>to edit the info everything works properly. The process of loading the
>object also loads the object into cache (Isolated storage using Enterprise
>Library 2.0 caching application block). If I load the form again and
>attempt to edit a field (say notes a textbox) my cursor gets "stuck" in the
>text box and I cannot click on any other control in the form. However I
>can close the form with the X in the upper right corner and the keys still
>function properly (Enter saves the object and Esc closes the form). I have
>looked the stack trace but it is giving me nothing. I have no idea where
>to begin. Has anyone seen something similar or have any ideas what it
>might be? Any ideas how I can go about getting some info to solve the
>problem?
>
>