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
Ramco Ramco
443
3.4k
526.8k
Id value undefined
Jun 1 2021 8:58 AM
Hi
When i check Id value in ConfirmDelete it shows - undefined.
{
"data": "Id", "render": function (data) {
return "<a class='btn btn-primary btn-sm' id='btnEdit' data-id='Id'><i class='fa fa-pencil'></i> Edit</a> <a class='btn btn-danger btn-sm' style='margin-left:5px' onclick=ConfirmDelete(" + data.Id + ")><i class='fa fa-trash'></i> Delete</a>";
},
},
function ConfirmDelete(Id)
{
alert(Id);
$("#hiddenId").val(Id);
$("#DeleteModal").modal('show');
}
Thanks
Reply
Answers (
5
)
Pop up time showing wrong
cannot display data between date in gridview c#.