title: Working with Telerik RadGrid
body: <p>I have a Rad combo box and a 2 RadGrids - grvUser and grvRole</p>
  
  <p>grvUser RadGrid is as follows...</p>
  
  <pre><code>&lt;telerik:RadGrid ID="grvUser" runat="server" EnableEmbeddedSkins="False"  Skin="skn_RadGrid" SkinsDir="|CurrentTheme|/" SkinsPath="|CurrentTheme|/"
              OnItemCreated="grvUser_ItemCreated" OnItemCommand="grvUser_ItemCommand" OnItemDataBound="grvUser_ItemDataBound" OnNeedDataSource="grvUser_NeedDataSource" GroupHeaderItemStyle-CssClass="rgGroupPanel"&gt;
              &lt;MasterTableView TableLayout="Fixed" OverrideDataSourceControlSorting="true" NoMasterRecordsText ="No Records Found, Please Refine Search To Display "&gt; 
                  &lt;Columns&gt;
                      &lt;telerik:GridBoundColumn FilterControlAltText="Filter column column" DataField="UserId"
                          UniqueName="UserId" HeaderText="User Id" HeaderStyle-Width="120px" FilterControlWidth="70px"
                          AutoPostBackOnFilter="true"&gt;
                      &lt;/telerik:GridBoundColumn&gt;
                      &lt;telerik:GridBoundColumn FilterControlAltText="Filter column column" DataField="UserName" AllowFiltering="true" ShowFilterIcon="true"
                          UniqueName="UserName" HeaderText="User Name" HeaderStyle-Width="120px" FilterControlWidth="70px"
                          AutoPostBackOnFilter="true"&gt;
                      &lt;/telerik:GridBoundColumn&gt;
                  &lt;/Columns&gt;
              &lt;/MasterTableView&gt;
              &lt;/telerik:RadGrid&gt;
  </code></pre>
  
  <p>grvRole RadGrid is as follows...</p>
  
  <pre><code>&lt;telerik:RadGrid ID="grvRole" runat="server" EnableEmbeddedSkins="False"  Skin="skn_RadGrid" SkinsDir="|CurrentTheme|/" SkinsPath="|CurrentTheme|/"
              OnItemCreated="grvRole_ItemCreated" OnItemCommand="grvRole_ItemCommand" OnItemDataBound="grvRole_ItemDataBound" OnNeedDataSource="grvRole_NeedDataSource" GroupHeaderItemStyle-CssClass="rgGroupPanel"&gt;
              &lt;MasterTableView TableLayout="Fixed" OverrideDataSourceControlSorting="true" NoMasterRecordsText ="No Records Found, Please Refine Search To Display "&gt; 
                  &lt;Columns&gt;
                      &lt;telerik:GridBoundColumn FilterControlAltText="Filter column column" DataField="RoleId"
                          UniqueName="RoleId" HeaderText="Role Id" HeaderStyle-Width="120px" FilterControlWidth="70px"
                          AutoPostBackOnFilter="true"&gt;
                      &lt;/telerik:GridBoundColumn&gt;
                      &lt;telerik:GridBoundColumn FilterControlAltText="Filter column column" DataField="RoleName" AllowFiltering="true" ShowFilterIcon="true"
                          UniqueName="RoleName" HeaderText="Role Name" HeaderStyle-Width="120px" FilterControlWidth="70px"
                          AutoPostBackOnFilter="true"&gt;
                      &lt;/telerik:GridBoundColumn&gt;
                  &lt;/Columns&gt;
               &lt;/MasterTableView&gt;
              &lt;/telerik:RadGrid&gt;
  </code></pre>
  
  <p>Code for RadComboBox is as follows...</p>
  
  <pre><code>&lt;telerik:RadComboBox ID="ddlType" runat="server" DataValueField="Description"
                          DataTextField="Description" Text="(Select)" AllowCustomText="True" Width="200px"
                          OnClientDropDownClosed="onDropDownClosing1"  Skin="Default"&gt;
                          &lt;ItemTemplate&gt;
                              &lt;div onclick="StopPropagation(event)" class="combo-item-template" onmousemove=""&gt;
                                  &lt;asp:CheckBox runat="server" ID="chk1" onclick="onStatusChecked(this)" /&gt;
                                  &lt;asp:Label runat="server" ID="Label1" AssociatedControlID="chk1"&gt;
                                &lt;%# Eval("Description")%&gt;
                                  &lt;/asp:Label&gt;
                              &lt;/div&gt;
                          &lt;/ItemTemplate&gt;
                          &lt;HeaderTemplate&gt;
                              &lt;asp:CheckBox ID="ChckAll" Text="(Check All)" runat="server" OnClick="checkAllStatus(this)" /&gt;
                          &lt;/HeaderTemplate&gt;
                      &lt;/telerik:RadComboBox&gt;
  </code></pre>
  
  <p>The <code>ddlType</code> RadComboBox contains 2 values. 1 is User and 2 is Role. By default "User" is selected and such that <code>grvUser</code> will be  displayed. If the user selects Role, then we need to display <code>grvRole</code> defined in the aspx page.</p>
  
  <p>How can I fire onchange event for RadComboBox and display proper RadGrid either User or Role? </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Implementation in jQuery is Ok for me.</p>