cancel
Showing results for 
Search instead for 
Did you mean: 

Delete button not working in html5

Former Member
0 Kudos
130

Hi,

I have created Delete Button in OWL screen of custom BO using Layout stack panel option in layout tab.Display type is assigned as Icon.

It works fine in Silverlight but icon comes disabled in HTML5 mode.

Can you please suggest how to enable delete button in html5 mode?

Regards

Jayasri

View Entire Topic
former_member485701
Active Participant
0 Kudos

Hi Jayasri,

What i understand here that you have bound datafield to icon/button value property in UI-Designer.

In Silverlight, we were not respecting this data fields -> enable property.

For some good reason we are supporting it in HTML5.

So, you can do following:

  • If you are using defaultIcon for delete, eg: deletebin then remove the Value->bindingexpression.

          You can do this by clearing value in UI-Designer.

  • Or if you are not using defaulicon and your icon depend on value binding. Then make sure that this field is marked enabled as true in your custom BO.

Regards,

Praveen


former_member187270
Participant
0 Kudos

Hi Praveen,

I have followed you reply. I am able to see delete button if there is no onclick event for removing row. If i put onclick event then button is gone.

How can i achieve delete functionality for the above post.

Thanks,

Quddus.

former_member485701
Active Participant
0 Kudos

Hi Quddus,

Ideally you should fix this problem in backend. BO-Operation/Action configured for onClick is not enabled.

Otherwise workaround to enable this is:

In onClick event Handler add one empty operation: For example : DataOperation or Script

Add this empty operation as 1st operation in event Handler.

Regards,

Praveen

former_member187270
Participant
0 Kudos

Hi Praveen,

It's amazing Thanks....

Regards,

Quddus.