AutoRedirect Property  
 

Determines if redirected resources are handled automatically by the control

Syntax

object.AutoRedirect [= { True | False } ]

Remarks

Setting the AutoRedirect property determines how the control handles requests for a resource that has been moved to another location. If the property is set to True, then the control will automatically access the resource at the new location. If the property is set to False, the application is responsible for accessing the resource at its new location.

When the server indicates that a resource has been redirected, the OnRedirect event will fire and will provide the new location for the resource as an argument to the event handler. It is permissible for the application to change the value of the AutoRedirect property inside the event handler to determine whether or not the control will automatically access the resource from the new location.

Data Type

Boolean

See Also

OnRedirect Event