| <telerik:GridTemplateColumn DataField="role" HeaderText="Role" UniqueName="Role"> |
| <EditItemTemplate> |
| <asp:DropDownList ID="ddlRoles" runat="server" DataTextField="Role" DataValueField="Role" |
| Width="125px"> |
| </asp:DropDownList> |
| </EditItemTemplate> |
| <ItemTemplate> |
| <asp:Label ID="lblRole" runat="server" Text='<%# Bind("role") %>'></asp:Label> |
| </ItemTemplate> |
| <ItemStyle Wrap="False" /> |
| </telerik:GridTemplateColumn> |
| protected void rgUserAdmin_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item.ItemType == GridItemType.EditItem) |
| { |
| GridEditableItem edtItem = (GridEditableItem)e.Item; |
| DropDownList ddl = (DropDownList)edtItem.FindControl("ddlRoles"); |
| if (null != ddl) |
| { |
| ddl.DataSource = ForecastUtils.GetAllMetricUserRoles(); |
| ddl.DataTextField = "role"; |
| ddl.DataValueField = "role"; |
| // this is where I need to set the value of this ddl to the value |
| // from the Label on the ItemTemplate. |
| ddl.SelectedIndex = -1; |
| ddl.DataBind(); |
| } |
| } |
| } |

What would be a good approach to allow for rich content editing for each slide, basically want to have a dynamic amount of slides depending on images in a folder that will be a background image for the slide. Then each slide needs to have a layer of rich content that can be edited per slide.
Can i create slides (server side) per images in folder and inside the slide dynamically create a radeditor that has the image as background and store the content in my database and make sure i pause the slide on mouseover (when editor is in edit mode) to allow for editing. or is there any better approach to this? anyone done something similar?
Christian
Hi,
I am using Rotator to display banner images in the home page. I need to enable reponsive design for the various dimensions of the mobile devices.
I have fixed the width to 100%, however for various screen size, the rotator does not seem to adjust.
Please advise how to solve this issue
Hi,
I noticed in my web application that I was unable to select a .csv file to upload using the AsyncUpload control when using the MS Edge browser.
I initially though that it must have been excluded by the AllowedFileExtensions property, however found that it was working using Chrome.
I am not on the latest version of the RadControls but experienced the exact same issue on the demo site below
http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx
I do have the anniversary update of Windows 10 installed and am wondering if it is related.
My version of Edge is as follows
Edge 38.14393.0.0
EdgeHTML 14.14393
Thanks,
Matt

