Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I was wondering how to use the mentionaed library function. I took it out of a xslt filem exchanged the colon for a dot but the script won't save.
error CS1502: The best overloaded method match for
has some invalid arguments
Not really saying much about the real error. The code looks like this:
You have to put this code in a code block like so:
That worked perfectly, so i thought i'd do the same for umbraco.library.RegisterClientScriptBlock.
The first two lines get registered fine, but not the scriptblock.
I figured it out. It's a known bug where you need to have a form with runat="server" on the page befor it loads the scriptblock. But even when i put a form on the page to test it didn't work right. I guess i'll have to wait for the bugfix.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted