RadTreeView selectenode auotpostback

4 posts, 0 answers
  1. Rubihno
    Rubihno avatar
    86 posts
    Member since:
    Jun 2008

    Posted 29 Sep 2008 Link to this post

    Hi,

    I have changed the treeview asp.net 2.0 with a RadTreeView, i have populate the control using the sql data tables.

    Table ClassRoom (radTreeview)

    ID_Classroom
    Name

    I have a gridview Reservation that works with sqldatasoruce ( table reservation)

    Table Reservation

    ID
    Subject
    Start
    End
    Recurrence_rula
    Data_storage
    ID_Classrom

    in sqldatasource Reservation i have set a select query -> name (ID_Classroom) value (RadTreeView1.SelectedValue) parameter source (Control) ControlID (RadTreeview1)

    When i click a node classroom there isn't a autoposback, and don't filter the gridview reservation by ID_Classroom

    With treeview asp.net 2.0 there is autopostback when i select a node...

    how i make to selectnode to treeview and filter a gridview?
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 30 Sep 2008 Link to this post

    Hello Rubihno,

    You need to subscribe to the NodeClick event.

    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Rubihno
    Rubihno avatar
    86 posts
    Member since:
    Jun 2008

    Posted 30 Sep 2008 Link to this post

    I must change the configuration into sqldatasource reservation?

    How i make to view a gridview or a scheduler if i select node classrom?
  4. Rubihno
    Rubihno avatar
    86 posts
    Member since:
    Jun 2008

    Posted 01 Oct 2008 Link to this post

    I want to filter radgrid or scheduler reservation when i select node on Radtreeview (node value -> ID_Classroom -> node.text -> Name)

    The sqldatasource reservation of radgrid is correct, i set control and parameter, but don't run autopostback on treeview, another possibility?i don't know how make on nodeclick..
Back to Top