Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Tuesday, May 5, 2015 3:06:44 PM(UTC)

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 ?

#2 Posted : Tuesday, May 5, 2015 4:27:44 PM(UTC)

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
Users browsing this topic
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.