WWFBD: Auto-complete list

posted by Jeff | Thursday, June 26, 2008, 1:22 AM | comments: 0

Awhile ago, too long ago, I mentioned how I wanted to do an auto-complete "to" text box for my forum app's private message system. The idea is that you start to type a name, and a list of members automagically appears. Then you can either use the arrow keys and enter to select one, or click your choice.

I guess the issue here is that I knew it was possible for me to figure out, and I felt strongly that it was the right thing to do. It's just time consuming, because I'm in the weeds with stuff I don't use every day. But regardless, I've got it basically working with everything but the call back to the server to get actual names. Honestly, that's the easy part.

I'm amazed at how easy a lot of grunt work nonsense is using the ASP.NET AJAX framework. For example, I can easily get an element, find out where it is and what it's size is so I can position the container for the suggestions similarly. That is too sweet. That's the kind of stuff I used to have a lot of issues with, but that junk is all removed and I can do real work.

So yeah, I'm spending time doing something that doesn't have huge pay off, but I feel like I'm learning and getting better at what I do.


Comments

No comments yet.


Post your comment: