Telerik Forums
UI for ASP.NET Core Forum
1 answer
64 views

Hello,

What is correct way to get ExpansionPanel's name that caused expand/collapse event? I would like to create general method to save expand panels expanded states.

By trial and error I have discovered that both expand and collapse event handlers seem to get some argument. This is argument is undocumented. My tests show that I can get ExpansionPanel name following way:

    function expand(e){
        var expandPanelName=$(e.item).attr("name");
        console.log(expandPanelName);
    }

Is this correct way to do it or can this be changed in future versions of Kendo?

Thanks
Mikko

Mihaela
Telerik team
 answered on 14 Feb 2023
1 answer
93 views
Can I have this expander work vertically instead of horizontally?  Also, the default styling puts a box around it.  How do I change the style of this control so all I see is the title and the open/close handle?
Georgi Denchev
Telerik team
 answered on 25 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?