Basically, I have a ListView of items. When one is selected, a text box comes into view on the right to display more details of that item (takes a little time for the item
you can use the below code inside the event block to check whether the
SelectedIndexChange event is firing directly because of the control or due to
some postback event from some other usercontrols/Pages
string id= Request.Form["__EVENTTARGET"];
if(!string.IsNullorEmpty(id))
{
//your code here
}