title: RadGrid ItemDataBound Event Causes Another Event to be Ignored
body: <p>I have a user control that contains a RadGrid and a RadToolBar control (below).</p>
  
  <pre><code>&lt;telerik:RadToolBar ID="RadToolBar1" runat="server" Skin="Web20" style="width:100%;" OnButtonClick="RadToolBar1_ButtonClick"&gt;
      &lt;Items&gt;
          &lt;telerik:RadToolBarButton ImageUrl="~/[path_omitted]/SaveRadToolBar1.png" Text="Save" ToolTip="Save" /&gt;
      &lt;/Items&gt;
  &lt;/telerik:RadToolBar&gt;
  
  
  &lt;telerik:RadGrid ID="RadGrid1" runat="server" Skin="Vista" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource"&gt; 
      &lt;MasterTableView CommandItemDisplay="None" Height="30" DataKeyNames="ID" ClientDataKeyNames="ID" GroupLoadMode="Client" NoMasterRecordsText="You do not have any data"&gt; 
          &lt;GroupByExpressions&gt; 
              &lt;telerik:GridGroupByExpression&gt; 
                  &lt;GroupByFields&gt; 
                      &lt;telerik:GridGroupByField FieldName="Topic.Category.Name" /&gt; 
                  &lt;/GroupByFields&gt; 
                  &lt;SelectFields&gt; 
                      &lt;telerik:GridGroupByField FieldName="Topic.Category.Name" HeaderText="Category" /&gt; 
                  &lt;/SelectFields&gt; 
              &lt;/telerik:GridGroupByExpression&gt; 
          &lt;/GroupByExpressions&gt; 
  
          &lt;Columns&gt; 
              &lt;telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="DataID" Visible="false" /&gt;
              &lt;telerik:GridBoundColumn DataField="Topic.ID" UniqueName="DataTopicID" Visible="false" /&gt;
              &lt;telerik:GridBoundColumn DataField="Topic.Category.Name" HeaderText="Name" UniqueName="DataCategoryName" Visible="false" /&gt; 
              &lt;telerik:GridBoundColumn DataField="Topic.Name" HeaderText="Topic" UniqueName="DataTopicName" /&gt; 
              &lt;telerik:GridTemplateColumn HeaderText="Go" UniqueName="DataGoTo" HeaderStyle-Width="50"&gt; 
                  &lt;ItemTemplate&gt; 
                      &lt;asp:Button ID="ButtonGoTo" runat="server" ToolTip="Go to data" Text="Go" /&gt; 
                  &lt;/ItemTemplate&gt; 
              &lt;/telerik:GridTemplateColumn&gt; 
          &lt;/Columns&gt; 
      &lt;/MasterTableView&gt; 
  &lt;/telerik:RadGrid&gt; 
  </code></pre>
  
  <p>The RadToolBar ButtonClick event inits a postback to save the contents of the page (the page contains other controls such as drop down list , text box, etc. but none are related to the issue I am having). With the above code everything works as expected (the RadToolBar ButtonClick event handler get called and the content on the page is saved). </p>
  
  <p>The problem occurs when I add an event handler for the RadGrid's ItemDataBound event (see below). </p>
  
  <pre><code>&lt;telerik:RadGrid ID="RadGrid1" runat="server" Skin="Vista" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound"&gt; 
      &lt;MasterTableView CommandItemDisplay="None" Height="30" DataKeyNames="ID" ClientDataKeyNames="ID" GroupLoadMode="Client" NoMasterRecordsText="You do not have any data"&gt; 
          &lt;GroupByExpressions&gt; 
              &lt;telerik:GridGroupByExpression&gt; 
                  &lt;GroupByFields&gt; 
                      &lt;telerik:GridGroupByField FieldName="Topic.Category.Name" /&gt; 
                  &lt;/GroupByFields&gt; 
                  &lt;SelectFields&gt; 
                      &lt;telerik:GridGroupByField FieldName="Topic.Category.Name" HeaderText="Category" /&gt; 
                  &lt;/SelectFields&gt; 
              &lt;/telerik:GridGroupByExpression&gt; 
          &lt;/GroupByExpressions&gt; 
  
          &lt;Columns&gt; 
              &lt;telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="DataID" Visible="false" /&gt;
              &lt;telerik:GridBoundColumn DataField="Topic.ID" UniqueName="DataTopicID" Visible="false" /&gt;
              &lt;telerik:GridBoundColumn DataField="Topic.Category.Name" HeaderText="Name" UniqueName="DataCategoryName" Visible="false" /&gt; 
              &lt;telerik:GridBoundColumn DataField="Topic.Name" HeaderText="Topic" UniqueName="DataTopicName" /&gt; 
              &lt;telerik:GridTemplateColumn HeaderText="Go" UniqueName="DataGoTo" HeaderStyle-Width="50"&gt; 
                  &lt;ItemTemplate&gt; 
                      &lt;asp:Button ID="ButtonGoTo" runat="server" ToolTip="Go to data" Text="Go" /&gt; 
                  &lt;/ItemTemplate&gt; 
              &lt;/telerik:GridTemplateColumn&gt; 
          &lt;/Columns&gt; 
      &lt;/MasterTableView&gt; 
  &lt;/telerik:RadGrid&gt; 
  
  protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
  { 
      if (e.Item is GridDataItem) 
      { 
          GridDataItem dataItem = e.Item as GridDataItem; 
          (dataItem["DataGoTo"].FindControl("ButtonGoTo") as Button) 
              .PostBackUrl = String.Format( 
                  "~/ShowData.aspx?id={0}", 
                  dataItem["DataTopicID"].Text); 
      } 
  }
  </code></pre>
  
  <p>I use this handler to set the PostBackUrl of an Button control (I do it on this event because I need the ID of the RadGrid's row content). The problem is that the RadToolBar ButtonClick event handler doesn't get called anymore. </p>
  
  <p>With everything working, the event sequence is: Load -> NeedDataSource -> ButtonClick. After adding the ItemDataBound event the sequence is Load -> NeedDataSource -> ItemDataBound (the ButtonClick event gets "ignored"). </p>
  
  <p>Why does adding the ItemDataBound event in the RadGrid affect the ButtonClick event in the RadToolBar? How can I get the ButtonClick event to "not be ignored" while still maintaining the ItemDataBound event?</p>
  
  <p>Thanks.</p>