Hi there,
I'm using version 2011.1.413.40.
The test_DockPositionChanged event here fires if solely defined in the aspx.
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<telerik:RadDockZone ID="RadDockZoneToolBox" runat="server" Height="200px" Width="100%" BorderStyle="Dotted" BorderColor="Red" FitDocks="false" Orientation="Horizontal">
<telerik:RadDock ID="test" runat="server" AutoPostBack="true" OnDockPositionChanged="test_DockPositionChanged"></telerik:RadDock>
</telerik:RadDockZone>
</telerik:RadDockLayout>
However if it is defined programmatically in code it does not fire at all.
protected void Page_Load(object sender, EventArgs e)
{
test.DockPositionChanged += new DockPositionChangedEventHandler(test_DockPositionChanged);
}
void test_DockPositionChanged(object sender, DockPositionChangedEventArgs e)
{
// Does not fire
}
Is this a bug or am I attaching the event at the wrong stage in the control creation life cycle?
I'm using version 2011.1.413.40.
The test_DockPositionChanged event here fires if solely defined in the aspx.
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<telerik:RadDockZone ID="RadDockZoneToolBox" runat="server" Height="200px" Width="100%" BorderStyle="Dotted" BorderColor="Red" FitDocks="false" Orientation="Horizontal">
<telerik:RadDock ID="test" runat="server" AutoPostBack="true" OnDockPositionChanged="test_DockPositionChanged"></telerik:RadDock>
</telerik:RadDockZone>
</telerik:RadDockLayout>
However if it is defined programmatically in code it does not fire at all.
protected void Page_Load(object sender, EventArgs e)
{
test.DockPositionChanged += new DockPositionChangedEventHandler(test_DockPositionChanged);
}
void test_DockPositionChanged(object sender, DockPositionChangedEventArgs e)
{
// Does not fire
}
Is this a bug or am I attaching the event at the wrong stage in the control creation life cycle?