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
155
EditRowTemplate saves controls' states
posted

Hello!

I have a big problem with a very simple thing.

I have WebAsyncRefreshPanel, UltraWebGrid and EditRowTemplate. I need to set controls in template to some default values before open template window. (Now if user changes values in template and click Cancel this values will be there when user opens temlate again).

I will not describe all the way how I tried to do this. My solutions were comlicated and not perfect. May be you can offer simple way for this simple problem.

Thanks in advance.

Svetlana.

Parents
No Data
Reply
  • 1332
    posted

    Hello,

     The EditRowTemplate is designed to be able to automatically retrieve values from the row being edited and display the values in the editors of the template. If you want to calculate the values on your own, you need to handle the BeforeRowTemplateOpen clientside event of the grid. Have you tried this approach? Further, is the grid embedded in the WebAsyncRefereshPanel or do you have that placed in your template?

     

Children