C# 클래스 Rolcore.Web.UI.WebUtils

Web-related utilities.
파일 보기 프로젝트 열기: Rollins/Rolcore

공개 메소드들

메소드 설명
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