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

Update panel does not work inside formview?

$
0
0

I have a simple formview that binds to a SQL database. This formview is used for adding new records only since its default view is Insert. For simplicity I put one label and one bound textbox inside the insert item template. All works fine. However, if I put an update panel inside the formview's insert item template the formview's update method fails becuase of a null value. If I look at the text property of my bound textbox right before the update I can see the value just added. So it appears the control has the value but it's almost as if the data binding has been broken. Of course if I remove the update panel everything works fine. If I put the entire formview inside an update panel it works fine, too. But since I will want to trigger my update panel off a particular control inside the insert item template, the update panel must be inside the template. I've seen a few similar posts on the net but no answers. Is this at all possible???


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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