RadGrid in PanelBar

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 30 Mar 2013 Link to this post

    Hi

    This is my first use of thiscontrol and this is my second problem with it breaking  I have another un resolve post.

    I have a panel with a Radgrid. If I have the following ClientSetting on the grid, the panels stop working.

    Any Ideas
    <ClientSettings>

     

     

    <ClientEvents OnRowDeselected="onRowDeselected" />

     

    </ClientSettings>

    Andy

  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 02 Apr 2013 Link to this post

    Hello Andy,

    I tested the following code and added a very simple function to the ClientEvents-OnRowDeselected client-side event, but I was not able to get the behavior that you describe. Below you can find the code that I used for testing purpose. Can you please modify it in a way that it demonstrates the issue that you are getting and send it back to me for further investigation?

    javascript:
    <script>
         function onRowDeselected() {
     
         }
     </script>

    markup:
    <telerik:RadPanelBar runat="server" ID="panelbar1">
                  <Items>
                      <telerik:RadPanelItem Text="item1">
                          <ContentTemplate>
                              <telerik:RadGrid runat="server" ID="Grid1">
                                  <ClientSettings ClientEvents-OnRowDeselected="onRowDeselected"></ClientSettings>
                              </telerik:RadGrid>
                          </ContentTemplate>
                      </telerik:RadPanelItem>
                      <telerik:RadPanelItem Text="item2">
                          <Items>
                              <telerik:RadPanelItem Text="item1"></telerik:RadPanelItem>
                              <telerik:RadPanelItem Text="item2"></telerik:RadPanelItem>
                              <telerik:RadPanelItem Text="item3"></telerik:RadPanelItem>
                              <telerik:RadPanelItem Text="item4"></telerik:RadPanelItem>
                          </Items>
                      </telerik:RadPanelItem>
                      <telerik:RadPanelItem Text="item3">
                      </telerik:RadPanelItem>
                      <telerik:RadPanelItem Text="item4"></telerik:RadPanelItem>
                      <telerik:RadPanelItem Text="item5"></telerik:RadPanelItem>
                      <telerik:RadPanelItem Text="item6"></telerik:RadPanelItem>
                      <telerik:RadPanelItem Text="item7"></telerik:RadPanelItem>
     
                  </Items>
              </telerik:RadPanelBar>

    Regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top