MobileRefreshNavigation.ControlForRefresh Property
Gets or sets the ID of the control on the current view page, so that the same view can be used when the page reloads.
Namespace: Microsoft.SharePoint.Portal.MobileControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Property ControlForRefresh As String
Get
Set
'Usage
Dim instance As MobileRefreshNavigation
Dim value As String
value = instance.ControlForRefresh
instance.ControlForRefresh = value
public string ControlForRefresh { get; set; }
Property Value
Type: System.String
The string that is identical to the ID property of the control, usually MobileListViewIterator, that specifies which view of the list is being used.
Remarks
You must set the property to a non-null value; otherwise, an exception will be thrown when the user clicks Refresh.
If there is no control on the page that specifies the view, andthe list has only one view, do not use the SPMobileRefreshNavigation class. Instead, use the SPMobileButtonNavigation class, set the RedirectUrl property to the page on which it appears, and set the Text property to Refresh.