Hello, I'm using a simple RadRadioButtonList.
The background image for the buttons is off-center, and looks really bad:
Using the browser devtools, disabling the background image removes the off-center black circle.
I haven't figured out how to disable it otherwise, or how to fix it. I don't desire to have any skin whatsoever, but I haven't figured out to do that either. Skin="" doesn't seem to do anything on the control.
If I have to create a custom skin, I'll throw in the towel and use the built in asp.net controls.
Advise?
Thanks.
I have a main page with RadTabStrip/RadMultiPage setup. I'd like to trigger an update to a portion of that page when user makes a change in a RadPageView. So on my main page I have a portion that is a summary with datasource and form and numbers need to update as people make changes to various sub-pages.
On each of those RadPageView I have aspx pages with RadForms with (edit/update/cancel buttons). I'd also like to catch if a user tries to change tabs, navigate away from the page, or close with the X on the upper right browser if they are in edit mode on a RadPageView aspx page.
Any assistance would be greatly appreciated.
Hi Telerik Team,
Using Telerik.Web.UI.ExportInfrastructure we are generating an excel , and looking out a way to fill the cell colors , which we achieved but after filling cell colors borders getting disappeared. I tried using below code to set borders but still borders not applying
int currentRow = 1; eis.Table WS_Sample = new eis.Table("Sample"); eis.Row headerRw1 = WS_PriorAuthorization.Rows[currentRow]; headerRw1.Style.BackColor = System.Drawing.Color.Red; headerRw1.Style.BorderLeftColor = System.Drawing.Color.Green; headerRw1.Style.BorderRightColor = System.Drawing.Color.Green; //headerRw1.Cells[1, currentRow].Style.BorderLeftWidth = Unit.Pixel(35); //headerRw1.Cells[1, currentRow].Style.BorderRightWidth = Unit.Pixel(35); headerRw1.Style.BorderLeftWidth = Unit.Pixel(35); headerRw1.Style.BorderRightWidth = Unit.Pixel(35); headerRw1.Style.ForeColor = System.Drawing.Color.Black; headerRw1.Style.Font.Bold = true;
<telerik:RadAsyncUpload runat="server" ID="rauAttachDoc" DropZones=".DropZoneExit" />
<div id="divDropArea" runat="server" class="DropZoneExit"><%=Q2Utils.FormatDropZoneText(rauAttachDoc)%></div>
For Each fileUploaded As UploadedFile In rauAttachDoc.UploadedFiles
........
Next
I have uplaod a lic2 type file into RadAsyncUpload. But rauAttachDoc.UploadedFiles.count is zero. unbale to read the file from the behind code.
Hi.
We have an issue with the RadEditor causing an entire Ajax update panel to fail on an async postback.
This only happens if the RadEditor has been generated dynamically, if it is put in at design time for example on a user control. However our existing code base is heavily reliant on the editor being created dynamically.
We have tested this on most browsers and only seems to be an issue on Safari V14 and Safari V15. We have also tested using various versions of the Telerik controls including the Jan 2022 release. IMO It’s likely that the problem has come about because of a change to Safari, rather than a change to the RadEditor.
I have recreated this using a standard webforms app template in VB in visual studio 2019 , targeting framework 4.7
This can be created using a very simple form.
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div>
<asp:Label ID="Label2" runat="server" Text="Outside The Panel"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
<ContentTemplate>
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
<asp:Label ID="Label1" runat="server" Text="Inside the Panel"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Button2"/>
</Triggers>
</asp:UpdatePanel>
<asp:Button ID="Button1" runat="server" Text="Sync"/>
<asp:Button ID="Button2" runat="server" Text="ASync"/>
</div>
</form>
with a very simple code behind and running in a version of Safari 14 +
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim radEditor = New Telerik.Web.UI.RadEditor
radEditor.ID = "Editor2"
RadEditor.Enabled = True
PlaceHolder1.Controls.Add(RadEditor)
End Sub
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Label1.Text = "Updated Label 1 (sync)"
Label2.Text = "Updated label 2 (sync)"
End Sub
Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Label1.Text = "Updated Label 1 (async)"
Label2.Text = "Updated label 2 (async)"
End Sub
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TelerikTest._Default" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="scriptManager" runat="server"></telerik:RadScriptManager> |
<telerik:RadAjaxManager ID="ajaxManager" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="divRight"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="divRight" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="divLeft"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="divLeft" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<div> |
<table> |
<tr> |
<td> |
<div id="divLeft" runat="server" style="height:2000px; width:400px; border:solid 1px black;"> |
<asp:Button ID="btn1" runat="server" Text="Post Back" onclick="btn_Click" /> |
</div> |
</td> |
<td> |
<div id="divRight" runat="server" style="height:200px; width:400px; border:solid 1px black;"> |
<asp:Button ID="btn2" runat="server" Text="Post Back" onclick="btn_Click" /> |
</div> |
<div style="height:1800px; width:400px; border:solid 1px blue;"></div> |
</td> |
</tr> |
</table> |
</div> |
</form> |
</body> |
</html> |
using System; |
using System.Collections; |
using System.Configuration; |
using System.Data; |
using System.Web; |
using System.Web.Security; |
using System.Web.UI; |
using System.Web.UI.HtmlControls; |
using System.Web.UI.WebControls; |
using System.Web.UI.WebControls.WebParts; |
namespace TelerikTest |
{ |
public partial class _Default : System.Web.UI.Page |
{ |
protected void Page_Load(object sender, EventArgs e) |
{ |
} |
protected void btn_Click(object sender, EventArgs e) |
{ |
System.Threading.Thread.Sleep(5000); |
} |
} |
} |
Is there a recommended way to use the RadBinaryImage control to serve an image via CSS?
Ideally, I would like to replace a line like this:
background-image: url("mybackground.gif");
with something like this:
background-image: url("<%= RadBinaryImage1.UrlTheBrowserRequests %>");
<telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" />
...but as far as I can tell, the serving url not exposed. Is the url is deterministic enough to recreate?
I'm open to alternatives, too. The best I've come up with so far is styling the image as a relatively positioned layer, but there are significant complexities and limitations to that approach, and any explicit sizing plays poorly with the serverside size that get rendered by the control.
Thanks,
Phil