[SOLVED] Error Provider Clear Problem

Answered
0
0

Hi

Error provider Clear() method not work

 

 

  • You must to post comments
Best Answer
0
0

Thanks. Logged as #1902. It works on the server but doesn’t update the client. This is a  quick workaround:

public class MyErrorProvider : ErrorProvider
{
    protected override void OnWebRender(dynamic config)
    {
       base.OnWebRender((object)config);
       if (!this.Haserror)
           config.errors = null;
    }
}


  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.