Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2005, 04:27 AM
Authorized User
 
Join Date: Oct 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default DIV TAG

Hi,

I have created a DIV tag, inside I have placed a .Net datagrid.

The DIV has a scroll bar when the number of items on the GRID exceed the height of the DIV.
The problem is that when I scroll down to the bottom of the DIV and I select an item of the grid the scroll of the DIV goes to the top so I cannot see the item being selected.

Any suggestions?

Thanks



 
Old May 24th, 2005, 06:51 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

try enabling SmartNavigation on

Regards
Ganesh
 
Old May 24th, 2005, 11:14 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Unfortunately, smart navigation doesn't handle the DIV tag. You have to program in your own smart navigation for it. This will entail a hidden form element, and several bits of client side script to handle the scroll event and the repositioning when the page rerenders.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to loop through a div tag? Byock Classic ASP Basics 0 December 19th, 2006 02:52 AM
Background Image problem in DIV tag. cumminsj CSS Cascading Style Sheets 6 September 15th, 2006 03:02 AM
div tag as link Stagmo Dreamweaver (all versions) 0 April 14th, 2006 12:35 AM
stop writing in Div tag Samikaraeen HTML Code Clinic 2 April 9th, 2006 01:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.