187
Views
5
Comments
Solved
How to Check if A Web Block is Enabled/Disable
Question

hi there!

How to Check if A Web Block/a widget  is Enabled/Disable?

regards and thank you

2022-10-12 00-27-13
Ossama Ghanem
 
MVP
Solution

Hi IBOX

Can you specify what type of web block / widget you're referring to? And what do you mean by enabled/disabled?

Ossama

2025-08-22 10-19-44
Pramod Jain
 
MVP

Hi IBOX ,

Keep your webblock inside a div and bind the display property of the div with a boolean variable . Now you can check the visibility of your webblock by that variable.

Also with webblock there is no property like enable\disable , you can have this property for most of the controls like Input box , Dropdown, Checkbox etc which you can control by binding the Enabled property with variables.

Please let me know if you need additional information or your case is different from what i expalined.


Regards,

-PJ-

2019-07-26 07-21-47
Abdul quadir Saifee

Pramod  Already provided answer but just want to add one thing: 

If you want to enable/disable a widget which doesnot have default enabled/disable property you can put in container and add a clsss with if condition based on Boolean parameter.

2026-02-26 06-29-24
Rahul
 
MVP

@Abdul quadir Saifee , Solution already provided  by @Pramod Jain. he is already mention this condition.

2019-07-26 07-21-47
Abdul quadir Saifee

Rahul Sahu wrote:

@Abdul quadir Saifee , Solution already provided  by @Pramod Jain. he is already mention this condition.

 

 Yes. It was for display and I just added enabled/disabled condition.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.