is it possible to include some server-side code, within a script
runat="server" tag, within an mdo:asp section?
I'm trying to implement an init function for a radgrid (see
http://www.telerik.com/help/aspnet-ajax/grid-reducing-filtermenu-options.html), by including a script tag with server-side code within my mdo:asp section:
<mdo:asp xmlns:asp="asp" xmlns:telerik="telerik">
protected void RadGrid1_Init(object sender, System.EventArgs e)
where of course I have my Radgrid1 radgrid defined and working properly. Looks like my init function is never called (also tested with a simple Page_Load function).
Is it possible to do something like this, or should I move my code to external files?