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

[Solved] Sending a string from controller GridAction to View

0 Answers 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chie
Top achievements
Rank 1
Chie asked on 23 May 2012, 02:48 PM

Hi,

Please tell me how to send a  Response in the GridAction Like in Edit, Delete or Insert?

I am using Ajax Binding as below.
.DataBinding(dataBinding =>
            {
                dataBinding.Ajax()
                .Update("Update", "Test")
                .Delete("Delete", "Test")
                .Insert("Insert", "Test");
            })

When Insert is success or Fail, I am getting a string from Database. I need to display this value in an alert message.
Please suggest how to implement this.

Thanks.

Tags
General Discussions
Asked by
Chie
Top achievements
Rank 1
Share this question
or