Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Hide the asp gridview lines using javascript or jquery
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
ashok kumar
10y
854
1
Reply
IAm using the grdiview ,in which iam using the print option,problem is i want to remove the gridlines using javascript or jquery, i dont want the code in the codebehind or in the gridview property,when the printdiv function is called the grdilines should disappear.grd is the asp gridview name.kindly provide some suggestions.
function printDiv(divID) {
$("
<%
=grd.ClientID
%>
tr").css({ 'border-color': 'White', 'border-width': '0px' });
$("
<%
=grd.ClientID
%>
").attr("border", "0");
}
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to validate a form using jquery? help me where i mistake
How to force IE11 that it renders as IE 8, javascript