开发者

Event not firing in nested components in Prado ? (Attached with an invalid event handler )

I have a TDataList that has a XActiveDataGrid inside it. In XActiveDataGrid, there is a TDropDownList. I want to fire an action if the user change the selectedindex of the dropdownlist but it doesnt work. Thats my TDropDownList

开发者_运维技巧
   <com:TTemplateColumn Id="Reminder" HeaderText="Reminder" HeaderStyle.Width="20%" >
            <prop:ItemTemplate >
                <com:TDropDownList CssClass="combobox4" ID="ReminderDropdown" AutoPostBack="true" OnSelectedIndexChanged="Page.SourceTemplateControl.ChangeReminder" 
                 SelectedValue="<%# $this->parent->DataItem['Reminder'] %>">
                    <com:TListItem Text="No Reminder" Value="No Reminder" />
                    <com:TListItem Text="1 week" Value="1 week" />
                    <com:TListItem Text="2 weeks" Value="2 weeks" />
                    <com:TListItem Text="1 month" Value="1 month" />
                    <com:TListItem Text="2 months" Value="2 months" />
                </com:TDropDownList>
            </prop:ItemTemplate>
        </com:TTemplateColumn>    

Thanks in advance,


I guess the problem is that the events of the dynamicly created controls arn't registered, may THIS helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