title: blazor radzen grid using radzen dialog yes/no
body: <p>i am using radzen for blazor, how can i get the TItem=&quot;MailTemplate&quot; passed in the yes/no dialog service ?</p>
  <pre><code>  &lt;RadzenGrid @ref=&quot;m_gridTemplates&quot; Data=&quot;@m_emailTemplates&quot; TItem=&quot;MailTemplate&quot; AllowScrolling=&quot;true&quot; AllowPaging=&quot;true&quot; PageSize=&quot;10&quot; EditMode=&quot;DataGridEditMode.Single&quot;&gt;
  
  
  
  &lt;RadzenButton ButtonStyle=&quot;ButtonStyle.Danger&quot; Icon=&quot;close&quot; Size=&quot;ButtonSize.Small&quot; Click=@(args =&gt; DialogService.Confirm(&quot;Are you sure?&quot;, &quot;Delete Template (&quot; +mailTemplate.FileName + &quot;)&quot;, new ConfirmOptions() { OkButtonText = &quot;Yes&quot;, CancelButtonText = &quot;No&quot; })) MouseEnter=&quot;@(args =&gt; ShowTooltip(args, new TooltipOptions(){ Position = TooltipPosition.Top ,Text = &quot;Delete Template&quot;}))&quot;/&gt;
  </code></pre>