Yahoo Interface with telerik upgrade - 2021.3.915.45

0 Answers 16 Views
Window
Sachita
Top achievements
Rank 1
Iron
Iron
Iron
Sachita asked on 05 Apr 2022, 10:38 AM

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));
}

Can anyone help me out to resolve this issue

No answers yet. Maybe you can help?

Tags
Window
Asked by
Sachita
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or