Hi everybody

I have a problem if anybody knows how to solve it i would appreciate it a lot i have a grid
sqldatasource and an chart when i can fill the grid without any problem update too but the chart is not update until i do a postback i notice that the chart updates too i did it with a scriptmanager and updatepanel and works fine but i don´t know the instructions or a similar control to do the same as an updatepanel here is somthing that i want to do

Coolite code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

void SetTime()
{
this.Label1.Text = DateTime.Now.ToLongTimeString();
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Ext.IsAjaxRequest)
{
this.SetTime();
}
}
protected void UpdateTimeStamp(object sender, AjaxEventArgs e)
{
this.SetTime();
}
</script>



<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Coolite Toolkit Example</title>
<link href="/resources/css/examples.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server"/>

Server TimeStamp: <em><ext:Label ID="Label1" runat="server" /></em>


<ext:Button ID="Button1" runat="server" Text="Click Me">
<AjaxEvents>
<Click OnEvent="UpdateTimeStamp">
<EventMask ShowMask="true" MinDelay="500" Msg="Updating TimeStamp..." />
</Click>
</AjaxEvents>
</ext:Button>
</form>
</body>
</html>Ajax code with updatepanel exactly the same code with C#




<body>
<form id="form1" runat="server">

<ajax:ScriptManager ID="ScriptManager1" runat="server"></ajax:ScriptManager>
<ajax:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click1" />
</ContentTemplate>
</ajax:UpdatePanel>


</form>
</body>
</html>

i want to do the same with my control fill a pie chart when i update the grid i wanna update the chart my question is? is there something similar like an update panel in coolite? How does it work?