Is there a way to determine the parent radwindow of a rad button contained in a contenttemplate in client-side javascript?
e.g. if I have two radwindows, each with a radbutton, and each radbutton calls a common OnClientClicking event, is there a way to determine the parent window from the button object in the common code?
<telerik:radWindow runat="server" ID="radwindow1"> <contenttemplate> <telerik:radbutton id="radbutton1" runat="server" onclientclicking="CommonFunction" /> </contenttemplate></telerik:radwindow><telerik:radWindow runat="server" ID="radwindow2"> <contenttemplate> <telerik:radbutton id="radbutton2" runat="server" onclientclicking="CommonFunction" /> </contenttemplate></telerik:radwindow><script>function CommonFunction(button, eventArgs) { var radWindow = ...how to determine which radwindow from the button element? ...}</script>