I have an Asp.net website , and telerik controls on it. On page load I get ConvertFontToSpanfilter error as an alert. On clicking few times 'OK' on alert i am able to proceed normally.
I am not able to figure it out why it's happening . As i know we can disable the filter but is there any specific reason it's happening?
becasue it's random - right now i don't see on my pages
When a button in a RadListView is clicked, I want to change the text of the button on the client side. I can find the listview and the index of the row, but can't set the button text of the clicked button. The code below always changes the text of the button in the first record.
Also, is there an easier way to find the button without adding an attribute in radlistview1_ItemDataBound?
function updateBtn(sender, args) {
var listview = $find('<%=radlistview1.ClientID%>');
var myindex = sender._element.getAttribute("rowindex");
var btn = $telerik.findControl(document.documentElement, "radbutton1");
//How to select the button that was clicked?
btn.set_text("Clicked"); //works for first row only
}
<telerik:RadListView runat="server" ID="radlistview1" DataSourceID="SqlDataSource1" DataKeyNames="myRecordid">
<ItemTemplate>
<telerik:RadButton runat="server" ID="radbutton1" Text='button'
ButtonType="StandardButton" RenderMode="Auto"
OnClientClicked = "updateBtn"
AutoPostBack="false" UseSubmitBehavior="false">
</telerik:RadButton>
</ItemTemplate>
</telerik:RadListView>
Private Sub radlistview1_ItemDataBound(sender As Object, e As RadListViewItemEventArgs) Handles radlistview1.ItemDataBound
' Add an attribute to the button that can be passed to JS
If TypeOf e.Item Is RadListViewDataItem Then
Dim item As RadListViewDataItem = TryCast(e.Item, RadListViewDataItem)
Dim btn As RadButton = TryCast(item.FindControl("radbutton1"), RadButton)
btn.Attributes.Add("rowindex", item.DataItemIndex.ToString())
End If
End Sub
Hi,
I have a Gridhyprlink column with a DataNavigateUrlFormatString and 2 DataNavigateUrlFields
however I want one of those fileds to be conditional on another Column;
eg
DataNavigateUrlFormatString="https://main.aspx?etn={0}&pagetype=entityrecord&id={1}"
DataNavigateUrlFields= ((if (entityid ==2) {a} else {b}) ,mainid )
Hi,
How do I specify what I want to be the tootip for an unbound RadHTMLChart in code (VB)?
the code works but shows the Y value (tDays) in the tootip, I need it to show the Name field (Dept)
see code below:
Dim DeptSum = (From d In EmpData Group d By Dept = d.Department Into Group
Select Dept, tDays = Group.Sum(Function(d) d.Days)).ToList
Dim PieChartDays As New PieSeries
Dim PieSlice As PieSeriesItem
For Each DP In DeptSum
PieSlice = New PieSeriesItem
PieSlice.Name = DP.Dept
PieSlice.Y = DP.Tdays
PieChartDays.SeriesItems.Add(PieSlice)
Next
Hello Developers!
I am using Telerik Radgrid with Excel-like filters for creating my data grids. One issue I face is I cannot filter with symbol '?' or any word starting with '?' like '?check'. It immediately redirects to 500 internal error. If the symbol comes after any other character, the filter works fine, like 'o?c'.
I use RadGrid with DB source and autopopulate columns according to datasource. My filters are Excel-like filters.
I can replicate the same issue in your demo webpage for Excel-like filters too.
Placed screenshots for reference.
URL used: Telerik Web UI Grid Excel-like Filtering Demo | Telerik UI for ASP.NET AJAX
Could you let me know what can be done for this? It is absolutely important for me to be able to filter with '?'
Thanks and Regards
Hi Telerik Community,
I have a question which is a little difficult to explain, that is why I attached an image to make it more clear.
I have multiple data points, and each data point has a Pitch attribute associated with it, this Pitch measurement unit is Degrees.
Using the Telerik Chart framework, is it possible to plot each data point at its associated degree angle value and then plot the next data point in relation to the previous. Essentially what we need to do is visually show a profile that is mathematically accurate. I have been able to successfully and accurately achieve this on paper using a protractor but want to digitally achieve this using the Telerik Chart.
Each data point also has a depth value which needs to be shown visually in relation to its associated pitch data point, this will give us the ground elevation relative to the pitch data point.
Would appreciate some guidance on this.
Kind Regards.
DateTimeOffset and RadGrid. Column does not show when this datatype is in resultset.
I have a dataTable with this datatype (DateTimeOffset) and this is the only column not showing.
I autogenerate the columns in the grid.
A workaround for now is to cast that column to datetime, or some other type in my SQL statement that generates the results. Just curious if this is something that is being worked on or known about?
I have a radgrid set to a datatable. Columns of type DateTimeOffset are hidden.
Why is this?
Roger