I have a parent gridview5 with child gridview 6, today i deployed it to our dev server and on that server we have alot more records, so for the nested gridviews i need to enable paging on the parent gridview5. Doing so works fine, until i make a selection within the child gridview6, once any selection is made, and i try to page the page throws an error, i have the following bound to the parent gridview5.
I have a GridView1 With Paging allowed, PageSize = 10. And a Nested GridView2. The INSERT function on nested GridView2 works well until the number of record is 10.
On inserting the 11th record, the GridView1 is recorded normally in page 2 of 2. The Nested GridView2 does not fired properly. it appears empty on the 11th record (page 2 of 2), but instead add its record on the last recorded ID on page 1 of 2.
When I remove the paging, everything works well.
How to resolve the paging issue with Nested GridView on "INSERT" record?
I have girdview1 inside a modalpopupextender1 ,inside the gridview1 i have a checkbox1. here my question is whenever i click paging . (i.e) i click page no 3 or 2 in gridview1 the modalpopup is showed off and checkbox also not checked. first i want to paging gridview inside the modalpopup and whenever i click paging. old value of checkbox wont change.
I have a gridview which is inside the update panel. Also I have setup a multipe filters which works fine. After the search I get the correct returns and page numbers but as soon I switch the pages, it loses its state and lists all the page numbers.
I have one gridview with page size 5. I have paging inside. I have radio buttuns on the gridview. If i select row in 1 first page indexwith radio button and back to second page index and when i come to first page index, my radio button selection has been lost.
In datalist, I hve populated Grdiview according the Category Id. Inside Gridview , I hve checkboxes. Now i want to get the selected checkboxes names to be insrted into the database. how to get access of those checkboxes inside of Gridview.
I am requested by my manager to develop a web page called staff deployment plan that will involve two GridViews, that is the Parent GridView and Child GridView. The Parent GridView will display two columns which are EmployeeNames and WorkingDays - the working days column is a heading of Child GridView and the child gridview displays columns as current working days for example: the month of November 2014 has 20 working days excluding weekends and public holidays in South Africa, so the columns for child gridview are like this:
3 Nov, 4 Nov, 6 Nov...etc
The problem that am experiencing now:
Is to add LinkButton for each column on the Child GridView and to create command event for each linkbutton inside a child gridview (remember this child gridview is inside a parent gridview) and the link button when is click it should display a popup window.
i have two nested gridview inside an update panel. there is a button called btnPhoneEdit inside the child grid view. when the button gets clicked, it do cause partial post back as expected but it fails to invoke btnPhoneEdit_Click.
here is how my grid view looks like and how i add my custom data source to both parent and child grid view. [Code]....
I'm trying to create a nested gridview, but I'm stuck at the editing/deleting part of the nested gridview. (Below is my code).The nested gridviews are filling out nice, I've set the DeleteParameter in the SQLDataSource, but I'm still getting this error when trying to delete a criteria: 'The Gridview 'gvCriteria' fired event RowDeleting which wasn't handled.'I've tried to create a method 'gvCriteria_RowDeleting', but that didn't seem to work out.Someone who can give me a piece of advice? Would it be possible to fill the gridview without using gvDomain_rowDataBound? Dries
In Nested Grid, we get a '+' sign. The problem is that '+' sign appears all times, even if there are no child records for that row. 1. Can we enable/disable OR Hide/Unhide '+' sign. depending on if child rows exits.2. OR alteast we can put some bgcolor indicating to user that this record do have child rows. Without any indicator user may feel quite annoying to click on '+' sign and nothing happens.
Is there a better, cleaner way to do this in ASP.NET 2.0?
An ASP.NET 2.0 page displays a datalist of records. Each record can have many dates, so the dates are in a nested gridview (I chose a gridview over a datalist here because we want to be able to delete a date and this is easier done in a gridview). The parent record can never be deleted.
The display works fine: the nested gridview gets its datasource during the parent datalist's OnItemDataBound event.
The problem: the nested gridview's delete function. The date gets deleted without a problem (handled in the OnRowDeleting event), but somehow the redisplay is untying all the other nested gridviews from their datasources. The delete does not appear to cause a page postback, so I don't know how the other nested gridviews are losing their datasources.
I have designed a collapsible nested gridview project using this article as a reference Collapsible Nested GridView with Paging using ASP.Net. I am trying to modify the code to collapse a gridview when another gridview is expanded so that only one nested gridview will be open at a time.
I have a usercontrol with a datagrid that is used throughout my web application. The datasource is passed in a public method from the master page to this usercontrol, as the data selection is different on each page where this usercontrol is used.But by doing this, I'm having a problem with paging, as the datasource is lost after postback. I can't do the data selection in the usercontrol itself as the dataset is passed as a parameter.
I'm having a problem trying to retrieve a dropdownlist value that is located within a nested repeater. Basically I'm trying to create a shopping cart that allows the user to select a shipping method and the shipping method is contained in the repeater. So my page structure looks something like this.
To me this should work, but the problem I'm facing is that there are no repeater items. The Items.Count property in the repeater is 0. I am not calling DataBind on the Gridview nor the Repeater before this code is reached (this code is the first thing that happens in my button click event) and my binding is done inside a !IsPostBack statement in my page load. I've made sure databinding is not occurring by setting breakpoints on the code that databinds both the gridview and repeater.
It seems to me like the nested repeater is losing it's viewstate or something on a postback. If that's the case, how can I get the selected value of that dropdown control inside a nested repeater?
accessing a control inside the nested controls. Here is what i want to do. I click on the "add me" link inside the repeater and the ModalPopupExtende pops up with a textbox and the update linkbutton. I type something in the textbox and I click on the linkbutton update notes. My question is how do response.write the text i entered in the textbox?
I have an array object with another nested arrayobject within it. I am binding the outer arrayobject to a gridview and on row data bound event i am refernecing the nested array object and populating a dropdown list in atemplate column of a gridview row. Thgis works fine but when i implement paging and handle the PageChanging event then the data binding of the nested array does not complete properly. See code below. For each page in the gridview the dropdown list is repeatedly populated with the same data