<telerik:RadWindowManager runat="server" ID="RadWindowManager1"> <Windows> <telerik:RadWindow ID="rw_customConfirm" Modal="true" Behaviors="Close, Move" VisibleStatusbar="false" Width="300px" Height="200px" runat="server"> <ContentTemplate> <div class="rwDialogPopup radconfirm"> <div class="rwDialogText"> <asp:Literal ID="confirmMessage" Text="" runat="server" /> </div> <div> <telerik:RadButton runat="server" ID="rbConfirm_OK" Text="OK" OnClick="rbConfirm_OK_Click"> </telerik:RadButton> <telerik:RadButton runat="server" ID="rbConfirm_Cancel" Text="Cancel" OnClientClicked="closeCustomConfirm"> </telerik:RadButton> </div> </div> </ContentTemplate> </telerik:RadWindow> </Windows></telerik:RadWindowManager><asp:Button ID="Button4" Text="call the RadConfirm" OnClick="Button4_Click" runat="server" /><script type="text/javascript"> function closeCustomConfirm() { $find("<%=rw_customConfirm.ClientID %>").close(); }</script>
<MasterTableView DataKeyNames="AccessRequestId, ContractorId" AllowAutomaticUpdates="False">
<EditFormSettings UserControlName="~/UserControls/AccessRequestEditForm.ascx" EditFormType="WebUserControl" >
<EditColumn UniqueName="EditCommandColumn1" ></EditColumn>
</EditFormSettings>
<Columns>
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
...more columns...
</Columns>
</MasterTableView><div runat="server" id="divButtons">
<asp:Button runat="server" ID="btnSave" Text="Save" OnClick="BtnSaveClick" CommandName="Update" CausesValidation="true" />
<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="BtnCancelClick" CommandName="Cancel" CausesValidation="false"/>
</div>Hi,
My client want the option to have bullets in her text. But when she select a part of text and click on "InsertUnorderedList", only one bullet is generated at the beginning of the text (for the entire paragraph).
This behavior is also reproduced in your examples (and this editor).
http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
If the copy/paste this text:
The services provided included <br>studies, <br>detailed design and complete project management services, <br>including specifications, <br>tender documents, <br>procurement, <br>inspection, <br>construction supervision <br>commissioning.
and I select some lines and I click on "InsertUnorderedList", I have the following result:
<ul><li>The services provided included <br>studies, <br>detailed design and complete project management services, <br>including specifications, <br>tender documents, <br>procurement, <br>inspection, <br>construction supervision <br>commissioning.</li></ul>
My example is attached to this thread.
So, I want to generate bullets only for the selected text (or for the line where the cursor is located)
Thank you
Steeve
I'm having an issue I can't find any similar posts to so here goes.
I am generating a pivot table using Linq where I won't know the column names until run-time. So I am creating the data series in codebdhind and then binding the Radhtmlchart to the data table. Things work somewhat well but for one problem. Each new series I add changes the Y-Axis scale by a factor of 10. I have added images below to show how it grows (data points are set to 1 or 2 in each case for simplicity). Note that the Y-axis grows from roughly 1 to 10 to 100 and the column height of each successive series is correspondingly bigger.
Here is the aspx for the Chart:
<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server"> <PlotArea> <XAxis DataLabelsField="DayHour"> <LabelsAppearance Step="4"> </LabelsAppearance> </XAxis> <YAxis Type="Numeric"> <LabelsAppearance Step="1"> </LabelsAppearance> </YAxis> </PlotArea> <Appearance> <FillStyle BackgroundColor="Transparent"></FillStyle> </Appearance> <ChartTitle Text="Hourly Clicks"> <Appearance Align="Center" BackgroundColor="Transparent" Position="Top"> <TextStyle Bold="true" FontSize="24px" /> </Appearance> </ChartTitle> <Legend> <Appearance BackgroundColor="Transparent" Position="Bottom"></Appearance> </Legend></telerik:RadHtmlChart>
And here is the codebehind where I generate the ColumnSeries dynamically and bind. There is some code to test different configurations of the 'stacked' attribute based on some older articles I saw but it was not helpful. T is the Data Table and looks exactly as it should.
int i = T.Columns.Count;bool bstacked = true;foreach (DataColumn col in T.Columns){ if (col.ColumnName == "DayHour") continue; ColumnSeries newSeries = new ColumnSeries(); newSeries.Name = col.ColumnName; newSeries.GroupName = "colGroup"; newSeries.DataFieldY = col.ColumnName; i--; if (i == 1) bstacked = false; newSeries.Stacked = bstacked; newSeries.LabelsAppearance.Position = Telerik.Web.UI.HtmlChart.BarColumnLabelsPosition.OutsideEnd; RadHtmlChart1.PlotArea.Series.Add(newSeries);}RadHtmlChart1.DataSource = T;RadHtmlChart1.DataBind();
I would appreciate any help with this.
Thanks.

