Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Get value from dynamic controls in update panel

$
0
0

I have dynamically created some controls in an update panel and I then click a button. I wish to get the values entered in these controls but I get nothing. I'm currently trying:

Dim Active As New CheckBox
Active = DirectCast(UpdatePanel1.ContentTemplateContainer.FindControl("ActiveChk" & i), CheckBox)

Can anybody help?


Viewing all articles
Browse latest Browse all 23244

Trending Articles



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