<telerik:RadPanelItem runat="server" Text="Step 5: Qualification >>>"> <Items> <telerik:RadPanelItem runat="server" Value="QualificationItem"> <ItemTemplate> <div id="QualificationDetail" class="CVPanelGrid" > <telerik:RadGrid ID="QualificationGrid" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" Skin="Web20" ondeletecommand="QualificationGrid_DeleteCommand" oninsertcommand="QualificationGrid_InsertCommand" onneeddatasource="QualificationGrid_NeedDataSource" onprerender="QualificationGrid_PreRender" onupdatecommand="QualificationGrid_UpdateCommand" onitemdatabound="QualificationGrid_ItemDataBound"> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"> </HeaderContextMenu> <MasterTableView CommandItemDisplay="Top" EditMode="PopUp" EditFormSettings-EditColumn-CancelImageUrl="images/CancelRecord.gif" EditFormSettings-EditColumn-InsertImageUrl="images/InsertRecord.gif" EditFormSettings-EditColumn-ButtonType="ImageButton" DataKeyNames="PKEY" AllowAutomaticInserts="False"> <CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Add Qualification" ShowAddNewRecordButton="true" ShowRefreshButton="false" > </CommandItemSettings> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"> <HeaderStyle Width="20px" /> </RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"> <HeaderStyle Width="20px" /> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn FilterControlAltText="Filter PKey column" UniqueName="PKey" DataField="PKEY" HeaderText="PKey" HeaderStyle-Width="250" Visible="false"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter Institute column" UniqueName="Institute" DataField="INSTITUTION" HeaderText="Institute" HeaderStyle-Width="250"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter Degree column" UniqueName="Degree" DataField="NAME" HeaderText="Degree" HeaderStyle-Width="150"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter CompletionYear column" DataFormatString ="{0:yyyy}" UniqueName="CompletionYear" DataField="COMPLETION_YEAR" HeaderText="Year of Completion" HeaderStyle-Width="100"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter Major column" UniqueName="Major" DataField="MAJOR" HeaderText="Major" HeaderStyle-Width="150"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter Grade column" UniqueName="Grade" DataField="GRADE" HeaderText="Grade" HeaderStyle-Width="150"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" HeaderStyle-Width="15px"> <HeaderStyle Width="15px" /> <ItemStyle HorizontalAlign="Center" /> </telerik:GridEditCommandColumn> <telerik:GridButtonColumn UniqueName="DeleteColumn" ButtonType="ImageButton" CommandName="Delete" HeaderStyle-Width="15px"> <HeaderStyle Width="15px" /> <ItemStyle HorizontalAlign="Center" /> </telerik:GridButtonColumn> </Columns> <EditFormSettings CaptionFormatString="Qualification Details" PopUpSettings-Modal="true" EditFormType="Template" PopUpSettings-Width="480px" > <FormTemplate> <div id="QualificationForm" > <ul ID="QualificationInfo" class="formModalList"> <li> <asp:Label ID="Label24" runat="server" CssClass="CVtextLabel" Text="Institution:" Width="120px"></asp:Label> <asp:TextBox ID="txtInstitute" Text= '<%# Bind("INSTITUTION") %>' runat="server" CssClass="CVtextInput"></asp:TextBox> </li> <li> <asp:Label ID="Label25" runat="server" CssClass="CVtextLabel" Text="Degree:" Width="120px"></asp:Label> <telerik:RadComboBox ID="cmbDegree" runat="server" Skin="Web20"> </telerik:RadComboBox> </li> <li> <asp:Label ID="Label26" runat="server" CssClass="CVtextLabel" Text="Year of Completion:" Width="120px"></asp:Label> <telerik:RadMonthYearPicker ID="txtCompletionYear" Runat="server" Culture="English (United States)" EnableTyping="False" Skin="Web20" DbSelectedDate='<%# Bind ("COMPLETION_YEAR") %>'> <DatePopupButton HoverImageUrl="" ImageUrl="" ToolTip="Open the year view popup." /> <DateInput DateFormat="yyyy" DisplayDateFormat="yyyy" ReadOnly="True" runat="server"> </DateInput> </telerik:RadMonthYearPicker> </li> <li> <asp:Label ID="Label20" runat="server" CssClass="CVtextLabel" Text="Major:" Width="120px"></asp:Label> <asp:TextBox ID="txtMajor" Text= '<%# Bind("MAJOR") %>' runat="server" CssClass="CVtextInput"></asp:TextBox> </li> <li> <asp:Label ID="Label22" runat="server" CssClass="CVtextLabel" Text="Grade:" Width="120px"></asp:Label> <asp:TextBox ID="txtGrade" Text= '<%# Bind("GRADE") %>' runat="server" CssClass="CVtextInput"></asp:TextBox> </li> <li class="lastListItem"> <telerik:RadButton ID="BtnAddQualification" runat="server" Text='<%# IIf (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>' Skin="Web20" Width="50px" CssClass="btnInsertItem" CommandName='<%# IIf (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'> </telerik:RadButton> <telerik:RadButton ID="BtnCancelQualification" runat="server" Text="Cancel" Skin="Web20" Width="50px" CssClass="btnCancelItem" CommandName="Cancel" > </telerik:RadButton> </li> </ul> </div> </FormTemplate> <FormTableButtonRowStyle HorizontalAlign="Right" /> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> <PopUpSettings Modal="True" Width="480px" /> </EditFormSettings> </MasterTableView> <FilterMenu EnableImageSprites="False"> </FilterMenu> </telerik:RadGrid> <br /> </div> </ItemTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> Here you can see that I've not bind my cmbDegree combobox with the DB. I am performing this task in code.
Protected Sub QualificationGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) If TypeOf e.Item Is GridEditFormItem And e.Item.IsInEditMode Then Dim editedItem As GridEditFormItem = CType(e.Item, GridEditFormItem) Dim cmbDegree As RadComboBox = editedItem.FindControl("cmbDegree") Dim srv As New PICT.Web.Services.Careers.CareersClient Dim dSet As Global.PICT.Web.CVDataSet = srv.GetDegrees() cmbDegree.DataSource = dSet.Degree cmbDegree.DataTextField = "NAME" cmbDegree.DataValueField = "PKEY" cmbDegree.DataBind() End If End SubDoes anyone know how to get a Weighted Average Aggregate out of the PivotGrid?
Thanks,
Erik