hi,
Does the RadNavigation have ExpandDirection ? the Navigation in bottom at the page
And how to change RadNavigation ExpandDirection = up
Thanks
When you create a Telerik Web Application using teh Outlook-Inspired template, how do you automatically expand the side menu? You have to click at the top left corner to expand.
I want to show up like the below, without having to click on the red in order for the left side to show when I first initialize the app.
I am dealing with a scenario where in grid , whether user clicks on a row or uses up/down arrow in the grid to select a row, it should do a postback and update other fields on the page. During research I have found that EnablePostBackOnRowClick and AllowKeyboard Navigation cannot work at the same time. This is what I have :
<Selecting AllowRowSelect="true" />
<ClientEvents OnRowSelected="GridRowSelected" OnRowMouseOver="RowMouseOver" />
function GridRowSelected(sender, args) {
// do a post back to update other controls on the page
}
Can someone please help me in achieving this? I have tried different methods explained in forum but nothing worked for me. In short, I want it to do a post back when either user clicks on a row or make a selection using keyboard navigation and call this:
void RadGrid1_SelectedIndexChanged(object sender, EventArgs e)
{
}
I want to have nodes in multi columns.
It seems to me that there is no such settings. So I use the Content Template. However, I found that the content template width cannot be set.
How can I set the content template width in code behind? and in aspx?
BTW, it is great if the nodes can be set in multi columns. It will be nice if it is included in next release.
Thanks.
Alfred
Hi,
in my webapplication I use a RadMenu that contains some RadMenuItems.
The code is the following:
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"FolderContent"
runat
=
"Server"
>
<
telerik:RadMenu
RenderMode
=
"Lightweight"
ID
=
"RadMenu1"
Flow
=
"Vertical"
CssClass
=
"mainMenu"
runat
=
"server"
ShowToggleHandle
=
"true"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Leistungen"
NavigateUrl
=
"Views/Office/ServiceListView.aspx"
/>
<
telerik:RadMenuItem
Text
=
"Warengruppen"
NavigateUrl
=
""
/>
<
telerik:RadMenuItem
Text
=
"Artikel"
NavigateUrl
=
"Views/Office/ArticleListView.aspx"
></
telerik:RadMenuItem
>
When I click on MenuItem "Leistungen" the page ServiceListView.aspx in the folder Views/Office/ should be load in the MainContent and in the browser.
But it doesn't work.
I get the following error message:
System.Web.HttpException: "Vorangestellte .. können nicht zum Beenden auf oberster Verzeichnisebene verwendet werden."
How can I adjust the path without errors?
Hi, I have a problem with links in a navigation menu.
The simple link works, it is translated properly into the tag <a></a>.
A NodeTemplate doesn't work: link does not appear and obviously does not work.
This is MasterPage.Master:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MasterPage.master.cs" Inherits="SimTasse.MasterPage" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
><%: Page.Title %></
title
>
<
meta
name
=
"viewport"
content
=
"initial-scale=1.0, minimum-scale=1, maximum-scale=1.0, user-scalable=no"
/>
<
link
href
=
"styles/base.css"
rel
=
"stylesheet"
/>
<
asp:ContentPlaceHolder
ID
=
"head"
runat
=
"server"
>
</
asp:ContentPlaceHolder
>
<
link
href
=
"~/styles/material_upo/Navigation.material_upo.css"
rel
=
"stylesheet"
runat
=
"server"
/>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
runat
=
"server"
></
telerik:RadScriptManager
>
<
div
id
=
"wrapper"
>
<
telerik:RadPageLayout
runat
=
"server"
ID
=
"MasterLayout"
GridType
=
"Fluid"
>
<
Rows
>
<%--Header--%>
<
telerik:LayoutRow
CssClass
=
"header"
>
<
Columns
>
<%--Logo--%>
<%--Main Nav--%>
<
telerik:LayoutColumn
Span
=
"12"
SpanMd
=
"12"
SpanSm
=
"12"
SpanXs
=
"12"
>
<
telerik:RadNavigation
ID
=
"RadNavigationPrincipale"
runat
=
"server"
EnableEmbeddedSkins
=
"False"
Skin
=
"material_upo"
>
<
Nodes
>
<
telerik:NavigationNode
ID
=
"nn_logo"
NavigateUrl
=
"Default.aspx"
>
<
NodeTemplate
>
<
div
>
<
div
style
=
"display: table-cell; vertical-align: middle;"
>
<
img
src
=
"images/logo_quadrato_su_rosso_24.png"
alt
=
""
/>
</
div
>
<
div
style
=
"display: table-cell; vertical-align: middle;"
id
=
"divVoceMenu1"
>
UPO -
</
div
>
</
div
>
</
NodeTemplate
>
</
telerik:NavigationNode
>
<
telerik:NavigationNode
Text
=
"Informazioni"
ID
=
"nn_info"
NavigateUrl
=
"Informazioni.aspx"
>
</
telerik:NavigationNode
>
<
telerik:NavigationNode
Text
=
"Accedi"
ID
=
"nn_accedi"
>
</
telerik:NavigationNode
>
</
Nodes
>
</
telerik:RadNavigation
>
</
telerik:LayoutColumn
>
</
Columns
>
</
telerik:LayoutRow
>
<%--Main--%>
<
telerik:LayoutRow
>
<
Columns
>
<%--Sidebar--%>
<%--Content--%>
<
telerik:CompositeLayoutColumn
Span
=
"12"
SpanMd
=
"12"
SpanSm
=
"12"
SpanXs
=
"12"
>
<
Content
>
<
asp:ContentPlaceHolder
ID
=
"cph1"
runat
=
"server"
>
</
asp:ContentPlaceHolder
>
</
Content
>
</
telerik:CompositeLayoutColumn
>
</
Columns
>
</
telerik:LayoutRow
>
<%--Footer--%>
<
telerik:LayoutRow
>
<
Columns
>
<
telerik:LayoutColumn
CssClass
=
"footer"
>
<
hr
/>
Simulatore tasse: © <%: DateTime.Now.Year %> Università del Piemonte Orientale, v. <%: appVersione %>
</
telerik:LayoutColumn
>
</
Columns
>
</
telerik:LayoutRow
>
</
Rows
>
</
telerik:RadPageLayout
>
</
div
>
<
script
type
=
"text/javascript"
>
//imposta il testo corretto della prima voce di menu
var nodo = document.getElementById("divVoceMenu1");
nodo.innerHTML = " UPO - " + "<%: appTitolo %>";
//var waitC = false;
function WaitCursor(sender, args) {
}
</
script
>
</
form
>
</
body
>
</
html
>