title: how can I implement a user control's method outside user control?
body: <p>Say I have a user control(SubmitButton) having a submit button that when a user clicked on, I want the control, which contains a SubmitButton instance, decide the behavior of submit button.</p>
  
  <p>I have tried the following in the user control .cs file:</p>
  
  <pre><code>    protected void nextPage_Click(object sender, EventArgs e) {
  
          submitData();
  
          Response.Redirect("completed.aspx");
      }
  
      protected abstract void submitData();
  </code></pre>
  
  <p>But I don't know where the submitData method should be implemented.</p>
  
  <p>It's like a place holder for method.</p>