ControlParameter ControlID

  • Thread starter Thread starter David C
  • Start date Start date
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
 
Howdy,

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

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