Skip to content

Bug in Razor Page Modal #3003

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

Closed
rishabhack opened this issue Mar 26, 2018 · 1 comment
Closed

Bug in Razor Page Modal #3003

rishabhack opened this issue Mar 26, 2018 · 1 comment

Comments

@rishabhack
Copy link

rishabhack commented Mar 26, 2018

public  JsonResult GetResult(){
    return Json();
}

Will give error the name 'Json' does not exist in current context in razor page modal while working fine when page is drives from controller
I can't use razor page model due to this serious issue and need to move to MVC approach instead of page modal. Please Resolve this Bug.

@Eilon
Copy link
Contributor

Eilon commented Mar 27, 2018

This issue was moved to aspnet/Mvc#7554

@Eilon Eilon closed this as completed Mar 27, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants