, ,

The Hyperlink TextBox

The Hyperlink TextBox targets SharePoint columns that store hyperlinks or picture urls.

In contains 2 textboxes. One for the actual URL and one for its description (the same way it appears in the default SharePoint forms). If no description is provided by users, the url is used for the description part.

A button is available for users to test the link provided.

The control comes with alot of extra parameters to customize its appearance and functionality.

ShowDescription

This property shows or hides the description part of the control to simplify control appearance.

 

ShowBrowseButton

This property enables a Browse button next to the hyperlink textbox that enables users to browse through the documents in any document library.

Pressing the button opens a popup dialog that can browse any document library accessible to the user, event in different Sharepoint Sites.

 

Using the popup dialog, you can provide the site url, select the required list and browse within the library folders and documents to find the required entries.

The popup dialog has a name-search filter and an option to search files within folders.

The control also comes with options to customize the control to only accept files from specific sites or document libraries.

 

GetFullUrlFromBrowseDialog

If this option is selected, the control will store the absolute url of the selected document. If not, a relative url will be returned.

AllowSearchInFolders

Enables or disables the option that allows users to search within folders using the name-search filter.

AllowSelectUrl

Enables or disables the URL textbox of the dialog.

AllowSelectLibrary

Enables or disables the Library combobox

TargetURL

Sets the target URL. This property can be static or calculated. For example a value like the following can be used:

Code

http://{c_Server}/Shared Documents

TargetLibrary

Sets the target Document Library Name. This property can be static or calculated. For example a value like the following can be used:

Code

Folder_{c_ID}