Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Andrew Connell #1
DataGrid contains no data after postback of edit button click...
This is specifically what is going on in my application:
[url]http://msdn.microsoft.com/asp.net/using/building/webcontrols/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-commondatagridmistakes.asp#aspnet-commondatagridmistakes_topic6[/url]
However, regardless of how I bind my dataset... it keeps showing up without data. Here's the code in my edit handler (GetApplicationReleases returns a dataset):
Private Sub ApplicationReleaseDataGrid_EditCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs ) Handles ApplicationReleaseDataGrid.EditCommand
ApplicationReleaseDataGrid.EditItemIndex = e.Item.ItemIndex
ApplicationReleaseDataGrid.DataSource = _application.GetApplicationReleases
ApplicationReleaseDataGrid.DataBind()
End Sub
--
-AC
Andrew Connell Guest
-
DataGrid Row Disappears when click edit??
Hi, I have a datagrid DataBound with the following code: private void SampleSearch() { // set search strings int intUserNo =... -
Would like to load a datagrid already in edit mode instead of having the user click the edit button
Now my asp.net datagrid shows an edit button and clicking it puts the datagrid in edit mode. I would like to: 1) possilby load the page already... -
DataGrid Disappears when I click on Edit
In my test environment my datagrid is working is just fine. I have multiple template columns and I am not using paging. When I move the datagrid... -
edit button in datagrid
I want to add a button within an Item Template column that will set the edit mode for the current item in the grid. can anyone tell me how to do it... -
Edit button in datagrid doesn't work!?
Hi, I have this piece of code: <asp:datagrid id="dgRezervirano" runat="server" CssClass="rezervacije" AutoGenerateColumns="false"...



Reply With Quote

