Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

retaining variable values in ajax controls

$
0
0

I have a small web project in which I created a user control that employes ajax.  The control consists of a couple buttons ("Previous" and "Next") and two text boxes that are populated with data contained in a List data structure.  As the user clicks "Previous" or "Next" the iterator decrements or increments accordingly and the text boxes are repopulated.  I have been using a Session variable to this point, but have decided that for my display to be more user friendly, I need to put the control in one colum of a table (or datagrid), and it will be used many times on the page, so the Session variable will no longer be a useable means for tracking the iterator value (since they will all be using the same session variable).

 

I was hoping someone might have a recommendation on how to go about doing this.  I don't think View State is viable either.

Thanks,


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>