Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

i have one asp page and one user control. there is a link on page and when i click on that link it will display pop up with that selected record.user control is in pop up.now i want id of that record in popup so i can fetch the data.

i had made a property on user control and assigning id value to that property in my aspx page. like

C#
<uc1:contactus ID="contactusCTL"  runat="server" RecordId='document.getElementById("<%=hdnid.ClientID%>").value' />


so basically how can i get the value of that ID in user control which in opening in model pop up?

thanks,
kk
Posted
Updated 1-Apr-12 22:13pm
v2
Comments
walterhevedeich 20-Apr-12 2:23am    
Can you also post the code where the opening of the modal popup takes place?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900