ValueChanged Event and SelectionChanged Events are fired always, my requireement is like
If i entered existing item valuechagechanged or selectionchange should fire, if I enter New Item, addItem event should fire, but whenever i added new item always valueChanged Event and SelectionChanged events are fired, becaues of this page is always postback.
how to achieve this
="ProductName"
="WebDropDown1_ValueChanged">
/>
Hi,
you can cancel the ValueChanging and SelectionChanging client-side events, if you don't want a postback to occur, depending on some condition:
args.set_cancel(true);
Also i would suggest to use the AutoPostBackFlags for ValueChanged and SelectionChanged, instead of AutoPostBack=True.
Thank you,
Angel