I am having to expand repeating events so I would like to remove the End: Never option and change the default. The problem I have run into is that the code appears to be injected when the repeat option changes.
TIA
Hi,
for this demo:
https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx
How can I make the buttons ("add new record" + "save changes" + "cancel changes") move from left side to right side of the table, and the start position of the focus (when the table have many cells so it get scrolled to one side at page load) to be on right side of the table instead of left side?
I tried several things that I saw in forums, but it didn't help:
1. adding: Dir="RTL" to MasterTableView properties, and to all the <div> i have on the page (also added a div like this right before the "telerik:RadAjaxLoadingPanel" and before the "telerik:RadListBox").
2. adding to the css file:
.RadMenu_Context_rtl {
direction: rtl !important;
}
3. adding rtl to the body tag:
<body dir="rtl">
4. I also didnt use any other css or other stuff, only the demo itself, so I can isolate the problem.
I'm experiencing an issue that was that is similar to the issue found at https://www.telerik.com/forums/client-side-service-binding-11-empty-rows. I have a radgrid that I'm binding to JSON results on the client-side. Regardless of the number of records, the record count always reads 11 items in 2 pages.
I've followed all of the recommendations in the previous issue, but I don't think there was ever any actual resolution to that problem.
Here's what I have, and a screenshot to show the symptoms:
Markup:
<
div
class
=
"tab-pane row in active"
id
=
"selected"
>
<
div
class
=
"col-md-12"
>
<
telerik:RadAjaxLoadingPanel
runat
=
"server"
Skin
=
"Default"
ID
=
"loadPanel"
/>
<
sg:IPGrid
runat
=
"server"
ID
=
"rgSelected"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
AutoGenerateColumns
=
"false"
AllowPaging
=
"True"
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
AlwaysVisible
=
"True"
Position
=
"Bottom"
/>
<
Columns
>
<
telerik:GridTemplateColumn
HeaderStyle-Width
=
"50px"
>
<
ItemTemplate
>
<
asp:Button
runat
=
"server"
ID
=
"Button1"
Text
=
"Add"
CssClass
=
"btn btn-sm"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
DataField
=
"Title"
HeaderText
=
"Title"
HeaderStyle-Width
=
"450px"
/>
<
telerik:GridBoundColumn
DataField
=
"AssignedTo"
HeaderText
=
"Assigned To"
/>
<
telerik:GridBoundColumn
DataField
=
"HotfixOwner"
HeaderText
=
"Hotfix Owner"
/>
<
telerik:GridBoundColumn
DataField
=
"Target Release"
HeaderText
=
"Target Release"
/>
<
telerik:GridBoundColumn
DataField
=
"Target Date"
HeaderText
=
"Target Date"
DataFormatString
=
"{0:yyyy-MM-dd}"
/>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
ClientEvents
OnCommand
=
"function() {}"
OnGridCreated
=
"OnGridCreated"
OnDataBound
=
"OnDataBound"
/>
</
ClientSettings
>
</
sg:IPGrid
>
</
div
>
</
div
>
Javascript:
function
OnGridCreated(sender, args) {
$find(
'<%= loadPanel.ClientID%>'
).show(
'selected'
);
}
function
OnDataBound(sender, args) {
$find(
'<%= loadPanel.ClientID%>'
).hide(
'selected'
);
}
$(
function
() {
$.ajax({
type:
"POST"
,
url:
"/pageinformation/styleguide.api/internaldocgeneratorws.asmx/getworkitemcollection"
,
data:
'{ workItems: '
+ JSON.stringify(deployment.WorkItems) +
' }'
,
contentType:
"application/json; charset=utf-8"
,
dataType:
"json"
,
cache:
true
}).done(
function
(data) {
var
tableView = $find(
'<%= rgSelected.ClientID %>'
).get_masterTableView();
tableView.set_dataSource(JSON.parse(data.d));
tableView.dataBind();
}).fail(
function
(jqXHR, textStatus) {
// If there is no communication between the server, show an error
$find(
'<%= MessageBox.ClientID %>'
).addError(jqXHR.responseJSON.Message,
false
);
});
});
<telerik:RadTreeView ID="RadTreeListUsers" runat="server" CheckBoxes="True" Width="585px" TriStateCheckBoxes="True" CheckChildNodes="True" meta:resourcekey="RadTreeListPermissionsResource1" />
var userValues = new HashSet<string>(users.Select(p => NodeValue.FormatTreeLabel(p.DataTypeName, p.ToDataTypeStateAutoId, p.ServiceAreaNum, p.OperationName, p.AttributeName)));
var userNodes = GetUserNodes(userValues);
RadTreeListUsers.Nodes.Clear();
RadTreeListUsers.Nodes.AddRange(UserNodes); //this line taking lot of time to load and display treeView
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"Category"
SortField
=
"ColumnXYZ"
SortOrder
=
"Ascending"
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"Category"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
When I create new folder I get an error
Error Message: Object reference not set to an instance of an object.
Stack Trace:
at Telerik.Web.UI.RadFileExplorer.CreateFolder(String currNodeValue, String newDirName)
This suggests the folder is not created.
However when I got to the server the folder has been created.
It is also there when I log back in.
What can I do to prevent this?
We've been asked by our client to hide the workbook tabstrip buttons for adding and removing sheets.
We've searched all over but couldn't find a way to hide these buttons (the "+" and "x" buttons).
Any help would be most appreciated.
<
span
style
=
"background-color: #ffff00;"
>Hello World</
span
>
<telerik:RadEditor ID="txtWarning" runat="server" EditModes="Design" ToolbarMode="Default" Width="400px" Height="100px" MaxTextLength="1000" ContentAreaMode="Div" ContentFilters="None" ></telerik:RadEditor>
string text = txtWarning.Content