how i symbol inside an asp:updatepanel transform whole page?


i have symbol inside an transform quarrel i transform whole page. i have set childrenastriggers="false" updatemode="conditional".



i have illustration formula here demonstrates problem.



<asp:updatepanel id="myfirstpanel" runat="server" childrenastriggers="false" updatemode="conditional">
<contenttemplate>
<asp:button runat="server" id="myfirstbutton" text="my initial button" onclick="myfirstbutton_click" />
<asp:button runat="server" id="mysecondbutton" text="my second button" onclick="mysecondbutton_click" />
</contenttemplate>
</asp:updatepanel>

<asp:updatepanel id="mysecondpanel" runat="server">
<contenttemplate>
<asp:label runat="server" id="myfirstlabel" text="my initial label"></asp:label>
</contenttemplate>
<triggers>
<asp:asyncpostbacktrigger controlid="myfirstbutton" eventname="click" />
</triggers>
</asp:updatepanel>
<asp:label runat="server" id="mysecondlabel" text="my second label"></asp:label>


and formula behind:



protected vacant myfirstbutton_click(object sender, eventargs e)
{
myfirstlabel.text = "inside quarrel " + datetime.now.tostring("mm:ss");
}
protected vacant mysecondbutton_click(object sender, eventargs e)
{
mysecondlabel.text = "outside quarrel " + datetime.now.tostring("mm:ss");
}


i wish transform tag inside an transform quarrel second symbol clicked.
the second symbol needs an transform panel. i don't wish put lable an transform panel.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?