P
Paul
I'd like to set a DataView on a DataGrid during Page_Load() but only if
the page is loading because of it being hit by a response.redirect from
another page. Is there any way to detect what entity causes a postback?
Page_Load() itself offers very little because sender is always an entity
on the page. Eventargs didn't seem to be much help.
I'm thinking of setting a session var in the button click event of the
page that causes the response.redirect. I guess that would work, but
what do you think? I could use that var to do a conditional check.
~Paul
the page is loading because of it being hit by a response.redirect from
another page. Is there any way to detect what entity causes a postback?
Page_Load() itself offers very little because sender is always an entity
on the page. Eventargs didn't seem to be much help.
I'm thinking of setting a session var in the button click event of the
page that causes the response.redirect. I guess that would work, but
what do you think? I could use that var to do a conditional check.
~Paul