364,032 Members | 4687 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

ControlParameter ControlID

David C
P: n/a
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


Jun 27 '07 #1
Share this Question
Share on Google+
2 Replies


=?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
P: n/a
=?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
Howdy,

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

Hope this helps
--
Milosz


"David C" wrote:
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
>
>
>
Jun 27 '07 #2

David C
P: n/a
David C
Thank you Thank you Thank you

"Milosz Skalecki [MCAD]" <mily242@DONTLIKESPAMwp.plwrote in message
news:4FD01A40-B72C-498C-90B4-D08F2F3AB53A@microsoft.com...
Howdy,
>
<asp:ControlParameter
Name="RoleID"ControlID="YourFormViewID$ddlNewPropR oleID" />
>
Hope this helps
--
Milosz
>
>
"David C" wrote:
>
>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
>>
>>
>>

Jun 28 '07 #3

Post your reply

Help answer this question



Didn't find the answer to your ASP.NET question?

You can also browse similar questions: ASP.NET