Hi,
I've found an issue with the RadGrid, where the pager is showing the following buttons 1,2,3,4,5,6,7,8,9,10,...
All these buttons are working correctly. When I click on '...', I then get the following list: ...,8,9,10,11,12,13,14,15,16,17
The problem I'm having is that this second set of buttons is selecting the index from that list, so clicking '...' will go to the first page of results, '8' being the 2nd item in the list will go to page 2 etc. The control looks and behaves exactly as though one of the original options 1-10 had been selected and seems to correspond to the position/index of the selected button rather than its content.
The relevant code snippet for the pager configuration is as follows:
<telerik:RadGrid ID="rgSearchResults" AllowPaging="false" AllowSorting="false"
PageSize="25" runat="server" AllowFilteringByColumn="false" ShowGroupPanel="False"
EnableLinqExpressions="False">
<PagerStyle Mode="NumericPages" Position="TopAndBottom" AlwaysVisible="True" PageButtonCount="10" />
<ClientSettings>
<ClientEvents OnMasterTableViewCreating="MasterTableViewCreating" />
<ClientEvents OnGridCreated="OnGridCreated" />
</ClientSettings>
<MasterTableView AllowPaging="True" AllowSorting="True" PageSize="10" CommandItemDisplay="None"
DataKeyNames="ID" AutoGenerateColumns="False" ShowHeader="false">
Please could you advise on how to fix this? I've updated to the latest version of the UI for ASP.NET AJAX code. I wonder whether I'm missing some property?
Thanks
I have a RadTreeView that call OnNodeClick event, and a textbox contain "YES" or "NO"
What i have to achieve is:
Can i disable OnNodeClick event and postback when the textbox contain "NO"??
can i achieve this using OnClientNodeClicking event to cancel OnNodeClick event like this?
thank you
Hi,
I'm trying to use the Editor to give my users the ability to write a custom message template for an application, that will send notification upon certain events.
To give the users the ability to customize the notification-message, I'd like to have replaceable codes in the editor. Something like {User}, that will be replaced in the actual message with the current users name. The Editors Content is saved with these Codes and my application replaces the tags, when the message is sent.
Is it possible to change the Preview-Mode of the Editor, so I can replace this codes with data, so the user sees how the message will look like?
To summarize: Is it possible to change the content shown in the preview mode?
Thanks for your help.
<
asp:Content ID="Content1" ContentPlaceHolderID="cl" runat="server">
<asp:UpdatePanel runat="server" ID="upd1"><ContentTemplate>
// RAD GRID used here, inside the FlashInfoGrid component.
</ContentTemplate></asp:UpdatePanel>
</
asp:Content>
<
asp:Content ID="Content2" ContentPlaceHolderID="cb" runat="server">
<
asp:UpdatePanel runat="server" ID="upd2"><ContentTemplate>
// Control to display when I click on the Edit button of the RadGridView.
</ContentTemplate></asp:UpdatePanel>
</
asp:Content>
Maybe, the UpdatePanel doesn't ork very well with the RadGrid of Telerik ? Or maybe, I don't use the UpdatePanel correctly ? Maybe I should use the RadAjaxManager of Telerik ?
Thank you in advance,
I am adding nodes in the NodeExpand event to utilize LOD. However, the treeview uses a NodeTemplate which is added in the OnInit and Page_load events. But I cannot access the controls for the new node that I'm adding. Do I need to add the node to the treeview first and reiterate through it to access the control?
I need to access the controls to set a control to visible for the newly created node and to modify the node text.
Hi
i have the following issue, i have a very basic page with a rotator on it.
but PauseOnMouseOver doesnt seem to be working, it simply wont pause on mouse over.
i am using the latest version of telerik
fyi the cdn bits is because i use a local version of it, but again thats the latest version.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RotatorPage.aspx.cs" Inherits="EAP.popups.RotatorPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
<
link
href
=
"../site/css/Common.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
link
href
=
"../site/css/Header.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
script
type
=
"text/javascript"
>
function OnClientItemsRequestFailed(sender, eventArgs) {
var errorMessage = eventArgs.get_errorMessage();
eventArgs.set_cancelErrorAlert(true);
}
</
script
>
</
head
>
<
body
style
=
"background-color:white !Important;"
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
EnableEmbeddedjQuery
=
"true"
>
<
CdnSettings
TelerikCdn
=
"Enabled"
BaseSecureUrl
=
"https://host/cdn/Scripts"
BaseUrl
=
"https://host/cdn/Scripts"
/>
</
telerik:RadScriptManager
>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager1"
runat
=
"server"
EnableStyleSheetCombine
=
"False"
>
<
CdnSettings
TelerikCdn
=
"Enabled"
BaseUrl
=
"https://host/cdn/Skins"
BaseSecureUrl
=
"https://host/cdn/Skins"
/>
</
telerik:RadStyleSheetManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
DefaultLoadingPanelID
=
"RadAjaxLoadingPanel1"
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Skin
=
"Bootstrap"
>
</
telerik:RadAjaxLoadingPanel
>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
EnablePageHeadUpdate
=
"true"
>
<
div
class
=
"rotator-container"
>
<
telerik:RadRotator
ID
=
"headlinesRotator"
runat
=
"server"
ScrollDirection
=
"Left"
Width
=
"500"
WrapFrames
=
"true"
FrameDuration
=
"1"
PauseOnMouseOver
=
"true"
ScrollDuration
=
"8000"
Height
=
"15"
ItemHeight
=
"15"
ItemWidth
=
"250"
CssClass
=
"rotator"
>
<
WebServiceSettings
Path
=
"../Services/EclipseService.asmx"
Method
=
"GetRotatorData"
/>
</
telerik:RadRotator
>
</
div
>
</
telerik:RadAjaxPanel
>
</
form
>
</
body
>
</
html
>
<
asp:Panel
runat
=
"server"
ID
=
"panelAddUser"
class
=
"panel panel-primary"
>
<
div
class
=
"panel-heading"
>New User</
div
>
<
div
class
=
"panel-body"
>
<
div
class
=
"row"
>
<
div
class
=
"col-xs-4"
>
<
asp:TextBox
runat
=
"server"
ID
=
"txtUsername"
CssClass
=
"form-control input-lg"
placeholder
=
"Username"
MaxLength
=
"32"
required
=
"required"
ValidationGroup
=
"FormValidate"
/>
</
div
>
<
div
class
=
"col-xs-4"
>
<
asp:TextBox
runat
=
"server"
ID
=
"txtPassword"
CssClass
=
"form-control input-lg"
placeholder
=
"Password"
TextMode
=
"Password"
MaxLength
=
"32"
required
=
"required"
ValidationGroup
=
"FormValidate"
/>
</
div
>
<
div
class
=
"col-xs-4"
>
<
asp:TextBox
runat
=
"server"
ID
=
"txtConfirmPassword"
CssClass
=
"form-control input-lg"
placeholder
=
"Confirm Password"
TextMode
=
"Password"
MaxLength
=
"32"
required
=
"required"
ValidationGroup
=
"FormValidate"
/>
</
div
>
</
div
>
<!-- /.row -->
</
div
>
</
div
>
</
asp:Panel
>
I have this panel and then below it i have another panel containing RadGrid control :)
When i click e.g. Edit or Delete imagebuttons in the Grid, i get the HTML5 validation errors from the panel panelAddUser.
I tried CauseValidation but it didn't help at all (i kept getting those errors).
Thank you