Back to Devexpress

ASPxWebControl.GetResourceUrl(Page, Type, String) Method

aspnet-devexpress-dot-web-dot-aspxwebcontrol-dot-getresourceurl-x28-system-dot-web-dot-ui-dot-page-system-dot-type-system-dot-string-x29.md

latest1.6 KB
Original Source

ASPxWebControl.GetResourceUrl(Page, Type, String) Method

Returns a URL reference to an embedded resource in an assembly.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public static string GetResourceUrl(
    Page page,
    Type type,
    string resourceName
)
vb
Public Shared Function GetResourceUrl(
    page As Page,
    type As Type,
    resourceName As String
) As String

Parameters

NameTypeDescription
pagePage

The page that requires the resource.

| | type | Type |

The type in the assembly that contains the embedded resource.

| | resourceName | String |

The name of the resource to retrieve.

|

Returns

TypeDescription
String

The URL reference to the resource.

|

See Also

ASPxWebControl Class

ASPxWebControl Members

DevExpress.Web Namespace