Actually i am performing a task like dynamic controls generation and when i delete the last created dynamical generated controls by delete button.
I am performing the delete operation using JavaScript.
While I am creating the controls,the session value gets incremented.
Now, I need to decrement the value of session when i perform the delete operation through JavaScript.
Actually i am performing a task like dynamic controls generation and when i delete
Share
Session variables are
maintained on server sideand you can not access them on client using javascript. You need to send request to server. You need to dopostback or send ajaxcall to change (decrement) session variables.