<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8168226304843665435</id><updated>2011-11-28T06:09:25.125+05:30</updated><title type='text'>Paresh</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://paresh-pbp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168226304843665435/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://paresh-pbp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Paresh</name><uri>http://www.blogger.com/profile/15849123556997388642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8168226304843665435.post-827115750445296732</id><published>2010-01-17T17:36:00.004+05:30</published><updated>2010-01-17T17:47:01.914+05:30</updated><title type='text'>Send mail using gmail</title><content type='html'>&lt;div class="csharpcode"&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   1:  &lt;/span&gt;&lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;void&lt;/span&gt; sendEmail(&lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;string&lt;/span&gt; strFrom, &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;string&lt;/span&gt; strTo, &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;string&lt;/span&gt; strSubject, &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;string&lt;/span&gt; strBody)&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   2:  &lt;/span&gt;    {&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   3:  &lt;/span&gt;        System.Net.Mail.MailMessage objMailMessage &lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;= &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;new&lt;/span&gt; System.Net.Mail.MailMessage();&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   4:  &lt;/span&gt;        objMailMessage.To.Add(strTo);&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   5:  &lt;/span&gt;        objMailMessage.From &lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;= &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;new&lt;/span&gt; MailAddress(strFrom, &lt;span class="str" style="color: rgb(0, 96, 128); "&gt;""&lt;/span&gt;, System.Text.Encoding.UTF8);&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   6:  &lt;/span&gt;        objMailMessage.Subject = strSubject;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   7:  &lt;/span&gt;        objMailMessage.SubjectEncoding = System.Text.Encoding.UTF8;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   8:  &lt;/span&gt;        objMailMessage.Body = strBody;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;   9:  &lt;/span&gt;        objMailMessage.BodyEncoding = System.Text.Encoding.UTF8;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  10:  &lt;/span&gt;        objMailMessage.IsBodyHtml = &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;true&lt;/span&gt;;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  11:  &lt;/span&gt;        objMailMessage.Priority = MailPriority.High;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  12:  &lt;/span&gt; &lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  13:  &lt;/span&gt;        SmtpClient objSmtpClient = &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;new&lt;/span&gt; SmtpClient();&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  14:  &lt;/span&gt; &lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  15:  &lt;/span&gt;        objSmtpClient.Credentials = &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;new&lt;/span&gt; System.Net.NetworkCredential(strFrom, &lt;span class="str" style="color: rgb(0, 96, 128); "&gt;"&lt;your&gt;"&lt;/your&gt;&lt;/span&gt;);&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  16:  &lt;/span&gt; &lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  17:  &lt;/span&gt;        objSmtpClient.Host = &lt;span class="str" style="color: rgb(0, 96, 128); "&gt;"smtp.gmail.com"&lt;/span&gt;;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  18:  &lt;/span&gt;        objSmtpClient.Port = 587;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  19:  &lt;/span&gt;        objSmtpClient.EnableSsl = &lt;span class="kwrd" style="color: rgb(0, 0, 255); "&gt;true&lt;/span&gt;;&lt;/pre&gt;&lt;pre   style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; font-family:Consolas, 'Courier New', Courier, monospace;font-size:small;"&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  20:  &lt;/span&gt; &lt;/pre&gt;&lt;pre face="Consolas, 'Courier New', Courier, monospace" size="small" style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; "&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  21:  &lt;/span&gt;        objSmtpClient.Send(objMailMessage);&lt;/pre&gt;&lt;pre face="Consolas, 'Courier New', Courier, monospace" size="small" style=" color: black;  background-color: rgb(255, 255, 255); margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; "&gt;&lt;span class="lnum" style="color: rgb(96, 96, 96); "&gt;  22:  &lt;/span&gt;    }&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8168226304843665435-827115750445296732?l=paresh-pbp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://paresh-pbp.blogspot.com/feeds/827115750445296732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://paresh-pbp.blogspot.com/2010/01/send-mail-using-gmail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168226304843665435/posts/default/827115750445296732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168226304843665435/posts/default/827115750445296732'/><link rel='alternate' type='text/html' href='http://paresh-pbp.blogspot.com/2010/01/send-mail-using-gmail.html' title='Send mail using gmail'/><author><name>Paresh</name><uri>http://www.blogger.com/profile/15849123556997388642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8168226304843665435.post-8743192243500450313</id><published>2009-06-06T20:05:00.001+05:30</published><updated>2009-07-29T16:42:57.200+05:30</updated><title type='text'>Ajax progress for History Control</title><content type='html'>&lt;p&gt;Sometime with Ajax History control on page, when user presses back or forward button it takes time to load page content. because History’s ajax request is still in progress. user gets effect after few seconds. and this ajax request does not display update progress. sometime it is needed ajax progress for History control. so user comes to know that he will get actual content after ‘Loading…’ message gets hidden. &lt;/p&gt; &lt;p&gt;To display update progress first we have to identify that ajax request being started and it is going to be started by History control. and on completion of request stop displaying ajax progress. &lt;/p&gt; &lt;p&gt;first we add beginRequest and endRequest handler function.&lt;/p&gt; &lt;pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;function&lt;/span&gt; pageLoad(sender, args)&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;    Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler);&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;}&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;style type="text/css"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt; font-size: small;&lt;br /&gt; color: black;&lt;br /&gt; font-family: consolas, "Courier New", courier, monospace;&lt;br /&gt; background-color: #ffffff;&lt;br /&gt; /*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt; background-color: #f4f4f4;&lt;br /&gt; width: 100%;&lt;br /&gt; margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;‘pageLoad’ function will be fired automatically when client side page is loaded. so it will set handler function for beginRequest and endRequest.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;the handler functions:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;function&lt;/span&gt; BeginRequestHandler(sender, args)&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%;"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre   style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;font-family:consolas,'Courier New',courier,monospace;font-size:12px;"&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;var&lt;/span&gt; elem = args.get_postBackElement();&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%;"&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;if&lt;/span&gt;(elem.id=='&amp;lt;%= History1.ClientID %&amp;gt;')  &lt;span style="color: rgb(0, 128, 0);"&gt;//-- To identify event sender is History Control.&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;"&gt; {&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%;"&gt;  &lt;span style="color: rgb(0, 128, 0);"&gt;//-- get update panel object and make it visible.&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;"&gt;  &lt;span style="color: rgb(0, 0, 255);"&gt;var&lt;/span&gt; uPanel = obj=&lt;span style="color: rgb(0, 0, 255);"&gt;document&lt;/span&gt;.getElementById('&amp;lt;%=Updateprogress1.ClientID%&amp;gt;');&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;  &lt;span style="color: rgb(0, 0, 255);"&gt;if&lt;/span&gt;(uPanel)&lt;br /&gt;&lt;/pre&gt;&lt;pre face="consolas,'Courier New',courier,monospace" size="12px" style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%;"&gt;   uPanel.style.display="&lt;span style="color: rgb(139, 0, 0);"&gt;block&lt;/span&gt;";&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt; }&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;}    &lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;function&lt;/span&gt; EndRequestHandler(sender, args)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;{&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt; &lt;span style="color: rgb(0, 128, 0);"&gt;//-- get update panel object and hide it.&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;var&lt;/span&gt; uPanel = obj=&lt;span style="color: rgb(0, 0, 255);"&gt;document&lt;/span&gt;.getElementById('&amp;lt;%=Updateprogress1.ClientID%&amp;gt;');&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;if&lt;/span&gt;(uPanel)&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(255, 255, 255); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;   uPanel.style.display="&lt;span style="color: rgb(139, 0, 0);"&gt;none&lt;/span&gt;";&lt;br /&gt;&lt;/pre&gt;&lt;pre style="margin: 0em; background-color: rgb(244, 244, 244); width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Now its done.&lt;br /&gt;&lt;br /&gt;it will show you 'Loading..'(whatever you have put in update progress) while you will press browser's back button it it takes logn time to load content. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;if you are using any third party controls, like Telerik, they provides you javascript API to show/hide update/ajax panel. you can use that API in these handler functions.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8168226304843665435-8743192243500450313?l=paresh-pbp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://paresh-pbp.blogspot.com/feeds/8743192243500450313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://paresh-pbp.blogspot.com/2009/06/ajax-progress-for-history-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8168226304843665435/posts/default/8743192243500450313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8168226304843665435/posts/default/8743192243500450313'/><link rel='alternate' type='text/html' href='http://paresh-pbp.blogspot.com/2009/06/ajax-progress-for-history-control.html' title='Ajax progress for History Control'/><author><name>Paresh</name><uri>http://www.blogger.com/profile/15849123556997388642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
