datagrid scrollbar?

D

Dave Cullen

Don't know if this is the correct newsgroup, but can anyone tell me if
the standatd datagrid control in VB.NET has a scrollbar? I can't find a
property for it.
 
S

Stevie_mac

if you mean static titles & scrolling data - NO
If you want the datagrid to scroll, put it in a <DIV> with the approriate style
settings to scroll on overflow
 
S

Stevie_mac

Thanks - I've just started investigating Templates & tried the example
(download) from http://www.microsoft.com/india/msdn/articles/87.aspx? I added a
text box to SideBar.ascx & tried navigating the templated documents (via
Server.Transfer("WebForm2.aspx",true) ) - but the pages seem to fully reload
(including the base page) + hense, viewstate is lost on the sidebar.ascx
controls!

If you have any tips/pointers, i'll be very gratefull - thanks.
 
S

Saravana

According to this page template model, whole page gets reloaded if you
submit the page or reload the page. Since you are doing server.transfer,
your view state is lost. Just do a postback and see whether viewstate is
maintained or not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top