ControlParameter ControlID

D

David C

Is it possible to refer to a ControlID that is inside a FormView? If so,
what is syntax? I tried to reference it just by the controlid and it
created an exception with the message
Could not find control 'ddlNewPropRoleID' in ControlParameter 'RoleID'.

Thanks.

David
 
G

Guest

Howdy,

<asp:ControlParameter
Name="RoleID"ControlID="YourFormViewID$ddlNewPropRoleID" />

Hope this helps
 
D

David C

Thank you Thank you Thank you

Milosz Skalecki said:
Howdy,

<asp:ControlParameter
Name="RoleID"ControlID="YourFormViewID$ddlNewPropRoleID" />

Hope this helps
 
B

BND

Thanks mily24. I have been searching the solution for 24 hours. That helped me :)
It works now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top