vb.net - Inherited form does not show correctly in design view -


i have simple base form has no ui controls in design view. have declared few textbox controls have protected modifier , used in both parent code behind , ui controls in design view of sub class inherits parent class.

basically see empty form in parent class's design view , form controls in sub class's design view. application compiles , runs expected.

the problem keep getting a:

"no context registered. use 'registercontext' method or 'spring/context' section configuration file" 

when try open form. know working week ago. did play around bit spring.net configurations sure have reverted back. if there problem show during runtime anyway.

i debugged instance of vs see problem , shows issue spring.net not being able resolve basedao class. if let subclass inherit system.windows.forms only, there no issue opening the sub class in design view. strange. did manage create base class different name , subclass it. have tried deleting files solution , removed references inside project file. did not help. if rename files, won't work either.

can suggest here? vb.net + visual studio 2008. base form inherits devexpress form v 11.1

edit: it's got nothing devexpress controls changing base form inherit windows.forms.form makes no difference

the solution issue adding base form's load event handler.

if (me.designmode)         return  end if 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -