According to the most recent "what's new" announcement, it looks like the Theme Builder should include the Material skin. Is it not there yet while creating a new theme? Am I missing something?
http://www.telerik.com/support/whats-new/aspnet-ajax
"The Theme Builder just got more powerful! Now, you can create and customize themes based on the Material skin, which also offers the popular ripple effect."
Hi guys,
One of the options of the RadEditor is an option to create links using UI (see the attached screenshot RedEditorVulnerability.jpg)
Here is an option to open a new tab when clicking this link on a front-end site.
What I've recently found is this article with an example https://dev.to/ben/the-targetblank-vulnerability-by-example which says that using the "target=_blank" is a potential security hole for any site in any browser for now.
Also there are some suggestions regarding on how to prevent this (by adding the rel="noopener noreferrer" attribute to a link).
So I'd like to ask you to add a possibility in the Hyperlink Manager to secure such links (e.g. some kind of checkbox "Protect my link from the target=_blank vulnerability"). This functionality may be very helpful for those clients who are focused on their sites' security.
Thank you!
I have an ASP.Net page with VB.net code-behind that has the RadPageLayout, RadComboboxes, TextBox, RadButton, and a RadGrid.
The RadComboboxes, TextBox, RadButton, and RadGrid are placed in the RadPageLayout.
I have set up everything so it looks good on a Desktop/Laptop PC and mobile devices of various sizes.
Everything looks good when the RadGrid has data.
But when the RadGrid has no data, it shrinks rather small. The RadGrid has RenderMode = Auto.
I would like to set the RadGrid to certain width sizes depending on the screen size so it stays the same size on the screen no matter if it has data or not. Is there a way to do that using media queries?
Sincerely,
Keith Jackson
Apologies if this has already been addressed.
Is there a way to intercept and access the dialog box that opens when Rename or New Folder is clicked? I'd like to select the text in the textbox (minus file extension if applicable) when the dialog box opens.
I've gotten feedback from my users who are frustrated with the current text box behavior of inserting text before "New Folder" or "[Existing File/Folder Name]" rather than replacing it when they begin typing after hitting Rename/New Folder as they expect because that's the behavior they're used to with Windows Explorer.
I have a RadGrid. In the RadGrid I have some GridTemplateColumns. In the EditItemTemplate I have a RadDropDownList. The GridTemplateColumn has a DataField defined. My expectation is that when the page loads that the RadDropDownList in the EditItemTemplate should have a SelectedValue that matches the DataField. But the SelectedValue is the default (blank) first item in the dropdown list. As soon as I select something from the dropdown list everything is happy including the Label that is in the ItemTemplate shows the text value for the item I selected from the dropdown list.
It works if I use a GridDropDownColumn instead, but I cannot in this case as I need to trigger javascript stuff based on an item selected from the dropdown.
How do I make sure that when the page loads the dropdown list's selected value matches the column's DataField value? It seems it should work this way automatically.
<
telerik:RadGrid
ID
=
"grdAddresses"
runat
=
"server"
AutoGenerateColumns
=
"false"
DataKeyNames
=
"Uid"
OnNeedDataSource
=
"grdAddresses_NeedDataSource"
OnBatchEditCommand
=
"grdAddresses_BatchEditCommand"
OnPreRender
=
"grdAddresses_PreRender"
EnableViewState
=
"true"
AllowSorting
=
"false"
AllowPaging
=
"false"
>
<
MasterTableView
EditMode
=
"Batch"
BatchEditingSettings-EditType
=
"Row"
>
<
Columns
>
<
telerik:GridButtonColumn
CommandName
=
"Delete"
ButtonType
=
"ImageButton"
UniqueName
=
"DeleteColumn"
ImageUrl
=
"~/Images/clear-button-24x24.png"
HeaderStyle-Width
=
"4%"
></
telerik:GridButtonColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Type*"
DataField
=
"TypeUid"
UniqueName
=
"Type"
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
/>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadDropDownList
ID
=
"ddlType"
runat
=
"server"
DataTextField
=
"DropDownListText"
DataValueField
=
"Uid"
DataFied
=
"TypeUid"
>
</
telerik:RadDropDownList
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Address*"
DataField
=
"Address"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Supplemental Address"
DataField
=
"AddressSupplemental"
/>
<
telerik:GridBoundColumn
HeaderText
=
"City/Locality"
DataField
=
"LocalityName"
/>
<
telerik:GridTemplateColumn
HeaderText
=
"Country"
DataField
=
"CountryUid"
UniqueName
=
"Country"
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
Text='<%# Eval("CountryUid") %>' />
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadDropDownList
ID
=
"ddlCountry"
runat
=
"server"
DataTextField
=
"DropDownListText"
DataValueField
=
"Uid"
OnClientSelectedIndexChanged
=
"countrySelectedIndexChanged"
>
</
telerik:RadDropDownList
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"State"
DataField
=
"StateUid"
UniqueName
=
"State"
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
Text='<%# Eval("StateUid") %>' />
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadDropDownList
ID
=
"ddlState"
runat
=
"server"
OnClientItemsRequesting
=
"stateItemsRequesting"
OnClientSelectedIndexChanged
=
"stateSelectedIndexChanged"
>
</
telerik:RadDropDownList
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Postal Code"
DataField
=
"PostalCode"
/>
<
telerik:GridTemplateColumn
HeaderText
=
"County"
DataField
=
"CountyUid"
UniqueName
=
"County"
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
Text='<%# Eval("CountyUid") %>' />
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadDropDownList
ID
=
"ddlCounty"
runat
=
"server"
OnClientItemsRequesting
=
"countyItemsRequesting"
>
</
telerik:RadDropDownList
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
Hi,
I have just moved ComponentArt to Telerik so please pardon my ignorance.
I am trying to have a radgrid inside a panelbar item and was just wondering if its possible to load the radgrid only when the panelbar item is expanded/clicked?
I do not want to bring it from server unless the user clicks the panelbar item.
Can you please show me an example which achieves this effect?
Thank you
Hi,
We have a RadSearchBox that get populated using DataTable. We also have a RadListview on the same page. Our requirement is when data is loaded into Search dropdown, if the data is already in RadListview, that value should appear as BOLD in search drop down. Attached is an example. If Alabama Power is in the search box it should appear as bold.
Can anyone please help me with that.
Me.RTLGrid1.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML
Me.RTLGrid1.ExportSettings.ExportOnlyData = True
Me.RTLGrid1.ExportSettings.OpenInNewWindow = True
Me.RTLGrid1.MasterTableView.ExportToExcel()
'Me.RTLGrid1.MasterTableView.ExportToCSV()