Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
47 views
Good day,

I have the following drawbacks: I have a RadTreeView check where I put them, but the only ones that should be checked are the last level records. the RadTreeView is populated dynamically, it is not known how many levels you may have.

I wonder how I can determine when performing bone click a node in the event "OnNodeClick" if you are in the last level?
and searches for node propiedas this event but I can only determine who the father but not if you have children.

Thanks for your help
Princy
Top achievements
Rank 2
 answered on 20 Sep 2012
3 answers
240 views
HI,

I am using Rad Tree view where i want to highlight the selected node.
Here is my code.On each rad tree node i have a navigation URL.

 <telerik:RadTreeView ID="TreeMail" runat="server" Skin="Vista" OnNodeClick="TreeMail_NodeClick"  CausesValidation="false" >
                                                <Nodes>
                                                    <telerik:RadTreeNode  Value="_New" AllowEdit="false"  NavigateUrl="../WebsiteManagement/AddRegistration.aspx" ImageUrl="../Images/new.gif"
                                                        Text="New Mail" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode  Value="_Private_Drafts" AllowEdit="false"  NavigateUrl="../MailFolders/Drafts.aspx" ImageUrl="../Images/Drafts.gif"
                                                        Text="Drafts" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode Value="_Private_DeletedItems"  NavigateUrl="../MailFolders/DeletedItems.aspx" ImageUrl="../Images/Deleted Items.gif"
                                                        AllowEdit="false" Text="Deleted Items" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode Value="_Private_Inbox" AllowEdit="false" Text="Inbox"  NavigateUrl="../MailFolders/Inbox.aspx" ImageUrl="../Images/Inbox.gif"
                                                        Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                    <telerik:RadTreeNode Value="_Private_SentItems" AllowEdit="false" Text="Sent Items" NavigateUrl="../MailFolders/SentItems.aspx"
                                                        ImageUrl="../Images/Sent Items.gif" Font-Bold="true">
                                                    </telerik:RadTreeNode>
                                                </Nodes>
                                            </telerik:RadTreeView>
How can i do this? Plz help as early as possible.
Thanks.
Aarsh
Top achievements
Rank 1
 answered on 19 Sep 2012
1 answer
180 views
I am trying to use the radtabstrip/multipage and nothing happens when I click on a tab.  I copied your code from http://www.telerik.com/help/aspnet-ajax/tabstrip-multipage-integrate-with-tabstrip.html with no luck.  Here's the full source of my aspx page.  Any idea what might be happening?  I'm sure it's something that'll make me slap my forehead, but for the life of me I can't find it.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestTabs.aspx.cs" Inherits="TestTabs" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <h2>
            User Settings</h2>
        <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1"
            Skin="Outlook" CssClass="NoBg">
            <Tabs>
                <telerik:RadTab runat="server" Text="Root RadTab1" PageViewID="PageView1">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Root RadTab2" PageViewID="PageView2">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Root RadTab3" PageViewID="PageView3">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Width="400">
            <telerik:RadPageView ID="PageView1" runat="server">
                Name: John Smith<br />
                Birthday: October 20th 1976<br />
                Marital Status: Single
                <br />
            </telerik:RadPageView>
            <telerik:RadPageView ID="PageView2" runat="server">
                ... Content of the Pageview2 ...
            </telerik:RadPageView>
            <telerik:RadPageView ID="PageView3" runat="server" ContentUrl="http://www.telerik.com">
                This text is never shown
            </telerik:RadPageView>
        </telerik:RadMultiPage>
     </div>
    </form>
</body>
</html>

Laurie
Top achievements
Rank 2
 answered on 19 Sep 2012
1 answer
74 views
Ive run into an issue here, when i try to use the radopen JS function to open an external web page, it takes over the browser.  Please help.

Markup
<telerik:RadWindow ID="radWindowPeopleSoftEdit" runat="server" ShowContentDuringLoad="false"
MinWidth="800" Height="600" VisibleStatusbar="false" AutoSize="false" ReloadOnShow="true"
IconUrl="/global/images/edit.gif" VisibleOnPageLoad="false" Behaviors="Move, Close"
Overlay="true" Modal="true">
</telerik:RadWindow>

