kentico_borisp
-
7/1/2009 6:09:23 AM
RE:Include jquery lib in CMSDesk
Hello,
You can call the jQuery bin file the following way.
e.g.
this.Page.ClientScript.RegisterClientScriptBlock(typeof(string), "ShowLargeTextArea", ScriptHelper.GetScript("function ShowLargeTextArea(txtClientID, allowMacros) { modalDialog('" + ResolveUrl("~/CMSFormControls/Selectors/LargeTextAreaDesigner.aspx") + "?areaid=' + txtClientID + (allowMacros ? '' : '&allowMacros=false'), 'ShowLargeTextArea', 1024, 630); return false;}"));
This way the lib file won't be included twice.
Best Regards, Boris Pocatko
|