Answer the question
In order to leave comments, you need to log in
How can I make the "not updated" part of the page?
There is an old project written on WebForms. It is necessary to implement the following functionality when calling the page - on the first call, we display a page with a couple of fields for entering parameters and a button. When parameters are entered and the button is pressed, a table with the generated report is displayed, while the fields with parameters should not be updated, they should contain the previously entered values. How can this be implemented? Thanks
Answer the question
In order to leave comments, you need to log in
Once upon a time I was also looking for this, but only JS was the solution.
In webforces, I also did something similar with tables for accounting. As a solution, you can do it in the "onbattclick" event to save the current value and then parse them again. But this is a crutch)
Since then, it seems like 2 new versions have come out, all of a sudden they added something - let's see what others will answer)
p.1 Forget about WebForms. This is an officially forgotten, not updated technology. Take MVC in your hands and control the life cycle of the page by any means, it is absolutely transparent there.
item 2. If you're working on a form project and you're asking this question, you're most likely a Junior.
What are the solutions? Standard controls can store their state. Or you reset it or drive the user through the bowels. The second solution is UpdatePanel and ScriptManager. AJAX update of a page segment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question