Share via


Card Viewer methods

The Card Viewer has two predefined methods. The Init() method initializes the result viewer. The AddStyleSheet() method formats the result viewer by applying the settings of a cascading stylesheet. The parameter passed to this method is the URL to the cascading stylesheet used by the result viewer. CardViewer.css is the cascading stylesheet provided by the Microsoft Business Framework for the Card Viewer.

You can create your own stylesheet or modify the existing stylesheet for the Card Viewer. To maintain uniformity, we recommend that you use the existing stylesheet when displaying a Card Viewer in a Business Portal application.