transfer script grid ClientTemplate to file or Partial

0 Answers 83 Views
Grid
Mohamad Javad
Top achievements
Rank 2
Iron
Iron
Iron
Mohamad Javad asked on 06 Mar 2023, 08:52 AM

Hello
How can I content Script 

.ClientTemplate


transfer it to file or Partial, that is, to have a code similar to the following:


columns.Bound(e => e.TicketId).Title(" ").ClientTemplate("
 @await Html.PartialAsync("_MsgList_FileUpload_Select",new { MessageId = "#=MessageId#" })
")
thanks

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Mohamad Javad
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or