Updating a button
Noticed this old thread where someone was asked why they wanted to refresh a page. I used to develop ASP.Net sites professionally and recently came back to it for a website for a friend who asked for a shopping cart.
To update the "add to cart" buttons for each item inside a repeater after they were clicked, I wrapped a declarative databinding method inside my own method. I remembered that after a button was clicked, it would do a post back and raise the click event after it called the methods in the markup. I also remembered getting a specific item in a repeater is not straightforward and so instead I put Response.Redirect(Request.Url.ToString()); at the end of the click event method, and it worked OK.
The latest tool for developement from Microsoft is the Silverlight framework which is a web application framework that provides functionality similar to Flash and Flex and allows the integration of multimedia, animations and interactivity into your site.
Hope that helps
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)