Hi to all,
i'm developing a dnn component that updates some data stored on the db.
To do so, i've made a simple select query to fetch the old values, then the onload event popolates a form using a VB codebehind.
To update the user changed data, i've insert a update_button, that the user must click in order to run the update.
in the codebehind, i've made a function raised on the update_button.click event but when the update function collects the changed data, it still collects the old values, even if they are changed... WHY?
could someone help me?please :)
Thanks to all,
Have you put an "If Not Page.IsPostBack Then" statement around your onload code? Failure to do this would cause you to pick up the same values each time.
Hope this helps
Please mark posts as the answer if I was helpful. Thanks!
Visit my blog
Yep! Was That... i forgot that because... i'm novel in .net developing...
Now works fine!
really really thanks!