Hi all,
I have a problem with a RadGrid (radgrid_alarms) on a page, where the data are reload every 2 second via an asp timer.
I can in the timer event => radgrid_alarms.Rebind();
The problem is about the vertical scrollbar, is flicking at every load.
Any suggestion to arrange this ?
Thanks,
Didier
More infos :
1) I have ajaxify the RadGrid
<telerik:AjaxSetting AjaxControlID="TimerRefresh">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radgrid_alarms" UpdatePanelRenderMode="Inline"/>
2) the rad grid definition :
<telerik:RadGrid ID="radgrid_alarms" runat="server"
ShowHeader="true" AutoGenerateColumns="False" Culture="fr-FR"
ResolvedRenderMode="Classic"
Skin=""
MasterTableView-CssClass="table table-bordered table-striped table-bootstrapinputs table-custom table-rounded"
OnNeedDataSource="radgrid_alarme_NeedDataSource"
OnItemDataBound="radgrid_alarme_ItemDataBound" Height="200">
<ClientSettings>
<Selecting AllowRowSelect="false" />
<Scrolling AllowScroll="true" SaveScrollPosition="true"/>
</ClientSettings>
<MasterTableView>
<Columns>
Hi,
for my scenario I need to override the DeleteRow javascript event. Please see my code below:
function OnClientItemClicked(sender, args) {
var selectedItemValue = args.get_item().get_value();
if (selectedItemValue === "CommandDeleteRow") {
var spreadsheet = $find("<%= RadSpreadsheet1.ClientID %>");
var activeSheet = spreadsheet.get_activeSheet();
activeSheet.deleteRow(0);
}
}
Instead of deleteRow(0) I need to get the correct row index. How can this be achieved?
Thanks in advance and best regards,
Nina
We have been trying to extend the Rich Text Editor built into Sitecore 9, but have encountered a problem with the pasteHtml method. Trying to insert this snippet:
<blockquote>
<p>Quote Text</p>
</blockquote>
<cite>Quote Author</cite>
results in:
<p>Quote Text</p>
<blockquote></blockquote><cite>Quote Author</cite>
Is there anything that can be done to fix this behaviour?
Hello all,
I don't know if this is allowed to be shared here or not. If not, please let me know how I can share this with the community if you can.
I spend a lot of time creating FormViews in Visual Studios for CRUD operations. This video shows you how to use the attached Macros with NotePad++ to automate most of the otherwise tedious re-design from the default FormView created by VS.
It will convert:
It will also either Table or Bootstrap the controls.
I hope you all find this as useful as I have.
<
telerik:GridBoundColumn
HeaderText
=
"ColumnTitle"
DataField
=
"FieldName"
HeaderStyle-Width
=
"15%"
ItemStyle-Width
=
"15%"
HeaderStyle-HorizontalAlign
=
"Center"
ItemStyle-HorizontalAlign
=
"Center"
Aggregate
=
"Sum"
>
</
telerik:GridBoundColumn
>
var data = CallWebMethod(WebserviceUrl, Parameter);
var MasterTable = gv.get_masterTableView();
MasterTable.set_dataSource(data);
MasterTable.dataBind();
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
ClientEvents
OnRequestStart
=
"centerLoadingPanel"
/>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"gridDpSummary"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"gridDpSummary"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings>
</
telerik:RadAjaxManager
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock2"
runat
=
"server>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
IsSticky
=
"true">
<
img
src
=
'/Content/images/ajax-loader.gif'
> </
telerik:RadAjaxLoadingPanel
>
</
telerik:RadCodeBlock
>