ScriptLoader.cs does not contain a definition for 'IncludeYuiDataTable'

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/17/2015 9:26:11 AM
Gravatar
Total Posts 8

ScriptLoader.cs does not contain a definition for 'IncludeYuiDataTable'

In the latest source code, I get an issue.


In YuiGridView.cs, 

protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (disableYui) { return; }
            if (Page is mojoBasePage)
            {
                mojoBasePage p = Page as mojoBasePage;
                p.ScriptConfig.IncludeYuiDataTable = true;
            }
        }

actually, ScriptLoader.cs does not contain a definition for 'IncludeYuiDataTable'.

so I got the issue:

'mojoPortal.Web.UI.ScriptLoader' does not contain a definition for 'IncludeYuiDataTable' and no extension method 'IncludeYuiDataTable' accepting a first argument of type 'mojoPortal.Web.UI.ScriptLoader' could be found (are you missing a using directive or an assembly reference?)

Could you please take a look? Thanks.

9/17/2015 9:30:04 AM
Gravatar
Total Posts 18439

Re: ScriptLoader.cs does not contain a definition for 'IncludeYuiDataTable'

YUI stuff was removed from mojoPortal long ago. If you need to include YUI scripts you will have to add them your own way, there is nothing in mojoPortal to add them for you at this point. That stuff was experimental at one time.

If YuiGridView.cs still exists in mojoportal code it is just a house cleaning issue, it should/will be removed and you should not try to use it.

You must sign in to post in the forums. This thread is closed to new posts.