TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Aniket Narvankar
559
2.1k
608.1k
Asp.Net MVC Gridview Query
Apr 29 2021 6:57 AM
In project to the grid data is bind using jquery
There is a gridname.json file in that code written to what data to bind to gridview as follows
{
"DataField": "DocumentId",
"Header": "Inventory Details",
"Hidden": false,
"ColumnType": "buttongroup",
"KeyField": "DocumentId",
"LinkText": "",
"LinkClickMethod": "AcceptDocumentQA|CallDocumentWorkOrder|ViewDocument",
"LinkImage": "/Images/accept.png|/Images/reject.png|/Images/view.png",
"LinkTitle": "Accept|Reject|View"
}
Here on click Reject button Link method called is CallDocumentWorkOrder,this method is on view
function CallDocumentWorkOrder(el) {
var id = $(el).attr('datakey');
url += '@Url.Action("Index","Document")';
url += "?DocumentId=" + btoa(escape(id));
window.location = url;
}
I want to pass parameter to this method with value reject
Kindly let me know how to pass parameter to this method
Reply
Answers (
0
)
Print multiple pages pdf itextsharp C#
i use this sql and C# code i want to display error message in lable in