Hey guys, Is there a way to show some clue on a page that have invalidated controls?
I'm currently using error provider to show errors on controls, I've tried using it on the page but it don't have good location, and I need a generic solution because I use a generic validator to see if the controls has value.
I'm currently using 2015.1.225.40 version and sorry for bad english. Thanks in advance.
5 Answers, 1 is accepted
It is a good approach to use an ErrorProvider for indicating errors in RadPageView's pages. You can refer to the following forum thread which demonstrates a sample code snippet how to properly adjust the location of the ErrorProvider: https://www.telerik.com/forums/pageviewpage---errorprovider-seterror
I hope this information helps. If you have any additional questions, please let me know.
Note that if you validate the RadPageView's content at a later moment and the invalid control belongs to a page which is not currently selected, you can simply set the RadPageView.SelectedPage property to the page that needs to be corrected and adjust the location of the ErrorProvider. If you are still experiencing any further difficulties, feel free to submit a support ticket from your account and provide a sample project demonstrating the undesired behavior. Thus, we would be able to investigate the precise case and assist you further.
I hope this information helps.