Shilpa

Shilpa

  • NA
  • 1
  • 0

Dynamically updating a control.

Jun 3 2009 2:43 PM

Hi All,
I have created a User control(ProgressBar). I called that ctrl in .aspx page.
When I click on a link, I am opening this window and trying to increment the Progress value In the user control.
There is a function called ResetUsers() in a .cs file. Based on the number of users in the function I want to update in the User control..In foreach ...I will get the number of users.. like 1 out of 10...2 out of 10...3 out of 10...I have declared 1 global variable in .cs file and trying to increment the value
I am calling the function in the .aspx.cs file...
How to get that incremented values parallely to update in the control...
I think it is possible through Delegates. But I dont know hpw to use it..
Please help me out...It is much appreciated.