C# Класс Rolcore.Web.UI.WebUtils

Web-related utilities.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetFormControlNameFromPostbackName ( string formPostbackName ) : string

Given a post-back name, returns the original name of the control.

GetFormControlValueByFormControlId ( string formControlId, NameValueCollection form ) : string

Get's a control's value based on the specified ID.

VirtualPathExistsPhysically ( string virtualPath, HttpRequest request ) : bool

Determines if a virtual path exists physically.

Описание методов

GetFormControlNameFromPostbackName() публичный статический Метод

Given a post-back name, returns the original name of the control.
public static GetFormControlNameFromPostbackName ( string formPostbackName ) : string
formPostbackName string The post-back name of a form field.
Результат string

GetFormControlValueByFormControlId() публичный статический Метод

Get's a control's value based on the specified ID.
public static GetFormControlValueByFormControlId ( string formControlId, NameValueCollection form ) : string
formControlId string Specifies the control ID.
form System.Collections.Specialized.NameValueCollection Specifies the submitted form values.
Результат string

VirtualPathExistsPhysically() публичный статический Метод

Determines if a virtual path exists physically.
public static VirtualPathExistsPhysically ( string virtualPath, HttpRequest request ) : bool
virtualPath string A virtual path. For example "~/hello/world/foo.aspx".
request System.Web.HttpRequest The used to verify the virtual path's /// existance.
Результат bool