Hello,I have a webtab control with 2 tabs and each tab is having a webgrid. Each webgrid is having a webcombo embeded. Webcombo's are having ComboTypeAhead="Suggest" and have the OnInitializeDataSource event implemented to populate the data.My problem is that when I type anything in the webcombo of 2nd grid the OnInitializeDataSource event for the that grid is executed as expected but then for some reason the OnInitializeDataSource event of the webcombo of the first grid is also execute. I am not sure why this is happening, Please help.
Thanks,Rajiv
Hello Rajiv,
This is the expected behavior. When there is a Postback, all registered events will be executed in the page lifecycle. You can check Page.IsPostback property to determine whether the current call is from a postback or not, and depending on this, decide whether to databind or not.
Thanks,
Angel