Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Strange problem with DropDownList

rob.dataccess premium asked 5 years ago


Hi,

I know that you don't support ASP.NET officially but I found a strange issue with the "asp" component named DropDownList (is the equivalent of the ComboBox). The web application that I'm developing has a Master Page where there are all the reference to the MDB "core" and where I "designed" a navbar+sidebar menu. Now the issue: in one of the page I dropped a DropDownList component (asp, not MDB) that is loaded "code behind" from a SQL table. So...I found that if I reference href="css/mdb.min.css" (that is saved locally into folders) the DropDownList strangely becomes invisible, if I reference the cdn href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.7.4/css/mdb.min.css" (I think it's the free version) the DropDownList appears but the "sidebar" of the menu disappears. The same thing happens with CheckBoxes. Why this...thing? Is there a workaround? Thank you, regards.

Roberto


rob.dataccess premium answered 5 years ago


Unfotunately I'm not able to paste the whole code of the page, if I press "CTRL+K" appears "enter code here" but after I copied the code only the title tag appears...

Roberto


rob.dataccess premium answered 5 years ago


Hi Piotr,

if you paste the code below into an ASP page, when you "execute" the page the DropDownList is invisible.

<title></title>

If you change ONLY the reference to the MDB css

<link rel="stylesheet" href="css/mdb.min.css"/>

to

<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.7.4/css/mdb.min.css" rel="stylesheet" />

the DropDownList will be visible. If you need further info don't hesitate to contact me. Thank you,

Roberto


Piotr Glejzer staff commented 5 years ago

Maybe you have some extra CSS what overwrite mdb.css? I can only add this problem to our list to do because we don't work with ASP.NET environment I can't even 'reproduce' this problem for that moment, with a basic environment it's working correctly. Have a nice day.


rob.dataccess premium commented 5 years ago

Hi Piotr,

no I don't have any other CSS that overwrite mdb.css.By the way, I found a way to "workaround" the problem but it would be nice if you will support ASP.NET in the future. Thanks for now, regards.

Roberto


Piotr Glejzer staff commented 5 years ago

We will see. Regards!


Piotr Glejzer staff answered 5 years ago


Hi,
Do you have some example of that? We can't help if we can't see a problem especially when we don't support ASP.NET technology.
Best,
Piotr



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.7.4
  • Device: PC
  • Browser: Firefox IExplorer Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No