RadButton's focus state styling is missing in Bootstrap. Steps to reproduce: 1. Open https://demos.telerik.com/aspnet-ajax/button/examples/keyboardsupport/defaultcs.aspx?skin=Bootstrap 2. Focus any of the first buttons using the Tab key Result: No focus styles are applied Expected: Follow the steps above in Sunset skin ----------------------------------------- Workaround: button.RadButton.rbButton:focus { box-shadow: 0 3px 5px rgba(0, 0, 0, 0.125) inset; }
I am using the "PostbackTriggers" property of the Upload control, as described on your web site article "How to Persist Uploaded Files". This works well for the situation where I need a postback on a control, but that control is not a "submit" control. The problem comes when I use one of the "submit" controls (listed in the PostbackTriggers property), but a server side validation error occurs, and the form data (including uploaded files) is NOT saved to the DB. (This is a type of validation that can only be done on the server side.) In that case, the upload control loses the uploaded file information. Thus two questions: 1. Is there a way on the server side to tell the control that an error has occurred, and to continue to persist the uploaded file information? 2. Is there a way for the upload control to ALWAYS persist the uploaded file information until told on the server side that I have extracted the information I need from it?
Hi,
It will be great to have a property in a raddock to automatically adjust its height/width to occupy the new space created when some other raddock in the layout is minimized. This will avoid the need for the user to adjust the height/width of the raddock which is still visible.
I have a RadCheckboxList In an ASP Panel. When Enabling/Disabling the panel the CheckBoxList does not Enable/Disable. I tested this with a simple mock up with additional controls that work as expected:
<asp:Panel ID="TestPanel" runat="server" Enabled="true">
<telerik:RadCheckBoxList ID="WeeklyDays" runat="server" Columns="4" AutoPostBack="false">
<Items>
<telerik:ButtonListItem Text="Monday" Value="2" />
<telerik:ButtonListItem Text="Tuesday" Value="4" />
<telerik:ButtonListItem Text="Wednesday" Value="8" />
<telerik:ButtonListItem Text="Thursday" Value="16" />
<telerik:ButtonListItem Text="Friday" Value="32" />
<telerik:ButtonListItem Text="Saturday" Value="64" />
<telerik:ButtonListItem Text="Sunday" Value="1" Selected="true" />
</Items>
</telerik:RadCheckBoxList>
<telerik:RadTextBox ID="TestText" runat="server"></telerik:RadTextBox>
<telerik:RadDatePicker ID="TestDate" runat="server"></telerik:RadDatePicker>
</asp:Panel>
<br />
<telerik:RadCheckBox ID="ToggleEnabled" runat="server" Text="Toggle Panel" AutoPostBack="true" Checked="true" OnCheckedChanged="ToggleEnabled_CheckedChanged"></telerik:RadCheckBox>
protected voidToggleEnabled_CheckedChanged(objectsender, EventArgs e)
{
TestPanel.Enabled = Convert.ToBoolean(ToggleEnabled.Checked);
}
The current colors, #0082CC and #FFFFFF that are used for forecolor and backcolor, have 4.14:1 color contrast ratio: https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=0082CC
The minimum required color contrast ratio is 4.5:1 for AA Compliance, and 7:1 for AAA Compliance.
A possible alternative color for the #0082CC blue can be #007CC.
Hi Telerik
I get this error when opening WebControl EditForm from a RadGridView. I am using latest version of Telerik. Just updated :)
0x800a139e - JavaScript runtime error: Sys.InvalidOperationException: Cannot serialize non finite numbers.
An error will occur when the Index equals the number of items in the collection
private static ClientOperation<T> Remove(ControlItemCollection items, int index)
{
if (index < 0 || index > items.Count) // should be >= instead
return null;
var item = items[index];
items.RemoveAt(index);
var operation = new ClientOperation<T> {Item = (T) item, Type = ClientOperationType.Remove};
return operation;
}
Hi Team,
I received this from Khurram,
One small suggestion is for your ASP.net AJAX library to include two themes outside the box i.e. Windows 10 Dark and Windows 10 Light theme.
Editor is not maintaining the Format of text, specifically the bullet numbers, when copied from MS word.
You can use the attached content to reproduce the problem in the Overview demo of the control.
One tool that can help with testing for the contrast ratio is ANDI.
From Admin: Share in this thread the most impactful contrast issue here, sharing the control and its setup, the skin and the exact elements that are failing the contrast test.
Greetings!
Description:
I have found a Cross-Site Scripting issue in the rich text editor, RadEditor. This is not in a body where user provides certain strings, rather it's in the text properties which gets sent along with the user input, such as font-style. The developers were able to follow the filtering mechanisms given in at https://docs.telerik.com/devtools/aspnet-ajax/controls/editor/managing-content/prevent-cross-site-scripting-(xss), but it provides protection for the inputs given in <textarea>, and for the properties values. Hence XSS is still possible
Steps for Reproduction:
1. Open up the text editor {{Screenshot 2020-09-23 at 12.08.51 PM.png}}
2. Input a string and change its font style.
3. Click on submit and intercept the request. {{Screenshot 2020-09-23 at 12.14.45 PM.png}}
4. Now we need to modify the request body for parameter of texteditor's ID. You may notice that the font-style is set and sent by using a <span>.
RadEditor1=%253cspan%20style%253d%2522font-family%253a%20%2527MS%20Sans%20Serif%2527%253b%2522%253etextexttext%253c%2Fspan%253e
Change parameter 'RadEditor1's value with the following:
RadEditor1=%253cspan%20onmouseover%253d%2522document.body.innerHTML%253d%2527ioioioioioioioioo%2527%252bdocument.cookie%2522%20style%253d%2522font-family%253a%20%2527MS%20Sans%20Serif%2527%253b%2522%253etextexttext%253c%2Fspan%253e
5. Submit and notice the 200 OK response. Now go to the text editor and notice that the string texttexttext can be seen. {{Screenshot 2020-09-23 at 12.24.18 PM.png}}
6. Put a mouse cursor on the string and notice that it gets changed to ioioioioioioioioo<domainCookies>.
##################
Please let me know if given information doesn't suffice the abilities for reproduction.
Thanks,
Dhiraj
When using the Designer, the Default Values displayed for properties do not reflect the Default values from Lightweight RenderMode.
One particular scenario is when creating a GridButtonColumn for RadGrid that is set to LinkButton. While the Designer shows the ButtonType set to "LinkButton" by default, upon rendering the Grid, the ButtonType is FontIconButton.
There is no way of changing that in the Designer.
I am looking for a simple clock image which I can set from code behind with, for example, startime=1000 | endtime=1600 and see a little circle with a clock face with a "pie slice" shaded in to represent the period between 10am and 4pm.
I am not looking for a time picker (that's already done in the Edit Form) - I need a way of displaying a little visual indicator like a clock face / pie chart type of graphic with a shaded area showing the user a range such as 10am-4pm, 2pm-4pm, 8am-1pm etc.
I think the minimum requirements would be:
1. Skin support (I use Bootstrap but all standard skins should be supported)
2. Be able to define a "start" and "end" range for the time slots around the edge
3. Be able to choose a beginning slot and an end slot
4. Be able to add a label in the centre (in my case it would Date but it would be useful to be able to make it something like RadClockRange.CentreLabel.Text="something"). Also, maybe the label could have properties such as RadClockRange.CentreLabel.Colour=Red / .CentreLabel.FontSize=16 etc.
5. It would be nice to databind (I use dbo.Appointments.TimeStart="11" and dbo.Appointments.TimeEnd="15" but it could be user controllable - like the scheduler - to use a user definable field in a table)
6. A range of sizes would be useful
Sample:
Hi,
currently the only way to set the translation for the "All" option that is created through the enabled "EnableAllOptionInPagerComboBox" property is to set the translation in the "RadGrid1_ItemDataBound" method, which is described here: Localization on RadGrid: Paging Option All
It's a workaround for a missing localisation. By setting the translation in the RadGrid1_ItemDataBound method the if-statement is being checked for every row processed, which is not good for performance.
Could you please make it possible to set the translation with a property and have the default value set in the resource file of the grid?
Thank you.