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
Mahesh ch
NA
7
1.4k
Print Grid View all Pages
Mar 1 2013 11:06 AM
Hi All,
I have a grid view for which paging in enabled, trying to print the grid with all pages.
for this i did like before calling the print execute function from the click event , i am enabling the grid view paging to false , bind the data and performing the print.working good.
But after that the grid paging should be enabled but it is coming as disabled , i am getting all the records .
code:
print button click event:
gridview.datasource=dvprint;
gridview.allowpaging=false;
gridview.databind();
register.startupscript(page,this.GetType(),Guid.NewGuid().ToString(),"javascript:jsfunction()",this.GetType().Name);
Is there any way to enable the the page after the function the executed in javascipt.
after start-up is executed nothing is executed.i tried like again i am enabling the paging and binding but at that time print is coming along with the paging.
Please Suggest me..!!
Reply
Answers (
0
)
Web Part in Modal Popup
Reading from Excel & Writing to Word using Macro (VBA)