string script = "radopen('[External Site]','radWindowPeopleSoftEdit');";
imgPopUpEdit.Attributes.Add("onclick", script);

I have used this method to open windows in the past and it has worked.  All instances of the rad window that are internal pages work fine, it is just for external sites.

Thank you in advance
Chris Salas
Top achievements
Rank 1
 answered on 19 Sep 2012
2 answers
100 views
I had to use radComboxtBox and aspDD on the same page once. I observed that, for the same value of width they had different sizes. I it was pain to find each telerik combobox and make it 305 or sometimes even 308 or 310, to look same as asp:DD having 300 width.

[ all these widths are in px ]

Aarsh
Top achievements
Rank 1
 answered on 19 Sep 2012
4 answers
259 views
I've got a Radgrid with a single child table that is built programmatically on PageInit. I used your demo here as my guide. The master table cannot be edited, but you can insert new values into the child table. One of the columns in my master table is a checkbox column. I would like to pre-populate a child table checkbox when in edit mode depending on whether the master table column is checked or not. I'm looking at doing it in the EditMode_ItemDataBound event but I can't seem to get anything to stick.  Any suggestions?
Josh
Top achievements
Rank 1
 answered on 19 Sep 2012
1 answer
85 views
I have a form like this, and i show it with a radwindows.
  
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">  </telerik:RadAjaxLoadingPanel>
     
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
            
                        <asp:Label CssClass="label" ID="lblSedes" Text="Sede:" runat="server" />
                       <telerik:RadComboBox ID="ddlSedes" AutoPostBack="true" AllowCustomText="true" Filter="Contains" runat="server">
                         </telerik:RadComboBox>
                        <asp:Label CssClass="label" Text="Personal:" ID="lblPersonal" runat="server" />
                        <telerik:RadComboBox ID="ddlPersonal" AllowCustomText="true" Filter="Contains" runat="server">
                        </telerik:RadComboBox>
                        <asp:Label CssClass="label" ID="lblFecha" runat="server" Text=" Fecha:" />
                      <telerik:RadDatePicker runat="server" ID="txtFecha">
                        </telerik:RadDatePicker>
                        
     <asp:Button ID="btnGuardar" CssClass="btnGuardar" runat="server" Text="Guardar" />
<script type="text/javascript">
    function GetRadWindow()     
        {     
            var oWindow = null;     
            if (window.radWindow)
                oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog     
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;//IE (and Moz as well)     
            return oWindow;               
        }     
       function cerrar()     
        {     
              GetRadWindow().Close();
                if (!arg)
                    {
                       parent.refreshGrid();
                    }
                    else
                    {
                       parent.refreshGrid("RebindAndNavigate");
                    }  
        }           
    </script>
   </telerik:RadAjaxPanel>

                  
                 
               And when i try to close it from code behind , the code don't works  
 
ClientScript.RegisterStartupScript(Me.GetType(), "Nombre",  " <script>cerrar();</script>" False)


if I try without the RadAjaxLoadingPanel works well.

help please. i need close this windows
Marcelo
Top achievements
Rank 1
 answered on 19 Sep 2012
5 answers
94 views
I have a form like this, and i show it with a radwindows.
  
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">  </telerik:RadAjaxLoadingPanel>
     
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
            
                        <asp:Label CssClass="label" ID="lblSedes" Text="Sede:" runat="server" />
                       <telerik:RadComboBox ID="ddlSedes" AutoPostBack="true" AllowCustomText="true" Filter="Contains" runat="server">
                         </telerik:RadComboBox>
                        <asp:Label CssClass="label" Text="Personal:" ID="lblPersonal" runat="server" />
                        <telerik:RadComboBox ID="ddlPersonal" AllowCustomText="true" Filter="Contains" runat="server">
                        </telerik:RadComboBox>
                        <asp:Label CssClass="label" ID="lblFecha" runat="server" Text=" Fecha:" />
                      <telerik:RadDatePicker runat="server" ID="txtFecha">
                        </telerik:RadDatePicker>
                        
     <asp:Button ID="btnGuardar" CssClass="btnGuardar" runat="server" Text="Guardar" />
