Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Work Item #13053] JqGridInlineNavigatorActionOptions.ExtraParamScript rendering improperly #80

Closed
tpeczek opened this issue Sep 3, 2014 · 0 comments

Comments

@tpeczek
Copy link
Owner

tpeczek commented Sep 3, 2014

Reported at CodePlex by TPeczek on 2013-09-24 20:49:51 (UTC)

Using JqGridInlineNavigatorActionOptions.ExtraParamScript

.InlineNavigator(new Lib.Web.Mvc.JQuery.JqGrid.JqGridInlineNavigatorOptions()
{
    Edit = false,
    AddActionOptions = new Lib.Web.Mvc.JQuery.JqGrid.JqGridInlineNavigatorAddActionOptions()
    {
        RowId = "0",
        Options = new Lib.Web.Mvc.JQuery.JqGrid.JqGridInlineNavigatorActionOptions()
        {
            Url = Url.Action("InsertAnswer", "Answer"),
            ExtraParamScript = "{ QuestionId: rowId }"
        }
    }
})

Results in invalid JavaScript

.jqGrid('inlineNav', '#...', 
    { edit: false, addParams: { rowID: '0', addRowParams: { url: '/Answer/InsertAnswer', extrapa})

Closed at CodePlex by TPeczek on 2013-09-24 21:22:56 (UTC) - Fixed

Released in Lib.Web.Mvc 6.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant