AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 launch rowupdating from outside the datagrid
Posted by Ellen Van den Vonder on  7/22/2009 8:21:19 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
Hi,

I've got an ASP.NET page.

At the top of the page I have 3 dropdownlists (terminal, shift, date).

When I select a value in these 3 dropdownlists I get a gridview with data. Each time I change the value of 1 of the dropdownlists the data in the gridview is changed.

In the gridview it is possible to edit the data. Normally you have 1 update-button at each row in the datagrid but this is combined in 1 button (linkbutton) at the top of the gridview. When you change for example 3 different rows in the datagrid and you click the linkbutton at the top the changes of the 3 rows are updated into the database.


Now I wanna do a check if the user has clicked the linkedbutton after changing some data. If the user changed 3 rows but doesn't click the update-linkbutton the changes are not updated into the database.

Is it possible to force the linkbutton-click when changing the top-dropdownlists? Or is it possible to show a messagebox when leaving the gridview, just to remember the user to click the linkbutton to save his changes?

Thanks for helping me!

Regards,

Ellen

Post Your Reply Post New Question

 Viewer's Reply
This Question has 0 replies.

 
Sponsored by
The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition - Free 207 Page Preview!
Sexy Web Design - Free 71 Page Preview!
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!