SOLVED
Since I had code in ASCX ID was prepended with additional ID for ASCX
itself.
Changing Page.FindControl to this.FindControl cured problem.
"Ivan Demkovitch" <> wrote in message
news:...
> Hi!
>
> I have following problem:
>
> When I create control dynamically and assign ID to it it get's changed if
> you look at output HTML.
>
> Because I add this control inside ascx it is prefixed with something like
> "ctl0_". Therefore FindControl is not working...
>
> How to deal with this?
>
> Thanks!
>
>
>
|