L
Lloyd Sheen
Ok I have a web control which is used to input search terms. It works
really well on one page.
Now I need nearly the same functionallity on another page and I take the
pieces and move them to the new page (no web control). I have a button with
a click function which populates a repeater. On the first click of the
button it goes to the click handler and all is well. On the second click it
goes directly to the ItemCreated handler. Since the DataSource has not been
created of course this does not work.
Of course in the call stack there is nothing I can identify as to the reason
for the repeater to attempt the ItemCreated since it did not go thru my code
to get a new datasource.
I have tried all sorts of combinations of AutoEventWireup on the @Page
directive but nothing works on the second occurence.
Any ideas? If you want I can post code as well.
Lloyd Sheen
really well on one page.
Now I need nearly the same functionallity on another page and I take the
pieces and move them to the new page (no web control). I have a button with
a click function which populates a repeater. On the first click of the
button it goes to the click handler and all is well. On the second click it
goes directly to the ItemCreated handler. Since the DataSource has not been
created of course this does not work.
Of course in the call stack there is nothing I can identify as to the reason
for the repeater to attempt the ItemCreated since it did not go thru my code
to get a new datasource.
I have tried all sorts of combinations of AutoEventWireup on the @Page
directive but nothing works on the second occurence.
Any ideas? If you want I can post code as well.
Lloyd Sheen