where is the implementation of this function of OKButton_Click event?


  • In the following code ,there is a OKButton_Click event, I wonder where is the implementation of this function?


    <wssuc:ButtonSection ShowStandardCancelButton="false" runat="server">
                    <asp:Button runat="server" class="ms-ButtonHeightWidth" OnClick="OKButton_Click" Text="<%$Resources:wss,multipages_okbutton_text%>" id="bottomOKButton" accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
                    <asp:Button runat="server" class="ms-ButtonHeightWidth" OnClick="CancelButton_Click" Text="<%$Resources:wss,multipages_cancelbutton_text%>" id="bottomCancelButton" accesskey="<%$Resources:wss,cancelbutton_accesskey%>"/>
    Thursday, August 07, 2008 6:35 PM


  • Look at the @Page directive at the top of the page. There should be a reference to the class which contains the code behind of the application page you're looking at. If it's a SharePoint class (starts with Microsoft.SharePoint) the only way to see the code is to reflect it using for example .NET Reflector.
    Thursday, August 07, 2008 7:27 PM