Yeah, but in all my code I only have one scriptmanager... my probleme occurs only when I place this line :
<umbraco:item runat="server" field="bodyText"
xslt="umbraco.library:GetXmlNodeById(1282)/data[@alias = 'bodyText']"
xsltDisableEscaping="true"/> before the scriptmanager.
So I can't remove it from subpages because there is no scriptmanager in subpage!
I think umbraco automatically includes a scriptmanager when there is a <form runat="server"> tag in the page. So if you already added one yourself, then those might clash.
I tried to remove my scriptmanager, but the my poll need one so it doesn't work. But I got a workaround. Instead of calling the text form my 1282 node with the umbraco:item line, I made a macro with :
Trouble with item:umbraco
Hi, on my master page I have a scriptmanager and the following line :
<umbraco:item runat="server" field="bodyText" xslt="umbraco.library:GetXmlNodeById(1282)/data[@alias = 'bodyText']" xsltDisableEscaping="true"/>
and it's called before subpage (ContentPlaceHolder).
Everything works on normal page but when I go to a page with a form I got this error :
Only one instance of a ScriptManager can be added to the page.
The trouble comes from umbraco:item line. If it's place after the ContentPlaceHolder it works, but for my design I can't place it after.
So, what can I do?
Everything works on normal page but when I go to a page with a form I got this error :
as you have scriptManager on master page you should remove it from subpages.
you only need one ScriptManager.(try to remove it from subpages under master page).
It should resolve the problem
Ali
Yeah, but in all my code I only have one scriptmanager... my probleme occurs only when I place this line :
<umbraco:item runat="server" field="bodyText" xslt="umbraco.library:GetXmlNodeById(1282)/data[@alias = 'bodyText']" xsltDisableEscaping="true"/> before the scriptmanager.
So I can't remove it from subpages because there is no scriptmanager in subpage!
I think umbraco automatically includes a scriptmanager when there is a <form runat="server"> tag in the page. So if you already added one yourself, then those might clash.
I tried to remove my scriptmanager, but the my poll need one so it doesn't work. But I got a workaround. Instead of calling the text form my 1282 node with the umbraco:item line, I made a macro with :
and called the macro. It does the result I want. But I think it's a strange behavior...
Thank you guys!
is working on a reply...