Unplanned
Last Updated: 17 Nov 2021 11:53 by ADMIN
Joseph
Created on: 17 Nov 2021 11:44
Category: UI for ASP.NET AJAX
Type: Bug Report
1
Regardless of the RenderMode, Designer & Live Web Preview show the default values from Classic RenderMode

When using the Designer, the Default Values displayed for properties do not reflect the Default values from Lightweight RenderMode.

One particular scenario is when creating a GridButtonColumn for RadGrid that is set to LinkButton. While the Designer shows the ButtonType set to "LinkButton" by default, upon rendering the Grid, the ButtonType is FontIconButton.

There is no way of changing that in the Designer.

1 comment
ADMIN
Attila Antal
Posted on: 17 Nov 2021 11:53

Hi Joseph,

Thank you for reporting this problem.

It is indeed a problem that we have found with the Designer, and the only way to work around this would be to engage with the Source Code.

Workaround

Whenever you experience this problem, go to the Markup Definition and explicitly set the Property to the desired value.

Example for the GridBoundColumn:

<telerik:GridButtonColumn CommandName="Delete" Text="Delete" HeaderText="Action" ButtonType="LinkButton"></telerik:GridButtonColumn>

 

This was just for the GridButtonColumn, but the issue could be present for the other Components where the default Value differs between Classic and Lightweight RenderMode. Be sure to change the Source Code (Markup definition) and explicitly set the Properties to the desired values.

 

Regards,
Attila Antal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.