StrataFrame Forum

Browsedialog cannot be override

http://forum.strataframe.net/Topic9270.aspx

By Chan - 6/3/2007

Hi,

I created employee browsedialog control by following CRM application sample. I found that, I can't override the its settings such as search fields after drop it on form. The settings will be reverted back as what I set in my custom employee brosedialog.

I tried this using CRM project as well, and it behaves the same. Is it .NET behavour or SF limitation?

Thank you

By StrataFrame Team - 6/4/2007

This is intentional.  The properties of an inherited BrowseDialog are not serialized (stored in the designer.cs file).  The reason for this is that generally, you want to set the properties within the inherited dialog's designer, so you don't have to set them on every form you drop the inherited dialog on.  However, if we did not disable the serialization, when you drop an inherited browse dialog on a form, everything would be double serialized (in the dialog's designer and on the form's designer), so the search fields and results all get "doubled up" (you have 2 of every search field and 2 of every results column.