Ok, after searching on how to do this and trying many different ways and failing, I finally got something working. So, I decided to post it here to help anyone else that might be trying to do the same thing. If anyone sees a better way to do this then please let me know.
I want to populate an update panel with addresses so I use a repeater. I want the user to click a link and that causes a modal popup to appear for the user to enter thier address so that they can get driving directions to the address listed in the Repeater. I needed a way to get the address the user was driving to, to also be inside the modal popup because I need to pass it along later. The reason the list of addresses are in an updatepanel are for paging purposes. I've used a simple version of the repeater in this example though.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<form id="Form1" method="post" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="myMainPanel" runat="server" EnableViewState=false>
<asp:Repeater ID="rptItems" runat="server" EnableViewState=false>
View Complete Post