Hi...
I have problem.
TimeFormat am / pm is not showing up.
Correto seria 12:00 pm
I know I can move / re-order a column around on a grid. I have a requirement where I need to be able to move a GridColumnGroup as well. I don't see this is possible out of the box. Has anybody had any luck with a work-around to allow a GridColumnGroup to be moved / re-ordered?
Thanks!
I have a RadGrid bound to a ClientDataSource, but when no records are returned, the grid's NoRecordsTemplate does not display (it's just an empty grid). I've tried various workarounds without any success. I've tried setting the grid's datasource to an empty array in the RadClientDataSource OnDataParse event. I've tried explicitly setting EnableNoRecordsTemplate = "true", and I've tried setting NoMasterRecordsText in the MasterTableView, but nothing seems to work.
Any idea what I could be missing?
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
>
Hi..
Again .. I have a custom skinned window. But the CLOSE button does not appear on the 'title'. If I remove the skin. It shows the close.
Any ideas? thx again!!
<telerik:RadWindow Skin="Flom" EnableEmbeddedSkins="false" rendermode="Lightweight" runat="server" ID="RadWindow_NavigateUrl" NavigateUrl="About.aspx" Height="300" Width="350" EnableShadow="true" IconUrl="images/GlobeSmall.png"
Modal="true" Behaviors="Close" ShowContentDuringLoad="true" RestrictionZoneID="NavigateUrlZone" Animation="FlyIn" VisibleStatusbar="False">
</telerik:RadWindow>
if (e.CommandName == "btnPrint")
{
GridEditableItem editedItem = (GridEditableItem)e.Item;
Session["PO_NO"] = editedItem.GetDataKeyValue("po_no").ToString();
RadWindow_NavigateUrl.NavigateUrl = "ReportViewer.aspx";
string _title = String.Concat("Flom PO ", " - ", editedItem.GetDataKeyValue("po_no").ToString());
RadAjaxManager1.ResponseScripts.Add(String.Format("var wnd = $find('{0}'); wnd.show(); wnd.set_title('{1}')", RadWindow_NavigateUrl.ClientID, _title));
}
What I would like to do is when a user clicks on a GridHyperLinkColumn within the radGrid, the default behavior is to be prompted with the "Save As" dialog. Thus far I have been unsuccessful in doing this. Attempted to use the HTML5 download option but GridHyperLinkColumn doesn't understand that. This is my current code but it doesn't work on every file as some open up. The file types may be varied (PDF, XLS, XLSX, DOC, DOCX, TXT, ZIP). Would it be possible to display a RadContextMenu when clicking on the link with "Save As" the only option?
<
telerik:GridHyperLinkColumn
SortExpression
=
"FileName"
DataTextFormatString
=
"{0}"
DataNavigateUrlFields
=
"file_name"
UniqueName
=
"file_name"
DataNavigateUrlFormatString
=
"/Repository/FTPCloud/{0}"
HeaderText
=
"File"
DataTextField
=
"file_name"
>
</
telerik:GridHyperLinkColumn
>
Private
Sub
grdCloudFiles_ItemDataBound(sender
As
Object
, e
As
GridItemEventArgs)
Handles
grdCloudFiles.ItemDataBound
If
TypeOf
e.Item
Is
GridDataItem
Then
Dim
item
As
GridDataItem =
DirectCast
(e.Item, GridDataItem)
Dim
link
As
HyperLink =
DirectCast
(item(
"file_name"
).Controls(0), HyperLink)
link.Attributes.Add(
"onclick"
,
String
.Format(
"javascript:document.execCommand('SaveAs','true','{0}');"
, MapPath(
"."
) & link.NavigateUrl))
End
If
End
Sub
I have a grid with many columns in it. The first two have display="false". They're IDs used to create links for other columns in the Grid_ItemDataBound event. Anyway, The report shows correctly when created with the browser maximized, but if I restore and then maximize again, the hidden columns show up. When they work, the TH has style="display:none" and after restoring and maximizing the style is gone. This is happening in 2 out of maybe 50 reports and most of them have hidden fields, so it's probably related to the layout of these particular grids.
Any ideas?
Hi there,
my web application worked for years fine but after my computer crashes and I installed and set up a new computer, now I try to publish my web application again on IIS, there are some difficulties and UI does not work as expected. For example some menu items can not be selected or double click on a control that must be open a dialog has no action and so on and there are no error during rebuild or publish. The important thing is that the web application works fine in debugging mode and problems exist only after publishing the application. I'm using Visual Studio 2017 and the application uses .NET framework 4 and windows 10 as OS and Telerik UI for ASP.NET AJAX R2 2018 is now installed.
Can anyone tell me, is it possible that some incompatibility between telerik UI version and windows 10 probably caused these problems?
Any other Idea? Thanks in advanced
Alireza