Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Unable to apply edit template on a cell through code.
posted

Hi,

I am unable to apply edittemplate on a cell from code.

My requirement goes like this, i added a new row to the grid. later i have some custom validation on that newly added row, if any IO mistake i will show the message box in before exit edit mode, now after selecting ok, i want to set the edit template to the same row.

I am able to heighlate the row but unable to set the edit template on that particular cell.

Pls help.

Regards,

Navin

 

 

  • 469350
    Offline posted

    Hi Navin,

    I'm afraid I do not understand your question. What exactly do you mean by "edit template". The only "edit template" functionality I know of in the grid is to RowEditTemplate. This displays the data from the row in a separate form or a popup for editing. It applies to the entire row, though, not just a cell. And I cannot think of any reason why you would only want to use a RowEditTemplate after an error.