Output a value from the model as text in popup editor?

1 Answer 13 Views
Scheduler
Shawn
Top achievements
Rank 1
Iron
Shawn asked on 18 Jan 2022, 01:17 PM | edited on 18 Jan 2022, 01:40 PM

Hi,

I'm sure this is a stupid question however I've not seen an example of how to do this.   I need to output just a simple status as a string in the popup editor external template when editing an appointment on the scheduler.    It does not need edited - it is there just to show the user if they are approved to request that appointment or not.   

I have the status value in my ViewModel and I need to display it on the appointment double click.  I've tried @Model.status but need something equivalent to @Html.Kendo().TextboxFor(m=>m.status).   By doing it this way the string shows but it is in a textbox of course.....I need to make it appear as just a string of text similar to a label.

Thanks for any help!

1 Answer, 1 is accepted

Sort by
0
Shawn
Top achievements
Rank 1
Iron
answered on 19 Jan 2022, 06:36 PM

Never mind on this.   I just reworked the appointment double click to open the appointment contents in a new kendoWindow instead.   Should give me a lot more customization options than the scheduler popup editor template in the long run.

 

Tags
Scheduler
Asked by
Shawn
Top achievements
Rank 1
Iron
Answers by
Shawn
Top achievements
Rank 1
Iron
Share this question
or