Yes, there are a couple ways to update non-Ext.NET controls during a DirectEvent/DirectMethod.
The following sample demonstrates both.
1. Getting a lite-weight "Element" instance of the Control which allows for setting of attributes of the underlying html element. The TextBox renders an <input> element, which has a "value" attribute, so calling .SetValue(...) will set this underlying "value".
2. Calling the .Update() extension method on the Control which will completely re-render the html for this specific Control. The .Update() Method can be called on any ASP.NET Control.
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
if (!X.IsAjaxRequest)
{
this.TextBox1.Text = DateTime.Now.ToLongTimeString();
this.TextBox2.Text = DateTime.Now.ToLongTimeString();
}
}
protected void Button1_Click(object sender, DirectEventArgs e)
{
X.Get(this.TextBox1).SetValue(DateTime.Now.ToLongTimeString());
X.Get(this.TextBox2).SetValue(DateTime.Now.ToLongTimeString());
}
protected void Button2_Click(object sender, DirectEventArgs e)
{
this.TextBox1.Text = DateTime.Now.ToLongTimeString();
this.TextBox2.Text = DateTime.Now.ToLongTimeString();
// Call .Update()
this.TextBox1.Update();
this.TextBox2.Update();
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.NET Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<asp:TextBox ID="TextBox1" runat="server" />
<asp:TextBox ID="TextBox2" runat="server" />
<ext:Button runat="server" Text="Update TextBox1" OnDirectClick="Button1_Click" />
<ext:Button runat="server" Text="Update TextBox2" OnDirectClick="Button2_Click" />
</form>
</body>
</html>
Hope this helps.