I have a quick question in regards to the
RegisterStartupScript and
RegisterScriptBlock methods. I understand the
RegisterStartupScript and
that works great. But what would you say is the
difference between
using RegisterScriptBlock or just using a Literal
and passing a string
of JavaScript? Ultimately the result should be same
to the browser, but
does anybody see any difference or problems between
the two?