Спасибо за подсказку и наводку. Я решил реализовать этот функционал через UpdatePanel
и Timer
Разметка:
<asp:Timer ID="Timer1" runat="server" OnTick="Timer_Tick1" Enabled="true" Interval="10000"/>
<asp:ScriptManager ID="ScriptManager1" runat="server"/>
<tr>
<td>
<asp:UpdatePanel ID="UpdatePanel4" runat="server" RenderMode="Inline" UpdateMode="Conditional">
<ContentTemplate><asp:Label ID="lblLastScanned" Style="margin-left: 15px; word-wrap: break-word" runat="server"/>
</ContentTemplate>
<triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" />
</triggers>
</asp:UpdatePanel>
</td>
</tr>
далее я методом возвращаю строчку:
private string UpdateLabel()
{
//code path
return result;
}
protected void Timer_Tick1(object sender, EventArgs e)
{
lblLastScanned.Text = UpdateLabel();
}