𝓣𝓱𝓪𝓻𝓷𝓮𝔂
Splitting percentage between X rows
I have a table with X elements, each row has a TrackBar (0-100 value) and i need to split the remaining percentage between the next trackbars.
eg. 4 rows, i set 70% at the first, other trackbars will be 10%.
4 rows, i set the 2nd at 20%, the remaining two will be 5%.
I am developing in ASP.Net WebForms. The problems are: OnValueChanged event i get the previosu value, not the one i just moved the handle to.
After setting the other TrackBars' value, these will trigger an OnValueChanged event.
The bigger issue is to move in the PostBack steps. Could anyone suggest me a way to do so?
5 replies