Last post May 25, 2012 05:33 AM by Catherine Shan - MSFT
May 21, 2012 10:37 AM|gloinz|LINK
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
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
For i As Double = 1 To 15
' Page.ClientScript.RegisterClientScriptInclude("something", "something.js") 'this isn't working
'ViewState("i") = i 'this isn't working
Label2.Text = ""
Label2.Font.Size = i + 1
Label2.Text += Environment.NewLine & "<font size=" & i & ">Welcome to the next part</font" & i & "><br>"
'Response.End() ' this isn't working
May 21, 2012 01:57 PM|DarthSwian|LINK
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..
May 25, 2012 05:33 AM|Catherine Shan - MSFT|LINK
In my opinion, the method DarthSwian provide will meet your reqirement. In addition, tt seems like that you have resolved your issue in the similar thread below:
If you have resolved your issue, please don’t forget mark/vote the replies which helped you, and this will encourage the other community members to join in discussion and help each one.