title: Telerik Kendo UI for ASP.NET Core Add/Edit Popup window title and button text change
body: <p>I am working project that use Kendo UI and I am new to it.</p>
  <p>I have been searching whole day for this simple implementation- I need to change the popup window title and button text based on edit mode or add mode.</p>
  <p>Here is the latest answer I found: <a href="https://www.telerik.com/forums/popup-editor-in-edit-mode-vs-add-mode" rel="nofollow noreferrer">forum</a></p>
  <p>Above link has exact same question I have. But the solution is not working for me.</p>
  <p>I tried to use <code>e.Edit()</code> on Events. But it throws an error:</p>
  <blockquote>
  <p>&quot;DataSourceEvenBuilder&quot; does not contain a definition for Edit and no accessible extension method &quot;Edit&quot;</p>
  </blockquote>
  <p>And the <code>e.model</code> is undefined as well</p>
  <p>From <a href="https://docs.telerik.com/aspnet-core/api/Kendo.Mvc.UI.Fluent/DataSourceEventBuilder" rel="nofollow noreferrer">official page</a>, I don't see Edit method.</p>
  <p>Can anyone help? Please don't provide the solution that build grid from javascript.</p>
  <p>Telerik version: ASP.NET Core 2022.1.301</p>