Clienttemplate plus excel not working

0 Answers 42 Views
Toolbar
Sai
Top achievements
Rank 1
Sai asked on 25 Oct 2024, 09:39 AM

.ToolBar(toolbar =>{

toolbar .ClientTemplate(

"<text>" +

"<a class=\"k-primary" href=\””+@Url.Action ("CreateId", "Home") + "\">" "Create New Person" +

"</a>" +

"</text>");

toolbar .Excel().Text("Excel"); 

})

Excel(excel => excel

FileName("Tabledata.xlsx") 

Filterable(true))

 

I am trying to add excel buuton the existing client template but, the excel is not coming only the create new preson button is only coming. If i write the excel individually then it is working. I want the create new person button next to it the excel button.

 

can some one plz look into this.

 

Thanks.

No answers yet. Maybe you can help?

Tags
Toolbar
Asked by
Sai
Top achievements
Rank 1
Share this question
or