Hi Folks,
Suppose I have two link button on a page (say lnkBtn1 and
lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically
created control. And On the click event of the lnkBtn2 I have to add a
datalist control.
Using this datalist control I should be able to add edit, modify
and cancel the items listed in this control.
Here is how I designed. I used placeholder to add the controls dynamically
to the page on the click events of the buttons. Everything seems to be
working fine until I click on the edit button of the datalist control. This
control disappears and the corresponding event handler is not raised.
Can anyone help how to change my design to suit my needs.
Thanks
Bharat
Suppose I have two link button on a page (say lnkBtn1 and
lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically
created control. And On the click event of the lnkBtn2 I have to add a
datalist control.
Using this datalist control I should be able to add edit, modify
and cancel the items listed in this control.
Here is how I designed. I used placeholder to add the controls dynamically
to the page on the click events of the buttons. Everything seems to be
working fine until I click on the edit button of the datalist control. This
control disappears and the corresponding event handler is not raised.
Can anyone help how to change my design to suit my needs.
Thanks
Bharat
Comment