Open a radwindow when click node?

2 posts, 1 answers
  1. Maksut
    Maksut avatar
    5 posts
    Member since:
    Jan 2012

    Posted 01 Jun 2012 Link to this post

    Hi i am using a sitemap. 

    My code is;

    <telerik:RadSiteMap ID="RadSiteMap1" Runat="server"
                Skin="WebBlue" Font-Bold="True"
                Font-Names="Arial" Font-Size="10pt" Font-Strikeout="False" Height="254px">
                <defaultlevelsettings>
                    <listlayout repeatcolumns="3" />
    <ListLayout RepeatColumns="3"></ListLayout>
                </defaultlevelsettings>
                <levelsettings>
                    <telerik:SiteMapLevelSetting>
                        <listlayout repeatcolumns="3" />
    <ListLayout RepeatColumns="3" alignrows="True"></ListLayout>
                    </telerik:SiteMapLevelSetting>
                </levelsettings>
                <DataBindings>
                    <telerik:RadSiteMapNodeBinding ImageUrlField="NODE_IMG"
                        NavigateUrlField="NODE_LINK" TextField="NODE_SUBJ" ToolTipField="NODE_DESC"
                        ValueField="NODEID_2" />
                </DataBindings>
            </telerik:RadSiteMap>

    and 

    protected void Page_Load(object sender, EventArgs e)
          {
              OleDbDataAdapter da = new OleDbDataAdapter("Select * from nodes order by node_subj", conn);
              DataTable dt = new DataTable();
              da.Fill(dt);
              RadSiteMap1.DataSource = dt;
              RadSiteMap1.DataBind();
     
     
     
          }

    The page is redirect when i  click the any node. it's oke. But how to open a radwindow when the node is clicked. 

    Sorry for my english. 

    Thanks 



  2. Answer
    jumpstart
    jumpstart avatar
    479 posts
    Member since:
    Nov 2011

    Posted 05 Jun 2012 Link to this post

    Maksut:

    You will find a Telerik Admin demo application that provides a way to open a RadWindow on a SiteMap node client-side click event in this forum thread: Node Click event to open radwindow

    I hope this helps you!
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top