J
Jason .
I have a user control on page1.aspx that contains 4 listboxes. When I
click the submit button, I am doing a Server.Transfer to page2.aspx. On
page2.aspx I have the same usercontrol. On page2.aspx when I submit the
form it submits it back to the same page. My problem is that the
control names on my usercontrol change when I use the server.transfer -
i.e. usercontrol:lstCountry changes to usercontrol:lstCountry1. The
only way to get the variable name is to determine where the page is
being submitted from and then set the form variables. Is there an
easier way?
click the submit button, I am doing a Server.Transfer to page2.aspx. On
page2.aspx I have the same usercontrol. On page2.aspx when I submit the
form it submits it back to the same page. My problem is that the
control names on my usercontrol change when I use the server.transfer -
i.e. usercontrol:lstCountry changes to usercontrol:lstCountry1. The
only way to get the variable name is to determine where the page is
being submitted from and then set the form variables. Is there an
easier way?