Web Connection
Webcontrols - legacy application to upgrade to use Bootstrap
Gravatar is a globally recognized avatar based on your email address. Webcontrols - legacy application to upgrade to use Bootstrap
  Greg Dohm
  All
  Jul 2, 2020 @ 01:25pm

Hi Rick,

Version 7 of webconnection seems to be working well for me now.

However, I have a previous application written with webcontrols which has a fair bit of code and was wondering whether there's a relatively easy way to upgrade the application to use Bootstrap but still reuse the webcontrols codebehind approach? For example, could it be done by adding the 'class' attribute to each controls and then define the specific Bootstrap class in the script page using the control's 'class' attribute?

Greg

Gravatar is a globally recognized avatar based on your email address. re: Webcontrols - legacy application to upgrade to use Bootstrap
  Rick Strahl
  Greg Dohm
  Jul 2, 2020 @ 02:31pm

Yes it's possible but as you know the old controls assume a different base style. For the most part I think it'll just work - the framework wasn't designed with a specific UI framework in mind. You'll just need to override some of the defaults. Like the blackborder style is used in a lot of places for example and that'll need to be overridden or customized to match what works for bootstrap etc.

Possible for sure, but will require some thought. .

+++ Rick ---

© 1996-2024