Share via


SPMobileRefreshNavigation.RedirectUrl property

NOTE: This API is now obsolete.

Gets or sets the URL of the page that opens when a user clicks the Refresh control, which is the current page itself.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Public Overrides Property RedirectUrl As String
    Get
    Set
'Usage
Dim instance As SPMobileRefreshNavigation
Dim value As String

value = instance.RedirectUrl

instance.RedirectUrl = value
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
public override string RedirectUrl { get; set; }

Property value

Type: System.String
A String that represents the URL of the page containing the control. The default is the URL of the current list.

Remarks

Because the default is the current list, you don't need to set this property when you use it on the current list page. In theory you could put this control on some other page or form and then set this property to the URL of that page, but we recommend that you use the control only on the list view page of the current list.

See also

Reference

SPMobileRefreshNavigation class

SPMobileRefreshNavigation members

Microsoft.SharePoint.MobileControls namespace