FpControlConverter.ConvertControl Method
Converts an attribute collection from the FrontPage webbot comment tag into information to insert a corresponding FpWebControl into a web form.
Parameters
-
attributes
- A NameValueCollection that contains the attribute / value pairs parsed from the webbot commment tag.
-
type
- If the return code is zero (success), type represents the fully qualified type name of the FpWebControl that should be added to the ASP.NET page. If the return code is non-zero (unsuccessful), type is set to the attribute that caused the error or warning.
-
output
- If the return code is zero (success), output represents the HTML to insert in the ASP.NET page to successfully render the ASP.NET control. If the return code is non-zero (unsuccessful), output is the error message that may be shown to the user.
Return Value
Zero if successful. Otherwise it is the error code number of the warning or error.
See Also
FpControlConverter Class | Parastream.Web.UI.Design Namespace