Updating the Browser Title


hi

i have below code update browser title.

 

htmlpage.window.eval(string.format("document.title='{0}'", title));

 but if value of title contains apostrape (') throwing error. have tryed @ , \ escape sequences. still getting error. suggesstions.

thanks

anandraj.a.

use escape character \"

htmlpage.window.eval(string.format("document.title=\"{0}\"", title));

 



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

BIT Version

SQL Server PSProvider SQL Server Authentication

set datagrid current record to inserted record