Hi ,
Plzz go through the attachment.. I have a modal pop up extender for a panel control which has textboxes.. When user enters data and clicks ok I want the all the textbox values in the txtaddress.text.. Plzz help
Modal Pop up control problem
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Suthish NairRank #92 · 22.8K reputationPosted Jul 29, 2011, 11:54 AM EDT
Try this way.. convert to c#
Dim address as string = txtstreet1.Text & "" & txtstreet2.Text & "" & drpcity.SelectedItem.Text & "" & drpcountry.SelectedItem.Text & "" & drpstate.SelectedItem.Text & "" & Convert.ToInt32(txtzipcode.Text)
Dim s As String = String.Format("document.getElementById('{0}').value='{1}';", txtaddress.ClientID, address)
B M SuchitraRank #2,922 · 492 reputationPosted Jul 31, 2011, 7:43 PM EDT
Sir will this work for ok button click of the modal pop up extender. Actually the requirement is like that and i am supposed to do it that way. But at the ok button click i lose the values.. I want those all textbox values in one text box ie the txtaddress.text.