StrataFrame Forum

Web User Control Support

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

By Ertan Deniz - 8/21/2008

How can we use StrataFrame components in a web user control ?

Web Page was supported through "ApplicationBasePage".

By Dustin Taylor - 8/21/2008

Web controls are a little different than winforms controls, but you can still use them. You can call whatever strataframe controls you need to inside of your web control, but you will have to take the binding for them into account in the render method of your web control. In winforms it handles the equivelant functions for you, but in web you have to do it yourself.

Outside of that, you're free to use them as you wish Smile

By Ertan Deniz - 8/21/2008

Can  this feature be supported through WebControlBase object ?

I've tested WebBindingSource in a web user control noticed that the system has tried to locate ApplicationPageBase object.

I'm trying to use strataframe in Dotnetnuke application. We plan to develop portal modules which means web user control (.ascx) for the dotnetnuke portal engine.

I need some detailed information to progress.

Thanks.

By Dustin Taylor - 8/22/2008

Are you always going to have the same strataframe controls and configuraiton within all of your web controls? If so, then yes, you could add all of that to a base object, and then inherit it from the individual user controls.

I'm not sure what exactly you are asking outside of that. What problems are you running into, specifically?

By Ertan Deniz - 8/22/2008

I don't have much time to develop base object and test it due to project's time limitations. May be later I have some time.

If you can test it with dotnetnuke and develop base user control object.

Not : Dotnetnuke is very popular and I think we see many posts on this topic in coming days. 

By Dustin Taylor - 8/25/2008

Developing our own rapper or base classes for dotnuke isn't something we're looking at in the near future.



Regardless, we recommend creating your own base form or page to work from is something we always recommend whether you are developing in winforms or webforms. Even if the base form/page does nothing but inherit, it can still be extremely usefully if a need arises that you need to account for across your entire application.
By Ertan Deniz - 8/25/2008

I don't need Business Object Base and DotnetNuke wrapper object. I need "Web User Control" base object like ApplicationBasePage.

Since ApplicationBasePage is in the framework, "Web User Controlbase object" may be included easily.

By Chan - 9/7/2008

Hi,

I need this as well.

Shall you guide me how to do this?



Thank you
By Chan - 9/8/2008

Hi,

I have tried to implement WebUserControlBase based on ApplicationBasePage approach. I am able to make BO visible to SF Web Control for binding. However, when I try to select bindingField, it complaint base type ApplicationBasePage is not found.



Any workaround?



Thank you