How to see font size change in real time using ASP.net VBhttp://forums.asp.net/t/1805953.aspx/1?How+to+see+font+size+change+in+real+time+using+ASP+net+VBFri, 25 May 2012 09:33:10 -040018059534990502http://forums.asp.net/p/1805953/4990502.aspx/1?How+to+see+font+size+change+in+real+time+using+ASP+net+VBHow to see font size change in real time using ASP.net VB <p>I have been trying to do this problem which seemed simple at first but has worked out to be very difficult for me. I basically want the font to change in real time, as in, the page will update immediately each time the font changes to show the font getting bigger. I am able to have the font get bigger, although the problem is it happens all at once the page doesn't stop at any time to show that it is increasing. I have tried many things (Javascript function, different ASP functions/controls, messing with viewstate) although my newbie ways have failed me so far. I put comments on the failed parts that I was unable to get to work. Thanks for any help/direction</p> <pre class="prettyprint">For i As Double = 1 To 15 ' Page.ClientScript.RegisterClientScriptInclude(&quot;something&quot;, &quot;something.js&quot;) 'this isn't working 'ViewState(&quot;i&quot;) = i 'this isn't working Label2.Text = &quot;&quot; Label2.Font.Size = i &#43; 1 Label2.Text &#43;= Environment.NewLine &amp; &quot;&lt;font size=&quot; &amp; i &amp; &quot;&gt;Welcome to the next part&lt;/font&quot; &amp; i &amp; &quot;&gt;&lt;br&gt;&quot; System.Threading.Thread.Sleep(250) 'Response.End() ' this isn't working Next i</pre> <p></p> 2012-05-21T14:37:16-04:004990762http://forums.asp.net/p/1805953/4990762.aspx/1?Re+How+to+see+font+size+change+in+real+time+using+ASP+net+VBRe: How to see font size change in real time using ASP.net VB <p>Doing in code seems like more overhead since a postback is required. Take a look at this Jquery example and see if it fits your needs..</p> <p><a href="http://www.shopdev.co.uk/blog/font-resize.html">http://www.shopdev.co.uk/blog/font-resize.html</a></p> 2012-05-21T17:57:03-04:004997115http://forums.asp.net/p/1805953/4997115.aspx/1?Re+How+to+see+font+size+change+in+real+time+using+ASP+net+VBRe: How to see font size change in real time using ASP.net VB <p>Hi gloinz,</p> <p>In my opinion, the method DarthSwian&nbsp;provide will meet your reqirement. In addition, tt seems like that you have resolved your issue in the similar thread below:</p> <p><a href="http://forums.asp.net/t/1805970.aspx/1?How&#43;to&#43;see&#43;font&#43;size&#43;change&#43;in&#43;real&#43;time&#43;using&#43;ASP&#43;net&#43;VB">http://forums.asp.net/t/1805970.aspx/1?How&#43;to&#43;see&#43;font&#43;size&#43;change&#43;in&#43;real&#43;time&#43;using&#43;ASP&#43;net&#43;VB</a></p> <p>If you have resolved your issue, please dont forget mark/vote the replies which helped you, and this will encourage the other community members to join in discussion and help each one.</p> <p>Best wishes,</p> 2012-05-25T09:33:10-04:00