473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

GridView Help!!

Weird behavior on my end when working with GridView

I have a GridView, populated by a list of a custom object
List<Category>

I have no problem displaying data
It is when I try to edit within the Grid that I'm having some strange
behavior

I had gotten the edit feature to work properly a couple of days ago;
even on another page with a different custom object

But since yesterday, the edit on both grids stopped working. It seems
that the DataKeys collection is now returning empty, and also, I can't
access the controls within EditItemTemplate

2 totally differenet pages, populated by different lists of custom
objects, and both stopped working

If somebody has ever had some sort of behavior similar to this, or
anyone that can help I would greatly appreciate it!!!

Thanks!

Mar 27 '07 #1
0 800

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

Similar topics

3
by: Mark Parter | last post by:
I have a GridView control which is bound to a Stored Procedure (SP) using a SQLDataSource. The problem I'm having is that the SP returns 4 known columns and x amount of unknown columns. I can...
1
by: Krish | last post by:
Hello Gurus, I have Master GridView & Detail1 Gridview & Detail2 Gridview controls. On "select" master grid , No. 1detail grid shows data, On "Select" No. 1. detail grid, No.2 detail grid shows...
0
by: CK | last post by:
Hi All, I have a gridview that contains a column that has a repeater inside it. My intent is to put every comment for an album into the repeater in the comments column. I am using a SQLDataSource...
1
by: rodchar | last post by:
hey all, i have a simple gridView that contains 2 columns with a dropdownlist in each column. for instance, when a user selects a product category from ddl1 then ddl2 will filter the products...
0
by: trint | last post by:
I hope I can explain this clearly enough to get help. I have three gridviews that need to work from each other to display like a java verticle menu (just in the way it appears). GridView1 is...
0
by: New2ASP | last post by:
Thanks everyone in advance for your help. I am fairly new to web development but an experienced window-based developer. Here's the structure of my Gridview Column 1 : Checkbox with SelectAll...
0
by: sharonrao123 | last post by:
hello all, I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box...
0
by: =?Utf-8?B?U2FuZHBvaW50R3V5?= | last post by:
I have a gridview that is displaying product information with links to edit pages. The customer now wants to perform mass deletes on the grid page, such as by adding checkboxes on each row - and...
1
by: nguyenlh | last post by:
I perform a module in dotnetnuke module perform insert , update and delete and display on gridview I have inserted and delete and update but when i tao SqlDatasource give gridview then...
2
by: johnix | last post by:
i am very newbie of asp.net.. i dont know how to get the value for my update event or display ii, from the textbox in gridview. code in my html <form id="form1" runat="server"> <div>...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.