Browsedialog cannot be override


Author
Message
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search