AddItem

1 reply. Last post: September 11, 2009 12:33 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I need to load a list of users available in the webcombo, when a enduser types a user name in the combo it should search for that user.

if the user is available then the value change event  should be fired and the user details should be loaded in the below controls (for editing the user details).

if the user does not present then it should be added to the webcombo and the other controls in the pages should be cleared.

For that i have added AllowAddItem ="True" and added the OnAddItem event, value change event.

The onadditem event is fired and a row is added to the datasource. Then the value change event is fired that time the selected value is automatically set to the first item of the webcombo,  but it should be newly added item value. Even i tried to changing the new value, but it is not refleced in the browser.

Can you please tell me how to resolve this?



All times are GMT -5. The time now is 3:38 AM.
Previous Next