G
Guest
Hello,
I have a repeater control with a placeholder inside ItemTemplate.
myRpt_ItemDataBound() event adds dropdown conrol (drpCntlr.ID = ControlX) to
a place holder.
Then on postback, I want to read this value selected by a user:
drpX = (DropDownList)rptSelect.Items.FindControl("ControlX");
but drpX is null.
How can I get the value of a control which was added dynamically to a
placeholder?
Thank you
I have a repeater control with a placeholder inside ItemTemplate.
myRpt_ItemDataBound() event adds dropdown conrol (drpCntlr.ID = ControlX) to
a place holder.
Then on postback, I want to read this value selected by a user:
drpX = (DropDownList)rptSelect.Items.FindControl("ControlX");
but drpX is null.
How can I get the value of a control which was added dynamically to a
placeholder?
Thank you