You may use javascript to do this. Browse the source page to find what ids are generated by these textboxes. Suppose that submit button's id is Button1, then try
<script>
document.getElementById('Button1').onclick = function () {
var newsletter = document.getElementById('newsletter');
var txtFields1 = document.getElementById('txtFields1');
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: How do I get a value from an asp:textbox into an asp:textbox in a modal window.
Feb 24, 2012 01:46 AM|LINK
Hello
You may use javascript to do this. Browse the source page to find what ids are generated by these textboxes. Suppose that submit button's id is Button1, then try
<script>
document.getElementById('Button1').onclick = function () {
var newsletter = document.getElementById('newsletter');
var txtFields1 = document.getElementById('txtFields1');
txtFields1.value = newsletter.value;
return false;
}
</script>
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework