Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb.net printing out a datagrid that has scroll bars

Status
Not open for further replies.

treviboy

Programmer
Dec 18, 2006
70
0
0
US
hello,

I have a page that lists some items. One of the lists is in a datagrid that has many items, so the user has to scroll to view everything. I searched around a bit and saw some code in javascript that looks like it takes the whole lot and prints it out into a new window.

Can I mix up vb.net and javascript code in asp.net?

thanks,

 
yes you can.. you can use a .js file or include the js in the script tags in the HEAD section of the HTML or you can use the Page.RegisterStartUpScript() method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top