Conditionally trigger a full page postback from a link button inside an update panel
<p>How do I conditionally trigger a full page postback from a link button inside of an update panel?</p>

<p>I have a custom control that contains its own updatepanel with a link button nested inside of  it. When the link button is pressed I want its event handler to have the option of either letting the control update as normal or doing a full postback on the page.</p>

<p><strong>Here is the control hierarchy:</strong></p>

<pre><code>Page
  Custom Control
    UpdatePanel
      LinkButton
</code></pre>

<p><strong>Event handler Pseudo code:</strong></p>

<pre><code>LinkButton Click Handler Begin
    If is a partial post back AND a full postback is needed
        Page.DoFullPostback 
    End If
End Handler
</code></pre>

<p><strong>Note:</strong> I aways need the partial postback to happen. I was considering injecting a <code>__DoPostback</code> in the controls markup but this seems hacky to me.</p>

<p>Thanks for your help!</p>
