User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,595 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,417 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 3836 | Replies: 1
Reply
Join Date: Sep 2007
Posts: 3
Reputation: mahir78 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mahir78 mahir78 is offline Offline
Newbie Poster

Gridview and formview, Gridview not updating immdly.

  #1  
Sep 11th, 2007
I have gridview and formview, when clicking on select(Edit) button in gridview the record will be displayed in formview. In formview i do all the operations like insert,edit,delete....Everything fine except gridview refresh problem.

that is when i insert a record from formview the GRIDVIEW NOT UPDATING ROW FOR THE FIRSTTIME WHEN I CLICK INSERT/UPDATE/DELETE BUTTON but it can after clicking on any other buttons (second time, ie second event).

Pls help me where i am doing mistake....

FYI i am using updatepanel, on page_load i have added gridview1.DataBind();

Thanks
Mahir
Last edited by mahir78 : Sep 11th, 2007 at 8:31 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,166
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 59
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Gridview and formview, Gridview not updating immdly.

  #2  
Sep 11th, 2007
I have experienced this also. I got around it by doing a databind again in the item command handler for the formview.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 6:54 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC