Remove a server method from a display

About this task

CAUTION: If you delete or rename a control, parameter, or server method that is used as the source of a binding in a form, the binding itself is not removed from the XAML file. You can leave the binding code in the XAML, but if you create another control, parameter, or server method with the same name as the deleted object, or rename an existing object to make the object name valid again, then the orphaned binding may become valid as well, causing unexpected results.

It is recommended that you manually delete the binding code from the XAML file to prevent this issue from occurring.

Procedure

  1. In the navigator, click Global Displays.
  2. In the Folders list, select the resource type you want to work with.
    Tip: As more lists appear, select the appropriate resource until you find the one you want to work with.
  3. In the Displays panel, click Display Editor.
  4. Click the Server Methods tab.
  5. Select the server methods you want to remove, and then click Remove.
    The server method is removed from the list.
  6. Save the form or user display.
    Click Save on the...To save...
    toolbarlocally for WPF forms; to the server for Silverlight forms
    title barto the server for WPF forms