Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
98 views
Hi ,
function OnClientItemOpening(menu, args) {
        var item = args.get_item();
        var cols = args._item._itemData.length;
        for (var j = 0; j < cols; j++) {
            if (args._item._itemData[j].value == "FileID" || args._item._itemData[j].value == "fileSizeValue" )
              {
                if (args._item._itemData[j].value == "fileSizeValue") {
                    item.get_items().getItem(j).get_element().style.display = "none";
                }
                else {
                    item.get_items().getItem(j).get_element().disabled = true;
                }
            }
        }
  
    }

With this code , i am able to disable/hide the coulmns of the HeaderContextMenu. But this works fine only with IE , not with Mozilla firefox.
Both the display and disabled properties are not working only in FireFox browser.
We are in urgent need of it. Kindly help us in solving this issue as early as possible.

Thanks,
Sudha.


Tsvetina
Telerik team
 answered on 23 Nov 2011
3 answers
88 views
Hi,

I just updated my telerik dll and have found that my upload controls have all stopped working in FireFox 6, but are fine in IE....
Does anyone know why?
Jaymie
Top achievements
Rank 1
 answered on 23 Nov 2011
0 answers
249 views
A rather popular scenario when using the RadToolTip is to use a single instance on the page and utilize the onmouseover event of the  targeted elements to set a new target for the tooltip via JavaScript and show it. Generally the better approach would be to use a RadToolTip for each control or a RadToolTipManager to load content on demand, yet using a single instance reduces the markup on the page, so it is sometimes used.

When you change a RadToolTip's TargetControl (or TargetControlID) then call its show() method since Q3 2011 you need to do so with a small timeout, e.g.:

<input type="text" onmouseover="showToolTipNewTarget(this);" />


<script type="text/javascript">
    function showToolTipNewTarget(newTarget) 
    {
        var radTooltip1 = $find("RadToolTip1");
        radTooltip1.set_targetControl(newTarget);
        setTimeout(function () {
            radTooltip1.show();
        }, 20);
    }
</script>



If you do not use this timeout the necessary calculations cannot be performed and usually the tooltip will be shown next to the previous target.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 23 Nov 2011
1 answer
152 views
Hi,

Because of some incompatibilities to IE9, we had to upgrade Telerik Ajax controls recently from 2009.3.1103.35 to 2011.2.915.35.

It worked fine locally and on the Beta server but it won't work on the Live environment where we have the files on a net share.

It works properly with the old Telerik version though. We DO have IntranetZone set as FullTrust as indicated in similar posts. Otherwise even the old version of Telerik controls wouldn't work.

Could you please advise? We need this upgrade up and running as soon as possible so that the IE9 users can make use of the Teletik controls.

Thank you,
Carlos Guarany

Server Error in '/' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Reflection.Assembly._GetExportedTypes() +0
   System.Web.Compilation.BuildResultMainCodeAssembly.FindAppInitializeMethod() +41
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11201354
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +185
   System.Web.Compilation.BuildManager.CompileCodeDirectories() +654
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +658


Version Information: Microsoft .NET Framework Version:2.0.50727.4963; ASP.NET Version:2.0.50727.4955
Radoslav
Telerik team
 answered on 23 Nov 2011
1 answer
53 views
Hi All.
schedule run page index.apsx
Me Need Help for auto run page in time or date.
Thanks A Lot.
Plamen
Telerik team
 answered on 23 Nov 2011
2 answers
68 views
Hi,
I´m getting a System.Security.SecurityException when I use GroupByFields in the GridGroupByExpression section in the RadGrid.
It seems this property can not be used under medium trust with Q3 2011.
There is any workaround?
Best regards.
Juan Carlos.
Radoslav
Telerik team
 answered on 23 Nov 2011
3 answers
124 views
Upgraded to 2011.3.1115.35 and everything in my site is broken.  Every thing works fine using 2011.2.915.35.

Getting the following error on all pages with telrik controls.
[L]A critical error has occurred.
Telerik.Web.UI.RadPanelBar with ID='RadPanelBar1' was unable to find embedded skin with na#e 'Black'# Please, make sure that you spelled the skin na#e correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.
Radoslav
Telerik team
 answered on 23 Nov 2011
6 answers
732 views

 

We have used telerik controls in our project for development. Veracode has scan the code dlls and found security issues. Below are few secuirty issues.

Cross-Site Scripting - Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
telerik_web_ui_dll.Telerik.Web.UI.Appointment Appointment Clone()
telerik_web_ui_dll.Telerik.Web.UI.GridGroupPanel bool AddGroupByFromTableView(GridTableView, int, ref int)
telerik_web_ui_dll.Telerik.Web.UI.RadAjaxManager string RenderUserControl(string, object)
telerik_web_ui_dll.Telerik.Web.UI.GridAttachmentColumn System.Web.UI.WebControls.IButtonControl InitializeButtonInCell(GridItem)
telerik_web_ui_dll.Telerik.Web.UI.GridAttachmentColumn System.Web.UI.WebControls.IButtonControl InitializeButtonInCell(GridItem)
telerik_web_ui_dll.Telerik.Web.UI.GridAttachmentColumn System.Web.UI.WebControls.IButtonControl InitializeButtonInCell(GridItem)

there are many such items ,do have any justfication to prove that that these are not a secuirty concerns?
Lini
Telerik team
 answered on 23 Nov 2011
1 answer
58 views
Hi,

I need to do a demo for tomorrow using your ajax dock control.

But I've got some problem by only trying to reproduce your sample.

You have a method "OnClientInitialize" which call the javascript method "SetHandleDock".

But in this method:
function SetHandleDock(dock, args) {
            dock.set_handle(document.getElementById("Handle_" + dock.get_id()));
        }

with the dock.get_id(), I receive something like "with the dock.get_id(), I receive something like 
"ctl00_MainContent_RadDock1"

Because it's looks like that asp.net has changed my id(which was on start the RadDock1).

Then, when trying to get the element by id, will try to access to "Handle_ct100_MainContent_RadDock1" which doesn't exist, the one which exist has the name Handle_RadDock1.

How to avoid this behavior? Can I eventually specify to the RadDock the handle's id?

Slav
Telerik team
 answered on 23 Nov 2011
6 answers
391 views
Dear Team,

I have a RadGrid in which i group all the items and totals like below

GROUP:Income
ItemName                               Amount
Housing                  20000
Allowance                 40000
 TOTAL INCOME 60000
GROUP:Deduction
Transport                                  10000
Coffee                            10000
TOTAL  INCOME                       20000
Net(TOTAL INCOME-TOTAL DEDUCTION):40000                    

Right now, I can do the grouping on my RadGrid, but can't
A). Display Group Total as show above(I can display something like TOTAL:60000). I want the total Format to be like shown above
B).Get the difference between TOTAL INCOME - TOTAL DEDUCTIONS.
Please can some help me 
(i).FORMAT group sum of each group with different name e.g TOTAL DEDUCTION,TOTAL INCOME other than displaying the same name.
(ii). Compute the difference between the TOTAL INCOME-TOTAL DEDUCTION and call it 'NET'

I would also be glad to look at any demo.

Robert
TX.       

Radoslav
Telerik team
 answered on 23 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?