Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vladzebu 59 posts 346 karma points
    Sep 04, 2009 @ 10:23
    vladzebu
    0

    Axendo ultimate picker

    I install Axendo ultimate picker and i create an document type with an axendo ultimate picker property . 

    When i create an item based on template asociated with that document type i received the next error:

    The control with ID 'picker' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Where i have to put that scripmanager ?

    I try in master file associated with that template but i received the same error .  

     

  • Ron Brouwer 273 posts 768 karma points
    Sep 04, 2009 @ 10:41
    Ron Brouwer
    1

    Do you have the same problem when using the normal ultimatepicker?

    Ron

  • vladzebu 59 posts 346 karma points
    Sep 04, 2009 @ 10:43
    vladzebu
    0

    No , i don't have 

  • vladzebu 59 posts 346 karma points
    Sep 04, 2009 @ 10:50
    vladzebu
    0

    Sorry , i try again with ultimate picker and i receive next error:

     

    bject reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

  • Ron Brouwer 273 posts 768 karma points
    Sep 04, 2009 @ 10:51
    Ron Brouwer
    1

    Is it a clean umbraco environment? or is it posible that the problem is caused by something else?

  • Ron Brouwer 273 posts 768 karma points
    Sep 04, 2009 @ 10:53
    Ron Brouwer
    0

    Can you add the stack trace so I can see the problem.

  • vladzebu 59 posts 346 karma points
    Sep 04, 2009 @ 10:56
    vladzebu
    0

    Server Error in '/' Application.

    The control with ID 'picker' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The control with ID 'picker' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [InvalidOperationException: The control with ID 'picker' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
    System.Web.UI.UpdatePanel.get_ScriptManager() +363997
    System.Web.UI.UpdatePanel.RegisterPanel() +87
    System.Web.UI.UpdatePanel.OnInit(EventArgs e) +19
    Axendo.Umb.UltimatePickerXPath.ultimatePickerDataEditor.OnInit(EventArgs e) +38
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.InitRecursive(Control namingContainer) +210
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +198
    System.Web.UI.ControlCollection.Add(Control child) +80
    umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +2987
    umbraco.controls.ContentControl.OnLoad(EventArgs e) +137
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627



    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

  • Ron Brouwer 273 posts 768 karma points
    Sep 04, 2009 @ 11:12
    Ron Brouwer
    1

    what is your umbraco version and is it a clean umbraco environment?

  • vladzebu 59 posts 346 karma points
    Sep 04, 2009 @ 11:30
    vladzebu
    0

    umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657)

    It;s a clean environment. 

     

  • Ron Brouwer 273 posts 768 karma points
    Sep 04, 2009 @ 14:21
    Ron Brouwer
    1

    Have you checked that all access rights are correct on the filesytem. Do you use the default config?

  • vladzebu 59 posts 346 karma points
    Sep 05, 2009 @ 07:12
    vladzebu
    0

    Yes of course , are default settings and correct acces rights . 

  • Ron Brouwer 273 posts 768 karma points
    Sep 07, 2009 @ 11:33
    Ron Brouwer
    1

    This is strange. Have you tried setting up a new environment. The scriptmanager should always be accesseble in umbraco So I think your environment is corrupt for some reason.

  • fed 199 posts 70 karma points
    Sep 07, 2009 @ 11:36
    fed
    2

    I had the exact same error, solved it by adding this to OnInit

    if (ScriptManager.GetCurrent(Page) == null) {
    ScriptManager scp = new ScriptManager();
    Page.Controls.Add(scp);
    }
    base.OnInit(e);
  • fed 199 posts 70 karma points
    Sep 07, 2009 @ 11:38
    fed
    1

    That is, the OnInit event of the DataEditor-class

  • Jesper Hauge 298 posts 487 karma points c-trib
    Dec 16, 2009 @ 12:08
    Jesper Hauge
    0

    I'm also experiencing this problem on a clean 4.0.3 environment.

    Have already used the ordinary Ultimate picker in other datatypes with no problems.

    I presume that fed's solution only works if you are building the Umbraco site from source. Checked - but couldn't find any issues in codeplex about this problem. Should we add a request to implement fed's code?

    Regards

    Jesper Hauge

     

  • Jesper Hauge 298 posts 487 karma points c-trib
    Dec 16, 2009 @ 13:13
    Jesper Hauge
    0

    Forget about the question above. Figured out that fed, was talking about the dataeditor in the axendo.ultimatepicker project.

    Code fixed the problem, but remember to check your web.config asp.net version configuration. feds code would only run, after I switched the web.config to th v3.5 one.

    Regards
    Jesper Hauge

  • Md Johirul Islam 37 posts 57 karma points
    Sep 26, 2012 @ 17:53
    Md Johirul Islam
    0

    Hi every one i have ultimate picker name (selected bebefits and the alise name selectTheBenefits it hold the data) but in reply i did not get nothing. The code are below. I user the this link code (leekelleher.com/.../#comment-619)

    System.Xml.XmlException: The 'xsl:stylesheet' start tag on line 3 position 2 does not match the end tag of 'xsl:output'. Line 37, position 15. 
    at System.Xml.XmlTextReaderImpl.Throw(Exception e) 
    at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) 
    at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) 
    at System.Xml.XmlTextReaderImpl.ParseEndElement() 
    at System.Xml.XmlTextReaderImpl.ParseElementContent() 
    at System.Xml.XmlTextReaderImpl.Read() 
    at System.Xml.Xsl.Xslt.XsltInput.ReadNextSibling() 
    at System.Xml.Xsl.Xslt.XsltInput.MoveToNextSibling() 
    at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags) 
    at System.Xml.Xsl.Xslt.XsltLoader.LoadContent(Boolean hasSelect) 
    at System.Xml.Xsl.Xslt.XsltLoader.XslVarPar() 
    at System.Xml.Xsl.Xslt.XsltLoader.LoadGlobalVariableOrParameter(NsDecl stylesheetNsList, XslNodeType nodeType) 
    at System.Xml.Xsl.Xslt.XsltLoader.LoadRealStylesheet() 
    at System.Xml.Xsl.Xslt.XsltLoader.LoadDocument() 
    at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)

    The above error show. then i modify after that no result come. Please help me. to seperate the value from ultimate picker check box list. Thank you.

     


    xsl:stylesheet [  ]>
    <xsl:stylesheet 
      version="1.0" 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform
      xmlns:msxml="urn:schemas-microsoft-com:xslt" 
      xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:PS.XSLTsearch="urn:PS.XSLTsearch" 
      exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets PS.XSLTsearch ">

    <xsl:output method="xml" omit-xml-declaration="yes"/>

    <xsl:param name="currentPage"/>

    <xsl:template match="/">

    <xsl:variable name="preNodes">
    <xsl:variable name="relatedContent" select="$currentPage/*[@id=1098]/*[@alias='selectTheBenefits']" />
    <xsl:variable name="nodeIds" select="umbraco.library:Split($relatedContent, ',')" />
    <xsl:for-each select="$nodeIds/value">

      <textarea>
        <xsl:copy-of select="$relatedContent" />
    textarea>
    <xsl:copy-of select="umbraco.library:GetXmlNodeById(.)"/>
    xsl:for-each>
    xsl:variable>
    <xsl:variable name="nodes" select="msxml:node-set($preNodes)/node" />

    <xsl:if test="count($nodes) > 0">

    <div class="related-content">
    <h3>Related Contenth3>
    <ul>
                        <xsl:for-each select="$nodes">
        <li>
                                <href="{umbraco.library:NiceUrl(@id)}">
                                    <xsl:value-of select="@nodeName">
                                xsl:value-of>a>li>
    xsl:for-each>ul>
    div>

    xsl:if>

    xsl:template>

    xsl:stylesheet>

Please Sign in or register to post replies

Write your reply to:

Draft