Telerik Forums
UI for ASP.NET AJAX Forum
16 answers
179 views

Hi, 

I'm not getting any loading panes loading when using the material skin.  Is there a known issue?  The below works when I set the skin on the loading panel as black but not when Material...

 

<html lang="en">
    <head runat="server">
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Login Page</title>
    </head>
  <body >
        <form id="uxLoginForm" runat="server">
            <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager>
            <telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager>
            <div id="test" style="width:1000px;height:100px;background-color:red;">ddd</div>
            <telerik:RadAjaxManager ID="uxRadAjaxManager" runat="server" >
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="test">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="test" LoadingPanelID="uxLoadingPanel" />
                        </UpdatedControls>
                        </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="uxLoadingPanel" Runat="server" Skin="Material" ></telerik:RadAjaxLoadingPanel>
        </form>           
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript">
                function pageLoad() {
                    currentLoadingPanel = $find("<%= uxLoadingPanel.ClientID %>");
                    currentLoadingPanel.show("test");
 
                };
            </script>
        </telerik:RadCodeBlock>
    </body>
</html>

 

Maria Ilieva
Telerik team
 answered on 07 Mar 2016
1 answer
116 views

Hi there;

If I have a GridGroupFooterItem (or HeaderItem), is there an easy way for me to tell what grouping level it belongs to?

J

Konstantin Dikov
Telerik team
 answered on 07 Mar 2016
1 answer
102 views

I am trying to integrate telerik controls into a web application that was recently upgraded from .net 1.1 to 4.5.  Needless to say the pages and configs contain all sorts of quirky legacy stuff . I have set up a test page in this webapplication.  On this page I am completely unable to get the RadNavigation control to run. I have it set up as in the Demo. No code behind. I always get a javascript error from the browser on the initial display of the page.

Unhandled exception at line 40, column 40 in http://aspnet-scripts.telerikstatic.com/ajaxz/2016.1.113/Navigation/RadNavigationScripts.js

0x800a138f - JavaScript runtime error: Unable to get property 'toLowerCase' of undefined or null reference

 

If I check fiddler I don't see a tolowercase call on this line.

Any help on this one. I'm guessing it's some sort of config issue since I'm not actually trying to do anything other than get a very very basic sample to run.

Thanks!

Ivan Danchev
Telerik team
 answered on 07 Mar 2016
1 answer
165 views

Hi

 

I am using  http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx to generate menu

How can i use the bread crumb up to the level RadSiteMapNode. I was using following code sample  but not working 

 

using System;
using System.Collections.Generic;
using Telerik.Web.UI;
  
namespace Menu.Examples.Programming.ShowPath
{
    public partial class DefaultCS : System.Web.UI.Page
    {
        //If RadMenu is data bound, please use its DataBound event instead of PageLoad.
        protected void Page_Load(object sender, EventArgs e)
        {
            RadMenuItem currentItem = RadMenu1.FindItemByUrl(Request.Url.PathAndQuery);
            if (currentItem != null)
            {
                //Select the current item and his parents
                currentItem.HighlightPath();
                //Update the title of the
                PageTitleLiteral.Text = currentItem.Text;
                //Populate the breadcrumb
                DataBindBreadCrumbSiteMap(currentItem);
            }
            else
                RadMenu1.Items[0].HighlightPath();
                  
        }
  
        private void DataBindBreadCrumbSiteMap(RadMenuItem currentItem)
        {
            List<RadMenuItem> breadCrumbPath = new List<RadMenuItem>();
            while (currentItem != null)
            {
                breadCrumbPath.Insert(0, currentItem);
                currentItem = currentItem.Owner as RadMenuItem;
            }
            BreadCrumbSiteMap.DataSource = breadCrumbPath;
            BreadCrumbSiteMap.DataBind();
        }
    }
}