<script type="text/javascript">
    function GetRadWindow()     
        {     
            var oWindow = null;     
            if (window.radWindow)
                oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog     
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;//IE (and Moz as well)     
            return oWindow;               
        }     
       function cerrar()     
        {     
              GetRadWindow().Close();
                if (!arg)
                    {
                       parent.refreshGrid();
                    }
                    else
                    {
                       parent.refreshGrid("RebindAndNavigate");
                    }  
        }           
    </script>
   </telerik:RadAjaxPanel>

                  
                 
               And when i try to close it from code behind , the code don't works  
 
ClientScript.RegisterStartupScript(Me.GetType(), "Nombre"" <script>cerrar();</script>" , False)


if I try without the RadAjaxLoadingPanel works well.

help please. i need close this windows


Marcelo
Top achievements
Rank 1
 answered on 19 Sep 2012
0 answers
68 views
hi ,
kindly help me i have range date filter and i want to show the date inputs and pickers like the following 
from :dateinput {pickerbutton}
to:dateinput {pickerbutton} 
not inline display ,i want every picker in new line 
Ashraf
Top achievements
Rank 2
 asked on 19 Sep 2012
8 answers
213 views
I have a splitter that contains left, main and right panes.  The left pane contains a panelbar.  I want to use the actions in the panelbar to direct results to the main pane.  I'm using the code below.  Everything is opening in a new window.

<telerik:RadSplitter ID="spltBody" runat="server" Width="100%" BorderSize="0">
  <telerik:RadPane ID="paneLeft" runat="server" Width="200">
    <div style="margin: 0px 3px 0px 5px;">
      <telerik:RadPanelBar ID="pbarMenu" runat="server" Width="100%">
        <Items>
          <telerik:RadPanelItem runat="server" Selected="True" Text="About Us" 
            Expanded="true">
            <Items>
              <telerik:RadPanelItem runat="server" NavigateUrl="http://localhost/standards/default.aspx" 
                Target="<%= paneBody.ClientID %>" Text="Who We Are" Selected="true">
              </telerik:RadPanelItem>
              <telerik:RadPanelItem runat="server" NavigateUrl="corevalues.aspx" Target="<%= paneBody.ClientID %>" 
                Text="Core Values">
              </telerik:RadPanelItem>
            </Items>
          </telerik:RadPanelItem>
          <telerik:RadPanelItem runat="server" NavigateUrl="benefits.aspx" 
            Target="<%= paneBody.ClientID %>" Text="Benefits">
          </telerik:RadPanelItem>
          <telerik:RadPanelItem runat="server" NavigateUrl="careers.aspx" Target="<%= paneBody.ClientID %>" 
            Text="Career Opportunities">
          </telerik:RadPanelItem>
          <telerik:RadPanelItem runat="server" Text="Contact Us">
            <Items>
              <telerik:RadPanelItem runat="server">
                <ItemTemplate>
                  If you have questions, you can contact Al Plourde at 
                </ItemTemplate>
              </telerik:RadPanelItem>
            </Items>
          </telerik:RadPanelItem>
        </Items>
      </telerik:RadPanelBar>      
    </div>
  </telerik:RadPane>
  <telerik:RadPane ID="paneBody" runat="server">
    <div style="margin: 0px 3px 0px 5px;">
    This is the main body
    </div>
  </telerik:RadPane>
  <telerik:RadPane ID="paneRight" runat="server" Width="150">
    <div style="margin: 0px 3px 0px 5px;">
    This is the right pane
    </div>
  </telerik:RadPane>
</telerik:RadSplitter>

Thanks!
Bala
Top achievements
Rank 1
 answered on 19 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?