Skip to main content

Hi All,

I need to clear the grid and refresh the screen once all the grid data saved to the DB. Can someone help me out?

Thanks

Hi @bhagyat25 ,

You can try by using below line,

  Viewname.View.RequestRefresh();

eg-

  Base.Transactions.View.RequestRefresh();

Hope this helps!!


Hi @bhagyat25 ,

You can try by using below line,

  Viewname.View.RequestRefresh();

eg-

  Base.Transactions.View.RequestRefresh();

Hope this helps!!

Hi @rakshandad31 ,

In which event


Hi @bhagyat25 ,

You can write it into ViewDelegate,

Please refer below sample code-

View Name -TestView       

                     protected virtual IEnumerable testView()
                     {
                        TestView.Cache.Clear();
                        TestView.View.RequestRefresh();
                       

                        //your logic

                     }
 


Reply