Jun 23, 2010, 6:52 PM
[CLOSED] Update ASP Update Panel with Direct Event
hi,
how can I update ASP Update panel with Direct event. I place small sample it shows how I want to update. In my real Sample I on Direct even I want to Update Gridview inside Update Panel.
how can I update ASP Update panel with Direct event. I place small sample it shows how I want to update. In my real Sample I on Direct even I want to Update Gridview inside Update Panel.
protected void SAPButton_Click(object sender, DirectEventArgs e)</p>
{</p>
time.Text = System.DateTime.Now.ToString();</p>
UpdatePanel1.Update();</p>
}</p>
</script></p>
<html xmlns="http://www.w3.org/1999/xhtml"></p>
<head id="Head1" runat="server"></p>
<title>GridPanel with EditableGrid Plugin - Ext.NET Examples</title></p>
</p>
</head></p>
<body></p>
<form id="Form1" runat="server"></p>
<ext:ResourceManager ID="ResourceManager1" runat="server" /></p>
<asp:ScriptManager ID="script1" runat="server" EnablePartialRendering="true" /></p>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"></p>
<ContentTemplate></p>
</p>
<asp:Label ID="time" runat="server" /></p>
</ContentTemplate></p>
</asp:UpdatePanel></p>
<ext:Button runat="server" ID="test" Text="Run"></p>
<DirectEvents></p>
<Click OnEvent="SAPButton_Click" /></p>
</DirectEvents></p>
</ext:Button></p>
</form> </p>
</body></p>
</html></p>