Copied to clipboard

Flag this post as spam?

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


  • Frank 1 post 21 karma points
    Apr 22, 2015 @ 15:27
    Frank
    0

    Server-Validation in PartialView with WebPage.Validation

    I like to use the Member Validation in System.Web.WebPages.WebPage to make serverside validation but:

    as a PartialView, my Page-Object is a System.Web.Mvc.WebViewPage not inheriting from Web.Page.

    So my questions are:

    1. Is it possible to use the Validation-Member in a PartialView and if yes, how can I access to ?

    2.If its not possible, what should be a propper way to realise serverside Validation in a PartialView?

Please Sign in or register to post replies

Write your reply to:

Draft