BaseValidator.DetermineRenderUplevel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the validation control can perform client-side validation.
protected:
virtual bool DetermineRenderUplevel();
protected virtual bool DetermineRenderUplevel ();
abstract member DetermineRenderUplevel : unit -> bool
override this.DetermineRenderUplevel : unit -> bool
Protected Overridable Function DetermineRenderUplevel () As Boolean
Returns
true
if the validation control can perform client-side validation; otherwise, false
.
Remarks
The DetermineRenderUplevel method is a helper function that is used primarily by the RenderUplevel property to determine whether the client's browser supports client script. For this property to return true
, the following conditions must be true:
The browser has client script enabled.
The W3CDomVersion property of the HttpBrowserCapabilitiesBase object that is stored in the HttpRequest.Browser property is 1 or later.
The EcmaScriptVersion property of the HttpBrowserCapabilitiesBase object that is stored in the HttpRequest.Browser property is 1.2 or later.
Note
This method is used primarily by control developers.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om