Hey folks...
For the life of me I can't figure out what I'm doing wrong here. I have an autocomplete combobox, databound by a LINQ datasource. I am retrieving 2 fields, userName and userID and using them for the text field and value field respectively. I get the list of usernames populating the combobox just fine but I'm unable to access the userID no matter what I've tried, using both a button click to get selectedvalue and the selecteditemchanged event of the combo box. Clearly I'm missing something here... or I should have just taken a break a few hours ago ;)
Any advice would be greatly appreciated!
Paul
EDIT... Neverrrrrrrrrmind. I think I got it sorted out. Among other things I hadn't noticed that the indexchanged event handler wasn't registered in the aspx page, don't know why and I'm surprised it didn't throw an exception but nope. A good lesson in learning when to take a break.
For the life of me I can't figure out what I'm doing wrong here. I have an autocomplete combobox, databound by a LINQ datasource. I am retrieving 2 fields, userName and userID and using them for the text field and value field respectively. I get the list of usernames populating the combobox just fine but I'm unable to access the userID no matter what I've tried, using both a button click to get selectedvalue and the selecteditemchanged event of the combo box. Clearly I'm missing something here... or I should have just taken a break a few hours ago ;)
Any advice would be greatly appreciated!
Paul
EDIT... Neverrrrrrrrrmind. I think I got it sorted out. Among other things I hadn't noticed that the indexchanged event handler wasn't registered in the aspx page, don't know why and I'm surprised it didn't throw an exception but nope. A good lesson in learning when to take a break.