Hi there,
I am loading UserControls dynamically onto my Page as shown in your Samples. Now I have a problem with following Setup:
<Page>
<ContentPanel>
<UserControl A>
<Repeater>
<User Control B>
<DIV id=container runat=server>
<Button1> ( OnClick= Should replace Dynamic User Control A with another Control)
<Button2> ( OnClick= Update "container")
<DIV runat=server>
<User Control B>
.
.
</Repeater>
</UserControl A>
<ContentPanel>
</Page>
The problem now is that nothing gets updated if I press Button1. All events on the server side occur as expected. In the Button1 click event I load the new User Control into the ContentPanel (which is ajaxified with RadAjaxManager).
If I move Button1 above the container all works as expected (because the whole ContentPanel is ajaxified as far as I know) . Only if I put the button into the div container which is ajaxified with Button2 this doesn't work. Am I missing something or doing something wrong?
I am loading UserControls dynamically onto my Page as shown in your Samples. Now I have a problem with following Setup:
<Page>
<ContentPanel>
<UserControl A>
<Repeater>
<User Control B>
<DIV id=container runat=server>
<Button1> ( OnClick= Should replace Dynamic User Control A with another Control)
<Button2> ( OnClick= Update "container")
<DIV runat=server>
<User Control B>
.
.
</Repeater>
</UserControl A>
<ContentPanel>
</Page>
The problem now is that nothing gets updated if I press Button1. All events on the server side occur as expected. In the Button1 click event I load the new User Control into the ContentPanel (which is ajaxified with RadAjaxManager).
If I move Button1 above the container all works as expected (because the whole ContentPanel is ajaxified as far as I know) . Only if I put the button into the div container which is ajaxified with Button2 this doesn't work. Am I missing something or doing something wrong?