This is a migrated thread and some comments may be shown as answers.

Telerik MVC GRID - error handling

4 Answers 181 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mohammed
Top achievements
Rank 1
mohammed asked on 04 Sep 2010, 12:26 PM
I am looking for some help from telerik forum members to bail me out from critical project status where I am just stuck with no solution.

I want common solution for handling error messages ON mvc grid in ajax inline and popup edit modes. I am not talking about error messages that are related to single input field. These are business error messages that come back to grid from DB upon clicking grid edit or insert buttons. I want to dispaly these error messages and not loose data in input fields, bcaz in some cases we are talking about more than 20 fields. 

Q1) What is the best way to display these error messages?

Q2) Can I use a dialog box to display these error messages? IF so, is it feasible with grid popup edit mode?

Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
lmf232s
Top achievements
Rank 1
answered on 06 Oct 2010, 04:22 PM
See if this helps:
http://www.telerik.com/community/forums/aspnet-mvc/grid/how-to-return-error-information-to-grid-in-ajax-editing-mode.aspx

With in the onError function I then display a popup with the error message
0
lmf232s
Top achievements
Rank 1
answered on 06 Oct 2010, 05:29 PM
Not sure if this helps anymore than the last link I posted but this is what I ended up doing. Hope if helps.
http://www.telerik.com/community/forums/aspnet-mvc/grid/ondelete-client-event-question.aspx#1371312
0
charles
Top achievements
Rank 1
answered on 12 Feb 2012, 06:16 AM
lmf: THANK YOU.  Good solution, man (or lady).  And double thanks for coming back and posting your final solution.
http://xkcd.com/979/
0
charles
Top achievements
Rank 1
answered on 12 Feb 2012, 06:17 AM
lmf: THANK YOU.  Good solution, man (or lady).  And double thanks for coming back and posting your final solution.
http://xkcd.com/979/
Tags
Grid
Asked by
mohammed
Top achievements
Rank 1
Answers by
lmf232s
Top achievements
Rank 1
charles
Top achievements
Rank 1
Share this question
or