Is it possible?
If yes, how?
Hello,
I use a RadGrid with a hierarchy system. I have 3 types of resources for my line (human, location, equipment) in my grid. But I only can add a child if the resource type is a location.
I need to "disable or hide" the Expand/Hierarchy column, but I dont this attribute on the dataItem.
How can I "disable or hide" the Expand/Hierarchy column ONLY for "human and equipment" ?
Thank you :)
I attach a files for explain what I have currently (left image) and the result that I hope to get (right)

Hi,
Initially, we had a RadGrid whose DataSource is assigned via NeedDataSource (via List Of). All worked perfectly. We now need to add a hierarchical system to have a Parent / Child relationship at the level of our bookings. Visually, the display is what we want.
However, I can not Bind the CommandItemTemplate actions for the DetailTable (RadToolBarGridChildEdit). How can I get information from my parent item for the FireCommand?
Thank you and have a good day
Javascript
01.function onPanelBarItemClicked(sender, args) {02. var button = args.get_item();03. 04. switch (args.get_item().get_commandName()) {05. case "AddResource":06. //Ajouter une nouvelle ligne. Le paramètre "InitInsert" est OBLIGATOIRE et DOIT être écrit EXACTEMENT comme il est inscrit07. var argument = args.get_item().get_commandArgument();08. document.getElementById('<%=gridMid.ClientID%>').value = argument;09. 10. $find('<%= RgPanelSummary.ClientID%>').get_masterTableView().fireCommand("InitInsert", argument);11. break;12. 13. case "AddChildResource":14. //Ajouter une nouvelle ligne. Le paramètre "InitInsert" est OBLIGATOIRE et DOIT être écrit EXACTEMENT comme il est inscrit15. var argument = args.get_item().get_commandArgument();16. document.getElementById('<%=gridMid.ClientID%>').value = argument;17. 18. break; 19. 20. default:21. $find('<%= RgPanelSummary.ClientID%>').get_masterTableView().fireCommand(args.get_item().get_commandName(), args.get_item().get_commandArgument());22. break;23. }24. }
ASP Page
001.<telerik:RadGrid ID="RadGrid1" Width="100%" Height="100%" CellPadding="0" BorderWidth="1" Skin="Bootstrap" LocalizationPath="~/Translations/"002. GridLines="None" runat="server" AutoGenerateColumns="False" AllowMultiRowSelection="true" AllowMultiRowEdit="true">003. 004. <PagerStyle Visible="false"></PagerStyle>005. 006. <ClientSettings EnableRowHoverStyle="False" AllowKeyboardNavigation="True" ActiveRowIndex="-1" EnableAlternatingItems="False">007. <Selecting AllowRowSelect="True" UseClientSelectColumnOnly="True" />008. <Resizing AllowColumnResize="False" AllowResizeToFit="False" />009. <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="false" AllowActiveRowCycle="true" />010. <DataBinding ShowEmptyRowsOnLoad="true"></DataBinding>011. <ClientEvents OnRowDblClick="activitek.ReservationPanelSummary.onSummaryRowDblClick"012. OnRowSelected="activitek.ReservationPanelSummary.onSummaryRowSelected"013. OnRowDeselected="activitek.ReservationPanelSummary.onSummaryRowDeselected" />014. </ClientSettings>015. 016. 017. <MasterTableView CommandItemDisplay="Top" TableLayout="Fixed" GroupLoadMode="Client" GridLines="None"018. EditMode="InPlace" DataKeyNames="ReservationScheduleID" ClientDataKeyNames="ReservationScheduleID"019. RetrieveNullAsDBNull="true">020. <PagerStyle PageSizeControlType="None" />021. 022. <ParentTableRelation>023. <telerik:GridRelationFields DetailKeyField="ParentReservationScheduleID" MasterKeyField="ReservationScheduleID" />024. </ParentTableRelation>025. 026. <CommandItemTemplate>027. <div>028. <telerik:RadToolBar ID="RadToolBarGridEdit" runat="server" Width="100%" Height="32px" OnClientButtonClicked="onPanelBarItemClicked">029. <Items>030. <telerik:RadToolBarButton Text="<%$ Resources:AdminLoc, btnEdit %>" ImageUrl="~/Web/Images/Icons/modifier.gif"031. Value="btnAdd" CommandName="EditSelected" ImagePosition="Left"032. Visible='<%# Not (RgPanelSummary.MasterTableView.IsItemInserted OrElse RgPanelSummary.EditIndexes.Count > 0) %>'>033. </telerik:RadToolBarButton>034. 035. <telerik:RadToolBarButton IsSeparator="true"036. Visible='<%# Not (RgPanelSummary.MasterTableView.IsItemInserted OrElse RgPanelSummary.EditIndexes.Count > 0) %>' />037. 038. <telerik:RadToolBarDropDown Text="<%$ Resources:AdminLoc, btnAdd %>" ImageUrl="~/Web/Images/Icons/ajouter.gif"039. Visible='<%# Not (RgPanelSummary.MasterTableView.IsItemInserted OrElse RgPanelSummary.EditIndexes.Count > 0) %>'>040. <Buttons>041. <telerik:RadToolBarButton Text="Ajouter un plateau" ImageUrl="~/Web/Images/Icons/ress_locaux.gif"042. Group="LocationResource" CheckOnClick="true" AllowSelfUnCheck="true"043. CommandName="AddResource" CommandArgument="location">044. </telerik:RadToolBarButton>045. <telerik:RadToolBarButton Text="Ajouter un équipement" ImageUrl="~/Web/Images/Icons/ress_equipement.gif"046. Group="EquipementResource" Value="equipment" CommandName="AddResource" CommandArgument="equipment">047. </telerik:RadToolBarButton>048. <telerik:RadToolBarButton Text="Ajouter une ressource humaine" ImageUrl="~/Web/Images/Icons/ress_humaine.gif"049. Group="HumanResource" CommandName="AddResource" CommandArgument="human">050. </telerik:RadToolBarButton>051. 052. <telerik:RadToolBarButton IsSeparator="true" Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>"></telerik:RadToolBarButton>053. 054. <telerik:RadToolBarButton Text="Ajouter un équipement à la journée" ImageUrl="~/Web/Images/Icons/ress_equipement.gif"055. Group="DailyEquipment" CommandName="AddDailyResource" CommandArgument="DailyEquipment"056. Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>">057. </telerik:RadToolBarButton>058. </Buttons>059. </telerik:RadToolBarDropDown>060. 061. </Items>062. </telerik:RadToolBar>063. </div>064. </CommandItemTemplate>065. 066. <%--Déclaration des colonnes pour l'entité PARENT --%>067. <Columns>068. <telerik:GridClientSelectColumn UniqueName="IsSelected" HeaderStyle-Width="28" ItemStyle-HorizontalAlign="Center" />069. 070. <telerik:GridBoundColumn UniqueName="ParentReservationScheduleID" DataField="ParentReservationScheduleID" Display="false" />071. <telerik:GridBoundColumn UniqueName="ReservationScheduleID" DataField="ReservationScheduleID" Display="false" />072. 073. <telerik:GridTemplateColumn UniqueName="ResourceName" DataField="ResourceName" HeaderText="<%$ Resources:AdminLoc,lblResource %>">074. <ItemStyle Width="355px" />075. <HeaderStyle Width="355px" />076. 077. <ItemTemplate>078. <%#DataBinder.Eval(Container.DataItem, "ResourceName")%>079. </ItemTemplate>080. 081. <EditItemTemplate>082. <telerik:RadComboBox Skin="Bootstrap" ID="radResourceCombo" runat="server" Width="340px" DropDownWidth="450px" Height="300"083. AutoPostBack="false" EnableLoadOnDemand="True" EnableScreenBoundaryDetection="true" EnableVirtualScrolling="true"084. ItemsPerRequest="10" OnItemsRequested="radResourceCombo_ItemsRequested" HighlightTemplatedItems="true"085. DataTextField="Text" DataValueField="Value" ExpandDirection="Down" OffsetX="0" OffsetY="0">086. <HeaderTemplate>087. <table id="tableResourceColumns" style="width: 95%">088. <tr>089. <th>090. <asp:Label ID="radTitleLN" runat="server"><%= LocalizationTools.RM.GetString("lblName") %></asp:Label>091. </th>092. </tr>093. </table>094. </HeaderTemplate>095. <ItemTemplate>096. <table style="width: 95%">097. <tr>098. <td style="width: 18px">099. <img src="<%# DataBinder.Eval(Container, "Attributes['typeImg']")%>"100. title="<%# DataBinder.Eval(Container, "Attributes['typeName']")%>" /></td>101. <td><%# DataBinder.Eval(Container, "Attributes['name']")%></td>102. </tr>103. </table>104. </ItemTemplate>105. </telerik:RadComboBox>106. 107. <asp:RequiredFieldValidator ID="CV_ResourceValidator" runat="server" ControlToValidate="radResourceCombo"108. ErrorMessage="<%$ Resources:AdminLoc, errResourceIsMandatory %>"109. Display="None">*</asp:RequiredFieldValidator>110. <asp:CustomValidator ID="CV_Schedule" runat="server" OnServerValidate="CV_ReservationSchedule_ServerValidate"111. Display="None">*</asp:CustomValidator>112. </EditItemTemplate>113. </telerik:GridTemplateColumn>114. 115. </Columns>116. 117. 118. <%--Déclaration des colonnes pour l'entité ENFANT --%>119. <DetailTables>120. <telerik:GridTableView DataKeyNames="ReservationScheduleID" Name="ChildReservationSchedule" Width="100%" HierarchyLoadMode="ServerOnDemand"121. ClientDataKeyNames="ReservationScheduleID" ShowHeader="false" ShowHeadersWhenNoRecords="false" CommandItemDisplay="Top"122. HorizontalAlign="Right" TableLayout="Fixed" AllowPaging="false" EditMode="InPlace" GroupLoadMode="Client" GridLines="None">123. <CommandItemTemplate>124. <div>125. <telerik:RadToolBar ID="RadToolBarGridChildEdit" runat="server" Width="100%" Height="32px"126. OnClientButtonClicked="onPanelBarItemClicked">127. <Items>128. <telerik:RadToolBarButton Text="<%$ Resources:AdminLoc, btnEdit %>" ImageUrl="~/Web/Images/Icons/modifier.gif"129. Value="btnAdd" CommandName="EditSelected" ImagePosition="Left"130. Visible='<%# Not (RgPanelSummary.MasterTableView.IsItemInserted OrElse RgPanelSummary.EditIndexes.Count > 0) %>'>131. </telerik:RadToolBarButton>132. 133. <telerik:RadToolBarDropDown Text="<%$ Resources:AdminLoc, btnAdd %>" ImageUrl="~/Web/Images/Icons/ajouter.gif"134. Visible='<%# Not (RgPanelSummary.MasterTableView.IsItemInserted OrElse RgPanelSummary.EditIndexes.Count > 0) %>'>135. <Buttons>136. <%--TODO: Traduction--%>137. <telerik:RadToolBarButton Text="Ajouter un équipement" ImageUrl="~/Web/Images/Icons/ress_equipement.gif"138. Group="EquipementResource" Value="equipment" CommandName="InitInsert" CommandArgument="equipment">139. </telerik:RadToolBarButton>140. <telerik:RadToolBarButton Text="Ajouter une ressource humaine" ImageUrl="~/Web/Images/Icons/ress_humaine.gif"141. Group="HumanResource" CommandName="AddChildResource" CommandArgument="human">142. </telerik:RadToolBarButton>143. 144. <telerik:RadToolBarButton IsSeparator="true" Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>"></telerik:RadToolBarButton>145. 146. <telerik:RadToolBarButton Text="Ajouter un équipement à la journée" ImageUrl="~/Web/Images/Icons/ress_equipement.gif"147. Group="DailyEquipment" CommandName="AddChildDailyResource" CommandArgument="DailyEquipment"148. Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>">149. </telerik:RadToolBarButton>150. </Buttons>151. </telerik:RadToolBarDropDown>152. 153. </Items>154. </telerik:RadToolBar>155. </div>156. </CommandItemTemplate>157. 158. <Columns>159. <telerik:GridClientSelectColumn UniqueName="IsSelected" HeaderStyle-Width="28" ItemStyle-Width="28" ItemStyle-HorizontalAlign="Center" />160. <telerik:GridBoundColumn UniqueName="ParentReservationScheduleID" DataField="ParentReservationScheduleID" Display="false" />161. <telerik:GridBoundColumn UniqueName="ReservationScheduleID" DataField="ReservationScheduleID" Display="false" />162. 163. <telerik:GridTemplateColumn UniqueName="ResourceName" DataField="ResourceName" HeaderText="<%$ Resources:AdminLoc,lblResource %>">164. <ItemStyle Width="355" />165. <HeaderStyle Width="355" />166. 167. <ItemTemplate>168. <%#DataBinder.Eval(Container.DataItem, "ResourceName")%>169. </ItemTemplate>170. 171. <EditItemTemplate>172. <telerik:RadComboBox Skin="Bootstrap" ID="radResourceCombo" runat="server" Width="340px" DropDownWidth="450px" Height="300"173. AutoPostBack="false" EnableLoadOnDemand="True" EnableScreenBoundaryDetection="true" EnableVirtualScrolling="true"174. ItemsPerRequest="10" OnItemsRequested="radResourceCombo_ItemsRequested" HighlightTemplatedItems="true"175. DataTextField="Text" DataValueField="Value" ExpandDirection="Down" OffsetX="0" OffsetY="0">176. <HeaderTemplate>177. <table id="tableResourceColumns" style="width: 95%">178. <tr>179. <th>180. <asp:Label ID="radTitleLN" runat="server"><%= LocalizationTools.RM.GetString("lblName") %></asp:Label>181. </th>182. </tr>183. </table>184. </HeaderTemplate>185. <ItemTemplate>186. <table style="width: 95%">187. <tr>188. <td style="width: 18px">189. <img src="<%# DataBinder.Eval(Container, "Attributes['typeImg']")%>"190. title="<%# DataBinder.Eval(Container, "Attributes['typeName']")%>" /></td>191. <td><%# DataBinder.Eval(Container, "Attributes['name']")%></td>192. </tr>193. </table>194. </ItemTemplate>195. </telerik:RadComboBox>196. 197. <asp:RequiredFieldValidator ID="CV_ResourceValidator" runat="server" ControlToValidate="radResourceCombo"198. ErrorMessage="<%$ Resources:AdminLoc, errResourceIsMandatory %>" Display="None">*</asp:RequiredFieldValidator>199. <asp:CustomValidator ID="CV_Schedule" runat="server" OnServerValidate="CV_ReservationSchedule_ServerValidate" Display="None">*</asp:CustomValidator>200. </EditItemTemplate>201. </telerik:GridTemplateColumn>202. 203. </Columns>204. </telerik:GridTableView>205. </DetailTables>206. </MasterTableView>207. 208.</telerik:RadGrid>
Hi everybody,
I have a ASP page with a UserControl. In this userControl I have a Radgrid implement with hierarchy.
If I using IE 11 or Chrome, all my action (edit, Dbl Click, save, cancel, etc) and loading are functional.
But, with Edge I have a javascript error as soon I click for edit, record or another action.
SCRIPT5022: Sys.ScriptLoadFailedException: Impossible de charger le script 'http://cy4khh2.harriscomputer.com/PG.Activitek.Admin/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2017.2.711.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3afr-CA%3af4f90cd7-213b-47c9-9d36-a4666447367c%3a2003d0b8%3aaa288e2d%3a258f1c72%3ab7778d6c%3ae085fe68%3a6b3f73b3%3a8674cba1%3a7c926187%3a2e42e72a%3aa51ee93e%3aef347303%3ac08e9f8a%3a59462f1'.SCRIPT5007: Unable to get property '_notified' of undefined or null reference
I using Telerik ASP 2017.2.711.35
Good day at you and thank you
