473,806 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is there any solution to make the datagrid in same position(inside div tag) when clicking edit

Hi

I have binded a dataset to my datagrid.
Datagrid is present inside a >DIV></DIVtag of specific height.
Only 5 records will be visible at a time

when i edit the 10th record, the page refreshes and the datagrid goes
to its top position.
I have to search for the edited item inside the div tag by scrolling
and then edit it..
Is there any solution to make the datagrid in same position(inside div
tag) when clicking edit

Aug 24 '06 #1
1 1208
karups,
this is an ASP.NET question, not a C# language one. Use the ASP.NET group
here

http://msdn.microsoft.com/newsgroups...k.aspnet&fltr=

or via Google Groups, or your newsreader.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"karups" wrote:
Hi

I have binded a dataset to my datagrid.
Datagrid is present inside a >DIV></DIVtag of specific height.
Only 5 records will be visible at a time

when i edit the 10th record, the page refreshes and the datagrid goes
to its top position.
I have to search for the edited item inside the div tag by scrolling
and then edit it..
Is there any solution to make the datagrid in same position(inside div
tag) when clicking edit

Aug 24 '06 #2

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

Similar topics

1
2921
by: Coder Coder | last post by:
Hi I have put a Datagrid inside of a DIV tag to allow scrolling. This works fine, but I would like to store the location of the scrollbar so that when there is a selection (causing a postback), I can place the scrollbar in the location where the previous selection was made. - thanks
2
1158
by: wolfgang wagner | last post by:
hi all! im trying to implement an m:n relation in a webapplication(here: the realtion between hard and software. there may be many computers with each of them has many installed software). for this i want to do this with a datagrid inside a datagrid. can someone tell me another method? or is this the best i can do? i am also searching for some tutorials describing this method (especially editing, deleting, layout). the things i found...
1
2782
by: Price Brattin | last post by:
How do I set the column width in a datagrid when the datasource is a dataview? I want to use a dataview so data changes, inserts, and deletes are disabled. I can set the column width when I use the DataTable that underlies the DataView as the DataSource in the DataGrid. When I use the DataTable name as the MappingName in the DataGridTableStyle, it works like a charm. However, when I change the DataGrid.DataSource to the DataView, I...
3
1439
by: hooterbite | last post by:
In the code behnd I build the dataset including the relations, which is working fine. I know it is working fine becuase I tested it by looping through the datatable then looping through the child table. The code I use inside the datagrid is <asp:DataGrid id="Datagrid1" runat="server" datasource='<%# Container.DataItem.Row.GetChildRows("EntitiesDirectors") %>' where EntitiesDirectors is the name of the datarelation. Is this not the...
0
1034
by: hooterbite | last post by:
In the code behnd I build the dataset including the relations, which is working fine. I know it is working fine becuase I tested it by looping through the datatable then looping through the child table, and am able to display all the values from the child table. The code I use inside the datagrid is <asp:DataGrid id="Datagrid1" runat="server" datasource='<%# Container.DataItem.Row.GetChildRows("EntitiesDirectors") %>'
2
2074
by: Gummy | last post by:
Hello All, I have a webpage that has two dropdown listboxes. Based on what is selected in these dropdown listboxes, it filters a DataGrid . That works fine. In the DataGrid , when I go to edit a row, I change the textbox (or other control), click Update, but it doesn't save my data. I then did this... In Page_Load, I added code to filter the DataGrid only when it was Not Page.IsPostBack. Then the editing/updating of the DataGrid data...
6
2282
by: Joseph Geretz | last post by:
Writing an Outlook AddIn with C#. For the user interface within Outlook I'm adding matching pairs of Toolbar buttons and Menu items. All of the buttons and menu items are wired up to send events to the same method (aka delegate?). I use the Tag property within this method to determine what user action is taking place. Very simple: When adding toolbar button: tbButton.Click += new...
0
912
by: karups | last post by:
Hi I have binded a dataset to my datagrid. Datagrid is present inside a >DIV></DIVtag of specific height. Only 5 records will be visible at a time when i edit the 10th record, the page refreshes and the datagrid goes to its top position. I have to search for the edited item inside the div tag by scrolling and then edit it..
3
2273
by: alindtiwari | last post by:
hi everyone, i just want to share my experience....,that never use alert when u are calling 2 functions in the same tag using onkeyup or onblur events,........becoz wht ever function u r going to call in onkeyup,,,if there is any alert msg is there then...first the onblur function is called due to alert the focus is coming out of the of the tag and this will automatically call the onblur function..... Alind
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
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
10618
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
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
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
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
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.