Rank: Newbie
Groups: Registered
Joined: 5/5/2015(UTC) Posts: 1 
|
want to do a database lookup query from an edit field so i do a reload of the query (stored procedure) with the contents of the edit field as parameter only control event i can do is OnTyping which fires after every letter and loses focus on the edit field
how to solve this ?
Alex
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 484
Was thanked: 81 time(s) in 81 post(s)
|
I would not use OnTyping event for this - reloading data from a database on each keystroke is just too much for the network traffic.
A usual approach would be to add an Update button which performs an update once user has finished typing. If you don't like to have an additional button, then at least consider setting the propety "Trigger ControlActions During Typing" to false - MobileTogether will stop triggering this event immediately on a key stroke, and will wait for user to leave this field.
My personal preference would be the button, because then everything is absolutely clear for user.
Altova MobileTogether Experts
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.