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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin