Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 31st, 2009, 07:23 AM
ankh.aspnet
Guest
 
Posts: n/a
Default need help with editable gridview....

Hi,
I am working with an application that involves an editable gridview.On the edit item template i have included controls like textboxes and dropdownlists.Now my main problem is that within the grid view I wish to change the value of textbox as per the selection made by the dropdown list.
please provide me with relevant solution to this.

I wanted to know how to invoke and handle the events of child controls within the gridview controls.

My another problem is i am unable to update the contents of edit item template of gridview as whenever i press the update button after putting some entries, I get old values back when i check the tables in database.
Considering the above problem please do provide me the relevant solution alongwith the resources that may make me clearer with editable gridview..

Thanks in advance....
  #2 (permalink)  
Old September 11th, 2009, 07:34 AM
Friend of Wrox
 
Join Date: May 2006
Location: Northampton, United Kingdom.
Posts: 107
Thanks: 1
Thanked 8 Times in 7 Posts
Default

Sometimes the SQLDatasource and gridview can get "confused" (especially if the SQLsource is created wouthout edit functions, the gridview is added and the the sqlsource is changed to allow insertion/edit features)

Create a new screen, re-create the SQLDataSource (don't forget the insert/edit function) and then re-create the Gridview.

See if this works.

If so copy the source code to the original form.


Similar Threads
Thread Thread Starter Forum Replies Last Post
iframe editable skyler Javascript 3 April 15th, 2011 05:28 AM
Editable Dropdownlist msbsam ASP.NET 2.0 Professional 1 March 31st, 2008 09:08 AM
Editable Gridview Shahzadcreative ASP.NET 1.0 and 1.1 Basics 0 November 6th, 2006 03:16 AM
editable datagrid .............help maddy137 ASP.NET 1.0 and 1.1 Professional 0 May 17th, 2006 07:33 PM
Convert Fully Editable DataGrid To F Edit Gridview gtjr92 ASP.NET 2.0 Basics 0 May 4th, 2005 12:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.