<div dir="ltr"><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;">I am using RabbitMQ to get real time data. I make the connection and am getting data successfully. I am able to print it in the Debug line, but its not updating my Label.</p><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;">here is my code:</p><pre class="lang-cs prettyprint prettyprinted" style="margin-bottom: 10px; padding: 5px; font-size: 14px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow: auto; width: auto; max-height: 600px; word-wrap: normal; color: rgb(0, 0, 0); line-height: 17.804800033569336px;"><code style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit;"><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">private</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">void</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">InitRabbit</span><span class="pun" style="background-color: transparent;">()</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
factory</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">UserName</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">this</span><span class="pun" style="background-color: transparent;">.</span><span class="pln" style="background-color: transparent;">user</span><span class="pun" style="background-color: transparent;">;</span><span class="pln" style="background-color: transparent;">
factory</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Password</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">this</span><span class="pun" style="background-color: transparent;">.</span><span class="pln" style="background-color: transparent;">password</span><span class="pun" style="background-color: transparent;">;</span><span class="pln" style="background-color: transparent;">
factory</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">HostName</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">this</span><span class="pun" style="background-color: transparent;">.</span><span class="pln" style="background-color: transparent;">host</span><span class="pun" style="background-color: transparent;">;</span><span class="pln" style="background-color: transparent;">
factory</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">VirtualHost</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"/"</span><span class="pun" style="background-color: transparent;">;</span><span class="pln" style="background-color: transparent;">
</span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">try</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
using </span><span class="pun" style="background-color: transparent;">(</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">IConnection</span><span class="pln" style="background-color: transparent;"> connection </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> factory</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">CreateConnection</span><span class="pun" style="background-color: transparent;">())</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
using </span><span class="pun" style="background-color: transparent;">(</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">IModel</span><span class="pln" style="background-color: transparent;"> channel </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> connection</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">CreateModel</span><span class="pun" style="background-color: transparent;">())</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
channel</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ExchangeDeclare</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">realTimeExchange</span><span class="pun" style="background-color: transparent;">,</span><span class="pln" style="background-color: transparent;"> </span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"topic"</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
</span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">string</span><span class="pln" style="background-color: transparent;"> queueName </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> channel</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">QueueDeclare</span><span class="pun" style="background-color: transparent;">();</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">StringBuilder</span><span class="pln" style="background-color: transparent;"> sb </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">new</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">StringBuilder</span><span class="pun" style="background-color: transparent;">();</span><span class="pln" style="background-color: transparent;">
sb</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Append</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"QEH"</span><span class="pun" style="background-color: transparent;">).</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Append</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"."</span><span class="pun" style="background-color: transparent;">).</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Append</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"QEH"</span><span class="pun" style="background-color: transparent;">).</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Append</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">".*"</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
channel</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">QueueBind</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">queueName</span><span class="pun" style="background-color: transparent;">,</span><span class="pln" style="background-color: transparent;"> realTimeExchange</span><span class="pun" style="background-color: transparent;">,</span><span class="pln" style="background-color: transparent;"> sb</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ToString</span><span class="pun" style="background-color: transparent;">());</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Console</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">WriteLine</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Waiting for messages"</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">QueueingBasicConsumer</span><span class="pln" style="background-color: transparent;"> consumer </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">new</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">QueueingBasicConsumer</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">channel</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
channel</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">BasicConsume</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">queueName</span><span class="pun" style="background-color: transparent;">,</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">true</span><span class="pun" style="background-color: transparent;">,</span><span class="pln" style="background-color: transparent;"> consumer</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
</span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">while</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">(</span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">true</span><span class="pun" style="background-color: transparent;">)</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">BasicDeliverEventArgs</span><span class="pln" style="background-color: transparent;"> e </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">(</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">BasicDeliverEventArgs</span><span class="pun" style="background-color: transparent;">)</span><span class="pln" style="background-color: transparent;">consumer</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Queue</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Dequeue</span><span class="pun" style="background-color: transparent;">();</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Console</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">WriteLine</span><span class="pun" style="background-color: transparent;">(</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Encoding</span><span class="pun" style="background-color: transparent;">.</span><span class="pln" style="background-color: transparent;">ASCII</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">GetString</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">e</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Body</span><span class="pun" style="background-color: transparent;">));</span><span class="pln" style="background-color: transparent;">
</span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">string</span><span class="pln" style="background-color: transparent;"> msg </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Encoding</span><span class="pun" style="background-color: transparent;">.</span><span class="pln" style="background-color: transparent;">ASCII</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">GetString</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">e</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Body</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">JavaScriptSerializer</span><span class="pln" style="background-color: transparent;"> ser </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">new</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">JavaScriptSerializer</span><span class="pun" style="background-color: transparent;">();</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Alerts</span><span class="pln" style="background-color: transparent;"> alert </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> ser</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Deserialize</span><span class="pun" style="background-color: transparent;"><</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Alerts</span><span class="pun" style="background-color: transparent;">>(</span><span class="pln" style="background-color: transparent;">msg</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
updatealert</span><span class="pun" style="background-color: transparent;">(</span><span class="pln" style="background-color: transparent;">alert</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;"> </span><span class="com" style="background-color: transparent; color: rgb(128, 128, 128);">//for getting the Alerts which is my internal class</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span><span class="pln" style="background-color: transparent;">
rabbitrunning </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">true</span><span class="pun" style="background-color: transparent;">;</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span><span class="pln" style="background-color: transparent;">
</span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">catch</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">(</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Exception</span><span class="pln" style="background-color: transparent;"> ex</span><span class="pun" style="background-color: transparent;">)</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">System</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Diagnostics</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Debug</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">WriteLine</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Rabbit not running : "</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">+</span><span class="pln" style="background-color: transparent;"> ex</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Message</span><span class="pun" style="background-color: transparent;">);</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span></code></pre><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;">Here is my updatealert function:</p><pre class="lang-cs prettyprint prettyprinted" style="margin-bottom: 10px; padding: 5px; font-size: 14px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow: auto; width: auto; max-height: 600px; word-wrap: normal; color: rgb(0, 0, 0); line-height: 17.804800033569336px;"><code style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit;"><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">private</span><span class="pln" style="background-color: transparent;"> </span><span class="kwd" style="background-color: transparent; color: rgb(0, 0, 139);">void</span><span class="pln" style="background-color: transparent;"> updatealert</span><span class="pun" style="background-color: transparent;">(</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Alerts</span><span class="pln" style="background-color: transparent;"> alert</span><span class="pun" style="background-color: transparent;">)</span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">{</span><span class="pln" style="background-color: transparent;">
alertext</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Text</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">=</span><span class="pln" style="background-color: transparent;"> </span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Count "</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">+</span><span class="pln" style="background-color: transparent;"> alert</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">CarName</span><span class="pun" style="background-color: transparent;">;</span><span class="pln" style="background-color: transparent;">
</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">System</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Diagnostics</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Debug</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">WriteLine</span><span class="pun" style="background-color: transparent;">(</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"publish : "</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">+</span><span class="pln" style="background-color: transparent;"> alert</span><span class="pun" style="background-color: transparent;">.</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">CarName</span><span class="pun" style="background-color: transparent;">);</span><span class="com" style="background-color: transparent; color: rgb(128, 128, 128);">//its writting the message correctly but its not updating my Alertext label. </span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;">}</span></code></pre><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;">Here is the update panel structure:</p><pre class="lang-cs prettyprint prettyprinted" style="margin-bottom: 10px; padding: 5px; font-size: 14px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; overflow: auto; width: auto; max-height: 600px; word-wrap: normal; color: rgb(0, 0, 0); line-height: 17.804800033569336px;"><code style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit;"><span class="pun" style="background-color: transparent;"><</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ScriptManager</span><span class="pln" style="background-color: transparent;"> ID</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"ScriptManager1"</span><span class="pln" style="background-color: transparent;"> runat</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"server"</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"></</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ScriptManager</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">UpdatePanel</span><span class="pln" style="background-color: transparent;"> ID</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"UpdatePanel1"</span><span class="pln" style="background-color: transparent;"> runat</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"server"</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">UpdateMode</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Always"</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ChildrenAsTriggers</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"true"</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ContentTemplate</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);"><legend></span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">UpdatePanel</span><span class="pun" style="background-color: transparent;"></</span><span class="pln" style="background-color: transparent;">legend</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Label</span><span class="pln" style="background-color: transparent;"> ID</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"alertext"</span><span class="pln" style="background-color: transparent;"> runat</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"server"</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Text</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"change"</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">></</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Label</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Label</span><span class="pln" style="background-color: transparent;"> ID</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Label1"</span><span class="pln" style="background-color: transparent;"> runat</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"server"</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Text</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"change"</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">></</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Label</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"></</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ContentTemplate</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Triggers</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">AsyncPostBackTrigger</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">ControlID</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Button1"</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">EventName</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Click"</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">/></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"></</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Triggers</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"></</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">UpdatePanel</span><span class="pun" style="background-color: transparent;">></span><span class="pln" style="background-color: transparent;">
</span><span class="pun" style="background-color: transparent;"><</span><span class="pln" style="background-color: transparent;">asp</span><span class="pun" style="background-color: transparent;">:</span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Button</span><span class="pln" style="background-color: transparent;"> ID</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Button1"</span><span class="pln" style="background-color: transparent;"> runat</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"server"</span><span class="pln" style="background-color: transparent;"> onclick</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Button1_Click"</span><span class="pln" style="background-color: transparent;"> </span><span class="typ" style="background-color: transparent; color: rgb(43, 145, 175);">Text</span><span class="pun" style="background-color: transparent;">=</span><span class="str" style="background-color: transparent; color: rgb(128, 0, 0);">"Get Real Data"</span><span class="pln" style="background-color: transparent;"> </span><span class="pun" style="background-color: transparent;">/></span></code></pre><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;">How do I change the label text while rabbitMQ is updating the content?</p><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;"><strong style="background-color: transparent;">UPDATES : After Long Trail and error I found that the rabbit is sending a lot of messages per second so the Update panel is not updating fast , so I tried to put the Update panel job in other thread but I have not succeeded , is there any advice how to update the panel with handling very fast process ?</strong></p><p style="font-size: 14px; clear: both; color: rgb(0, 0, 0); font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px;">Regards.</p></div>