<telerik:RadMenu RenderMode="Lightweight" runat="server" ID="RadMenu1" Skin="Glow">
            <DefaultGroupSettings Height="270px" />
            <Items>
                <telerik:RadMenuItem Text="Asia">
                    <ContentTemplate>
                        <telerik:RadSiteMap runat="server" ID="RadSiteMap1" Skin="Glow" CssClass="itemContent asia">
                            <DefaultLevelSettings ListLayout-RepeatColumns="3"></DefaultLevelSettings>
                            <Nodes>
                                <telerik:RadSiteMapNode Text="Afghanistan"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Bangladesh"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Cambodia"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="China"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="India"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Indonesia"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Iran"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Iraq"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Japan"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Maldives"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Philippines"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Saudi Arabia"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Thailand"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="Yemen"></telerik:RadSiteMapNode>
                                <telerik:RadSiteMapNode Text="United Arab Emirates"></telerik:RadSiteMapNode>
  
                            </Nodes>
                        </telerik:RadSiteMap>
                    </ContentTemplate>
                </telerik:RadMenuItem>
     </Items>
</telerik:RadMenu>

Veselin Tsvetanov
Telerik team
 answered on 07 Mar 2016
5 answers
149 views
For the other controls you can click on them and a property window will popup to give them a name, but not for the text box?..How come? How do we name them?
Vessy
Telerik team
 answered on 07 Mar 2016
3 answers
91 views

Hello,

I have a RadGrid with MasterView, a child GridTableView, and then a further child GridTableView. On a Button firing in the child view I do this:

    protected void CIncludeConnection_Click(object sender, EventArgs e)
    {
        IncludeConnection_Click(sender, e);
        RebindChildren();
    }

    protected void CExcludeConnection_Click(object sender, EventArgs e)
    {
        ExcludeConnection_Click(sender, e);
        RebindChildren();
    }

 protected void RebindChildren()
    {
        GridTableView tableView = (GridTableView)ConnectionsGrid.MasterTableView.Items[0].ChildItem.NestedTableViews[0]; // accessing child gridview of first parentitem

        tableView.Rebind(); 
    }

which works fine, the grid view updates visually and no collapsing occurs.

The problem is with the Grandchild view where I do this:

    protected void GCIncludeConnection_Click(object sender, EventArgs e)
    {
        IncludeConnection_Click(sender, e);
        RebindGrandChildren();
    }

    protected void GCExcludeConnection_Click(object sender, EventArgs e)
    {
        ExcludeConnection_Click(sender, e);
        RebindGrandChildren();
    }

    protected void RebindGrandChildren()
    {
        GridTableView tableView = (GridTableView)ConnectionsGrid.MasterTableView.Items[0].ChildItem.NestedTableViews[0]; // accessing child gridview of first parentitem

        GridTableView nestedView = (GridTableView)tableView.Items[0].ChildItem.NestedTableViews[0]; // Accessing grandchild gridview

        nestedView.Rebind();
    }

Which works correctly but does not update visually at all.

Is there a generic method of addressing any grid at any depth and Rebinding without collapsing (a generic Masterview rebind collapses) from a button event given the sender object and the EventArgs?

protected void AnyConnectionOperation_Click(object sender, EventArgs e) ?

Thanks,

 

 

 

 

Viktor Tachev
Telerik team
 answered on 07 Mar 2016
3 answers
639 views
I keep reading that the RadMenu is responsive, etc. I have added it to our page and when I resize the page the menu does not change. Does it only change if you are actually on a mobile device? Is there a way to have it change in the 'small' version like things do when you are using the RadPaygLayout control?
Magdalena
Telerik team
 answered on 07 Mar 2016
1 answer
59 views

Hi team,

 

We have upgraded telerik from 2014.2.618.45 to 2015.3.1111.45

 

Tree View was showing the node highlighted in grey color previously but now it is not showing.

Attached is the screenshot for the same. Waiting for your response.

 

Thanks in advance

Magdalena
Telerik team
 answered on 07 Mar 2016
16 answers
2.0K+ views
How do I access the underlying datarow to which a GridDataItem is bound to in the ItemDataBound event?

I cannot use cell content because I am trying to get at a field in the datarow for which there is no column in the radgrid.

Thanks,
Kermit
Eyup
Telerik team
 answered on 07 Mar 2016
1 answer
47 views
I want a radwindow to open when the radgauge marker is done moving.  The idea is that if a certain number is reached, it opens a radwindow.  The only way I have been able to achieve this is the window opens as soon as the gauge starts moving, thus covering up the gauge.
Danail Vasilev
Telerik team
 answered on 07 Mar 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?