V
Vijay
Hi,
I am working on an Asp.net 2.0 web application that uses master pages,
according to our application architecture we should not use Viewstate. Is
there a work around to raise the events fired from the child controls of
repeater when viewstate is disabled?
The scenario is as follows
I have a web page with a repeater that has controls on it, The viewstate is
disabled. The repeater is data bound to an arraylist in the page_load
event(in block if !ISPostback), so when the user requests the page for the
first time the repeater is populated. There is a button in the repeater
which is used to add another row. When this button is clicked the event will
not be fired on the server on postback. this is because the repeater itself
is databound in the page load when its not Postback.
This works fine if we enable viestate, does any one know whether there is a
work around for this? any help is highly appreciated
Thank you
Vj
I am working on an Asp.net 2.0 web application that uses master pages,
according to our application architecture we should not use Viewstate. Is
there a work around to raise the events fired from the child controls of
repeater when viewstate is disabled?
The scenario is as follows
I have a web page with a repeater that has controls on it, The viewstate is
disabled. The repeater is data bound to an arraylist in the page_load
event(in block if !ISPostback), so when the user requests the page for the
first time the repeater is populated. There is a button in the repeater
which is used to add another row. When this button is clicked the event will
not be fired on the server on postback. this is because the repeater itself
is databound in the page load when its not Postback.
This works fine if we enable viestate, does any one know whether there is a
work around for this? any help is highly appreciated
Thank you
Vj