A
Arjen
Hello,
I want that the client script is added at the and of the HTML output it is
now at the beginning.
Here is my code:
private void Page_Load(object sender, System.EventArgs e)
{
RegisterClientScript();
}
/// <summary>
/// Registers ClientScript with the Page.
/// </summary>
protected virtual void RegisterClientScript() {
if( !Page.IsClientScriptBlockRegistered("PortalICT.WebControls.DCE
Library") ) {
ResourceManager manager = new ResourceManager( typeof(RichTextBox) );
String script =
manager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture,
true, true).GetString("LibraryScript");
this.Page.RegisterClientScriptBlock("PortalICT.WebControls.DCE Library",
script );
}
}
What do I have to change?
Thanks!
I want that the client script is added at the and of the HTML output it is
now at the beginning.
Here is my code:
private void Page_Load(object sender, System.EventArgs e)
{
RegisterClientScript();
}
/// <summary>
/// Registers ClientScript with the Page.
/// </summary>
protected virtual void RegisterClientScript() {
if( !Page.IsClientScriptBlockRegistered("PortalICT.WebControls.DCE
Library") ) {
ResourceManager manager = new ResourceManager( typeof(RichTextBox) );
String script =
manager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture,
true, true).GetString("LibraryScript");
this.Page.RegisterClientScriptBlock("PortalICT.WebControls.DCE Library",
script );
}
}
What do I have to change?
Thanks!