Velocity Reviews

Velocity Reviews (
-   ASP .Net Building Controls (
-   -   Accesing embedded controls?? (

ozgur develioglu 07-21-2003 06:57 AM

Accesing embedded controls??

I've a DropDownList in the header part of a template column, but I can't
learn what value is selected with it. Here is my code:

<HeaderStyle BorderWidth="1px"
<asp:DropDownList id="ddlPageItemCount" runat="server"
Width="40px" OnSelectedIndexChanged="deneme"
<asp:ListItem Value="10"></asp:ListItem>
<asp:ListItem Value="20"></asp:ListItem>
<asp:ListItem Value="50"></asp:ListItem>

I've tried:
DropDownList ddl= (DropDownList) FindControl("ddlPageItemCount");

but ddl becomes null;
Please help!!!

All times are GMT. The time now is 04:24 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.