Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I want to make the on Viewing panel not go down with adding of new row.

I am using focus on the new Row first column after i add a 5 rows it goes down.

I used MaintainScrollPositionOnPostback="true" but it doesnt change anything

please help

Thanks in Advance
Posted
Updated 2-May-14 1:34am
v2
Comments
DamithSL 2-May-14 7:21am    
do you have update panel in your page?
Laiju k 2-May-14 7:24am    
I have an Update Panel with UpdateMode="Conditional" in the grid for taking values from a hiddentext
Laiju k 6-May-14 6:59am    
can anybody help

1 solution

Use focus on the first row of the GridView instead of the new row. Maybe, this will help.
 
Share this answer
 
Comments
Laiju k 2-May-14 8:25am    
my requirement is to be on new row
I will check it out
Anas Tasadduq 2-May-14 8:29am    
But to be on the new row, the GridView will have to scroll to show you that row!
Laiju k 2-May-14 8:34am    
Thanks for the response
Laiju k 2-May-14 8:32am    
But the first row does not work I had tried it same process

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900