I have two autocomplete boxes on the page, and per the demo I'm setting their datasources in the Page_Load event.
I only want to hit the database once, however. How can I get the ID of the control that initiated the postback?
I've used:
However, it returns an empty string- I imagine that's because it's a parital postback.
I only want to hit the database once, however. How can I get the ID of the control that initiated the postback?
I've used:
String control_id = Page.Request.Params.Get(
"__EVENTTARGET"
);
However, it returns an empty string- I imagine that's because it's a parital postback.