Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
345 views
hi,
i've successfully registered a default skin for my application in the web.config file and it works great. what i'd like to do is give my users the oppertunity to select from the 6 or 7 default skins provided by Telerik and, based upon user selection, make that the global skin instead. is there a simple way to override the web.config setting and make it default for all controls?
thanks,
rob
Chris
Top achievements
Rank 1
 answered on 23 Nov 2011
1 answer
66 views
I'm trying to implement a scheduler similar to the "First Look" scheduler on the demo site using a WCF service. I've got it working ok, but I can't seem to find all the code for the checkbox filtering. Specifically what happens when in the OnClientsAppointmentsPopulating event is fired. 

What is happening here? 
eventArgs.get_scheeventArgs.get_schedulerInfo().CategoryNames = categoryNames;
It looks like custom data is being sent through ISchedulerInfo, but I can't seem to find any example code showing how this is done.

If someone can point me in the right directions I'd appreciate it.

Thanks.
Peter
Telerik team
 answered on 23 Nov 2011
1 answer
131 views
Hi,

I have an issue with RadSplitterBar. When I am clicking on Splitterbar, cursor made is changed to resize. It is allowing me to resize the associated radpane. My problem is once the cursor change to resize mode it remain in same mode. and when I click on somewhere else in screen then it comes to normal default mode. This issue comes with IE Browser only. It is working fine with FireFox and Chrome.
I am trying to send you a demo application to explain my issue but I don't find any option for the same. Here is my page design:


<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
    </Scripts>
   </telerik:RadScriptManager><br>
   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>
   <
div style="height:100%">
<telerik:RadSplitter runat="server" ID="spltReviewerMain" Orientation="Vertical" ResizeWithBrowserWindow="true" LiveResize="false" PanesBorderSize="0" ResizeWithParentPane="true" SplitBarsSize="0" BorderStyle="None" BorderSize="0" Width="100%" Height="800">
<telerik:RadPane ID="pnLeft" runat="server" Height="100%">
<telerik:RadPanelBar runat="server" BorderColor="Transparent" ID="RadPanelBar2" >
                <Items>
<telerik:RadPanelItem Expanded="True" BorderColor="Transparent" runat="server" ID="pnlItemTasks" Text="text" Width="100%">
 <ContentTemplate>
<telerik:RadTreeView runat="Server" ID="RadTreeView1" ShowLineImages="false" EnableViewState="true">
 <Nodes>
<telerik:RadTreeNode Text="test1" runat="server"></telerik:RadTreeNode>
                                        <telerik:RadTreeNode Text="test123" runat="server"></telerik:RadTreeNode>
                                        <telerik:RadTreeNode Text="test112345" runat="server"></telerik:RadTreeNode>
                                 </Nodes>
</telerik:RadTreeView>
</ContentTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
</telerik:RadPane>
<telerik:RadSplitBar runat="server" ID="spltBarLeft" CollapseMode="Forward" Width="100%" />
        <telerik:RadPane Locked="false" runat="Server" ID="pnRight" Width="70%" Height="100%">
        <table width="99%" frame="box" border="0px" style="height: 99%">
 <tr>
    <td valign="top" colspan="2" align="center" class="style1">
                            <asp:Label ID="DocName" runat="server" Text=""></asp:Label>
                    </td>
                 </tr>
                 <tr>
                     <td colspan="2" height="94%">
                            <iframe runat="server" id="frShowDocs" height="100%" width="100%" borderstyle="Inset" style="position: relative;" visible="true" src="http://localhost:58070/IframeInnerPage.aspx" borderwidth="1px"></iframe>
                     </td>
</tr>
</table>
</telerik:RadPane>
</telerik:RadSplitter>
<span class="Apple-tab-span" style="white-space:pre">   </span>
</
div></form></body>



I am using version v4.0.30319 (2010.3.1317.40). 


Regards,
Prashant
Prashant
Top achievements
Rank 1
 answered on 23 Nov 2011
13 answers
390 views
Once I set the SpecialDays collection they are styled correctly, but as soon as I hover over them I guess they go back to their hover style.

How do I make the SpeicalDays style stick?

CODE BELOW:

<asp:ScriptManager id="ScriptManager" runat="server" />
 <telerik:radajaxmanager id="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadCalendar1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadCalendar1"></telerik:AjaxUpdatedControl>
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:radajaxmanager>
            <telerik:radcalendar
                id="RadCalendar1"
                runat="server"
                Skin="Black"
                AutoPostBack="true"
                MultiViewColumns="2"
                MultiViewRows="2"
                EnableMultiSelect="false"
                EnableViewState="true"
                OnSelectionChanged="RadCalendar1_OnSelectionChanged"
                TitleFormat="MMMM yyyy"
                CultureInfo="English (United States)"  
                >
                <DisabledDayStyle BorderColor="#573d08" BackColor="#573d08" CssClass="SelectedClass" />
            </telerik:radcalendar>




for (Int16 x = 0; x <= Math.Abs(ts.TotalDays); x++)
        {
            RadCalendarDay spec = new RadCalendarDay();
            DateTime dateV = StartDate.Value.AddDays(x);
            spec.Date = dateV;
            spec.IsSelectable = true;
            spec.IsDisabled = true;
            //spec.IsSelected = true;
            RadCalendar1.SpecialDays.Add(spec);  
        }
Joe
Top achievements
Rank 1
 answered on 23 Nov 2011
6 answers
135 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
128 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
283 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
206 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
72 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
104 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?