MicroFour StrataFrame Inherited UI BindingField Editor problem


Author
Message
dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi,

We update StrataFrame version to 1.7.3.1 and DevExpress controls to version 10.1

Then we rebuild source code for project MicroFour StrataFrame Inherited UI using new DevExpress references.

As result - now the Editor for BindingField property for all inherited controls does not work. (no more combobox to select field)




Can you help?

Thanks

Denis
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Denis.

Have a look at this post:

http://forum.strataframe.net/FindPost28345.aspx
dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi Ivan!

Yes! Its what I looked for! Great! Problem fixed

Thanks a lot,

Denis
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You are welcome, Denis. Cool
dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi Again Smile)

The same question Smile Now all works with StrataFrame controls. I have written my own IBusinessBindable control.
Its very simple Smile) because I copy all code from TextEdit.vb and paste to my private class. Bingo! Before VS2010 - it works fine.
After manipulations with .EDIT_BindingFieldEditor and Recompile MicroFour StrataFrame Inherited UI, controls which inherited from StrataFrame Inherited UI - works perfect,
My own controls editor - does not appears.


<Category(EDITOR_CATEGORY), Description(EDITOR_BINDINGFIELD_DESC), DefaultValue(""), EditorAttribute(ControlConstants.EDIT_BindingFieldEditor, GetType(System.Drawing.Design.UITypeEditor))> _
Public Property BindingField() As String Implements IBusinessBindable.BindingField
Get
Return _BindingField
End Get
Set(ByVal value As String)
_BindingField = value
End Set
End Property


Public Property BindingField() As String Implements IBusinessBindable.BindingField Get Return _BindingField End Get Set(ByVal value As String) _BindingField = value End Set End Property


What also should I know Smile

Thanks
Denis
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hiya.

Can you see, on your code: ControlConstants.EDIT_BindingFieldEditor ?

OK, it seems this is the constant Trent is talking about, and since you have your own control now, you should have this constante declared somewhere. If you have it, do the same thing he told us to do, I mean, have it declared this way:

Public Const EditorAssemblyExt As String = ", MicroFour StrataFrame Extensibility, Version=" & BuildInformation.BuildAssemblyVersion & ", Culture=neutral, PublicKeyToken=99fe9917f71608a7"


I guess you could insert this content directly into your code, in substitution to ControlConstants.EDIT_BindingFieldEditor.

If I wasn't very clear, let me know... it's been a hard day today. BigGrin
dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi Ivan,

Aha! Now it works also. When I move constants definition into my class - editor appears! Super!

  Public Class MKSBindableControl
Inherits MKS.GoliathNet.Windows.Controls.MKSBaseContainer
Implements IBusinessBindable, IInitializeBusinessObject

Public Const EditorNamespace As String = "MicroFour.StrataFrame.Extensibility."
Public Const EDIT_BindingFieldEditor As String = EditorNamespace & "BindingFieldEditor" & EditorAssemblyExt
Public Const EditorAssemblyExt As String = ", MicroFour StrataFrame Extensibility, Version=" & MicroFour.StrataFrame.BuildInformation.BuildAssemblyVersion & ", Culture=neutral, PublicKeyToken=99fe9917f71608a7"

    <Category(EDITOR_CATEGORY), Description(EDITOR_BINDINGFIELD_DESC), DefaultValue(""), EditorAttribute(EDIT_BindingFieldEditor, GetType(System.Drawing.Design.UITypeEditor))> _
Public Property BindingField() As String Implements IBusinessBindable.BindingField
Get
Return _BindingField
End Get
Set(ByVal value As String)
_BindingField = value
End Set
End Property


Thanks again for your help!
Denis
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Glad it worked, Denis.

You're welcome. Cool
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