473,624 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Keep the selected row visible when refreshing a Gridview

Hi, I have a problem whereby I have a gridview with many rows. If I select a
row from near the bottom and thus have to scroll down, when the control is
rebound and refreshed, how do I ensure that the selected row is visible on
the screen and the user doesn't have to scroll down to see it.

Thanx
Robert
Mar 6 '08 #1
0 1214

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1056
by: Dst | last post by:
How can i make the selecteditem in a gridview visible ? I have a gridview inside a panel which has a vertical scrollbar. Is it possible to make it visible ? Scroll down or something...
1
7487
by: jobs | last post by:
Given the Gridview below: When I select the button "Rate" and fall into this code. How can I reference "carriercode" and others . Apparently selecting the button does not select the row. I've tried find control, and everything returns that I must reference and instance of the object. CommandArgument is being sent corrently. If the button where a ButtunField I apparently I could get the get the index, But I need the button to be an...
8
7730
by: gerry | last post by:
The PagerSettings.Visible property is not being handled properly by the GridView control. The value assigned to this property is not applied until after a postback. Simplest test : .aspx containing a single gridview - enable paging and give enough data to page. add checkbox with auto postback enable add button with auto postback enable in the GridView1_PreRender method add the following : GridView1.HeaderRow.Enabled =
1
3078
by: sheenaa | last post by:
Hello friends, I m using ASP.NET with C# 2005 and SQL SERVER 2005 for the ASP.Net Website. I m using sqldatasource to connect and retrieve the data from database and then it displays the data in the gridview on the button click event.I have created the stored procedure for insert and select query. Now in my application i have used checkboxlist where there can be multiple selection for the hobbies. I want to know how can i store the...
2
4269
by: Mike | last post by:
On my web form I have a gridview and I allow the user to edit a row but clicking a button above the grid. The Edit button takes them to a edit page with the details of the selected row. When they click 'save' on the Edit page it takes them back to the page. How can I have the row they selected to edited remain selected when they come back from the edit page?
2
2012
by: wildman | last post by:
I've coded a gridview that has used bound data to determine if I should show a button on a particular gridview row as follows: <asp:TemplateField> <ItemTemplate> <asp:Button ID="Submit" Text="Test" CommandArgument='< %#Eval("CNumber") %>' CommandName="Submit" Enabled='<%# Test(Eval("ProcessId")) %>' runat="server" /> </ItemTemplate> </asp:TemplateField>
1
3324
by: =?Utf-8?B?Um9iZXJ0IFNtaXRo?= | last post by:
Hi, I have a problem whereby I have a gridview bound to a dataset with a large number of items, However when I select an item near the bottom by using the scrollbar, when the gridview gets rebound, the selected field goes off the screen and is not visible and the user has to use the scrollbar to see it. How do I set the toprow of the visible gridview to be the selected row Thanx in advance Robert
0
776
by: Vajrala Narendra | last post by:
Hi all in asp.net 2.0 am using a gridview to display records in that for comfortability to client. in that 1000s of records there. the problem is while selecting a record gridview was refreshing and and not standing at selected row plz help how to stand at selected row Thanks inadvance
0
1153
by: furtiveferret | last post by:
Hi I'm still a newbie here, so please bear with me. At the top of the page, I display a gridview as a small scrollbox with 3 sortable columns (customer, region & contact) & a select button for each row. The source is a recordset (? dataset) from a SQLServer db query involving several joins and containing around 15 fields in total. The DataKeyNames is a further, customer ID, column which is not visible to the user. (As a point of interest,...
0
8179
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8633
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8348
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2613
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1797
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1493
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.