Hi,
i open a radwindow fro ma button inside a templatecolumn in a detailtable.
In the radwindow i have a radbutton when i click it the OnClick event doesn't fire.
Here the code.
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteT.Master" AutoEventWireup="true" CodeBehind="AnalisiExc.aspx.cs" Inherits="IPadAdmin.AnalisiExc" %>
Hi, I'm having trouble with a control called RadWindow. I show that control inside a normal asp form. The radwindow has a ContentTemplate inside it, and inside that content template I have all the controls of the form. What happens is that when the window is maximized then when you click on a datepicker or a comobox (both from telerik) the drop-down list of the combobox is not displayed nor the calendar of the radCalendar, which could be?
CODE:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmPruebaApariencia.aspx.vb" Inherits="frmPruebaApariencia" %>Dear Telerik Team,
We have purchased Telerik UI for ASP.NET AJAX UI 2010.1519. Now we are facing vulnerable issues as it is using jQuery 1.4.2.
One of the Telerik doc tells that
When Telerik upgraded jQuery version to 3.3.1, it faces incompatibilities with the MS AJAX framework and its __doPostBack() method. Due to which, Telerik downgraded jQuery version Telerik UI for ASP.NET AJAX R1 2019 - present are using a modified jQuery version 1.12.4 that includes security vulnerability backport fixes.
Is there a fix to overcome this issue other than upgrading the Telerik version to 2019 or greater?
I am trying edit Control buttons within my RadWindow; however I cannot find where I would do this, after hours of researching the code, and documentation of this; no luck.
The page in question generates after clicking a button on a webpage we have setup; I have tried to add style using a few methods:
I have attached pictures for reference, and you can see which file I am showing; please let me know, the picture showing the behaviors, (maximize, minimize, close) are the behaviors/buttons I want to adjust, the close (x button) I want to be aligned with the rest.
The button redirects to the pop up/RadWindow is the Review.Aspx page, the Pending.aspx is the page which has the button to click generating the Review page in question.
Hi,
Despite I know that only one windowmanager is allowed on a page....it just took me three hours to find out why a RadGantt isn't databinding at all without warning. The confilct lies in the fact that I had a seperate WindowManager defined on the page. is it possible to create a warning for this?
Thanks,
Marc
Hi Team,
We are having issue with yahoo interface after telerik upgrade.
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
RegisterIncludes();
_triggerLink.Text = Text;
if(!string.IsNullOrEmpty(MenuBodyId))
_menuPanel.Attributes.Add("menu-body", MenuBodyId);
var attributes = new List<string> {string.Format("clicktohide:{0}", ClickToHide.ToString().ToLower())};
_attributes.Text = string.Empty;
_attributes.Text += string.Join("|", attributes.ToArray());
_targets.Text = string.Empty;
if(Links != null && Links.Count() > 0)
_targets.Text = string.Join("|", Links.ToArray());
}
private void RegisterIncludes()
{
RegisterJs("utils", "~/include_common/YUI/test.js");
RegisterJs("container_core", "~/common/YUI/core-min.js");
RegisterJs("menu_min", "~/common/YUI/testmenu-min.js");
}
private void RegisterJs(string key, string relativeUrl)
{
if(!Page.ClientScript.IsClientScriptIncludeRegistered(key))
Page.ClientScript.RegisterClientScriptInclude(key, ResolveUrl(relativeUrl));
}
Hi Team,
I have an issue with OnClientClose and OnClientShow.
Its not firing when we call it from js file as mentioned in OnClientClose and OnClientShow.
Can anyone help me how to resolve this issue?
<telerik:RadWindowManager
id="WindowManager" runat="server"
OnClientClose = "Test.Extensions.Search.queryBuilderDialog.onSubmit" (Replaced ClientCallBackFunction as OnClientClose)
OnClientShow = "Test.Extensions.Search.queryBuilderDialog.onShow">
<windows>
<telerik:RadWindow id="TestWindow"
Left="250px"
Modal="true"
Runat="server"
Behaviors="Move,Resize,Close">
</telerik:RadWindow>
</windows>
</telerik:RadWindowManager>
Code of a Querydebug.JS file:
Test.Extensions.Search.BuildQueryDialog.prototype = {
//Properties
queryBuilderDialog: null,
this.queryBuilderDialog = new Test.Extensions.Search.BuildQueryDialog();
radWindow: null,
windowUrl: "",
//Methods
show: function (fieldId, isEdit) {
var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft,
scrollY = document.documentElement.scrollTop || document.body.scrollTop,
viewPortWidth = $D.getClientWidth(),
viewPortHeight = $D.getClientHeight(),
elementWidth = 600,
elementHeight = 400,
x = (viewPortWidth / 2) - (elementWidth / 2) + scrollX,
y = (viewPortHeight / 2) - (elementHeight / 2) + scrollY;
this.radWindow = Test.Utilities.WindowUtil.getRADWindow("TestWindow");
if (this.windowUrl === "")
this.windowUrl = this.radWindow.GetUrl();
var separator = (this.windowUrl.indexOf("?") == -1) ? "?" : "&";
var url = this.windowUrl + separator + "id=" + fieldId + "&isedit=" + isEdit;
this.radWindow.SetUrl(url);
this.radWindow.Show();
this.radWindow.MoveTo(x, y);
this.radWindow.SetSize(elementWidth, elementHeight);
},
//Event Handlers
onShow: function (radWindow) {
var currentCondition = Test.Extensions.Search.queryBuilder.getCurrentCondition();
//Set the argument object to the radWindow
radWindow.Argument = { conditionXml: $XML.SerializeXmlNode(currentCondition.toXml()) };
},
onClose: function (radWindow) { },
onSubmit: function (radWindow, returnValue) {
if (returnValue && returnValue.conditionXml) {
var currentCondition = Test.Extensions.Search.queryBuilder.getCurrentCondition();
currentCondition.fromXml(returnValue.conditionXml);
}
}
};
I have a window (1) that opens a radwindow dailog (2) as modal - this is working properly.
If the child dialog (2) opens a new radwindow (3), launched from the parent (1) and also set to modal,
I am having issue when closing the GRAND-CHILD (3) Window using browser close ('x' in top right corner)
If I use a button and call oWin.close(result) then there is no problem.
The grandchild (3) windows closes, passes the arguments to the parent (1) which then in turn operates on the Child (2) Window.
However, if all scenarios remain the same and the user clicks the "x" at the top right corner,
The grand-child (3) closes but the child (2) stays modal and does not have focus - the screen remains a transaprent grey.
I have tried to set focus on the child (2) window from within the OnClose method but it stays dimmed by the transparent layer.
How can I give proper focus the the second or child window when the third window is closed by using on ly the "X" ?
Thanks !
Hi, I have a RadWindow which appears when the button is clicked.
The code in aspx is:
<telerik:RadWindow ID="rwSubmitForReview" Title="Submit For Review" runat="server" Localization-PinOff="Pin off" Width="305px" Height="250px" InitialBehaviors="Pin" >
Code in aspx.cs is
string script = "function f(){$find(\"" + rwSubmitForReview.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
ScriptManager.RegisterStartupScript(this, this.GetType(), "key", script, true);
When i start to scroll down in the main page, the window disappears and i notice the top attribute follows the scroll? Please refer to the red highlighted line. How can I make it stop scrolling?
The telerik version is 2022.1.119.40.