Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
82 views
Hi
I have permissions for accessing folders in my app. in the page I read permission and set ViewPath,UploadPath,..  to folder that users has permission for it.
It works, but problem is in this scenario: an admin (that has permission to all folders) login and view files, after logout another user login and all files are shown to him. it seems that the file explorer caches the directory structure.
So How can I delete this cache or solve the problem?
Thanks
Ianko
Telerik team
 answered on 19 Feb 2014
14 answers
42 views

I am getting really tied of working around Telerik bugs, caused by out of date updates..
Ie. when telerik are many releases behind dependent commercial products like jquery, and all AWS, VS, the list goes on and on..
Not sure if this is just not caring , or too lazy to bother..

Clearly Not acceptable..

When will this situation be addressed..






Georgi Tunev
Telerik team
 answered on 19 Feb 2014
3 answers
503 views

Validation works fine for RadTextBox but doesn't work for RadDropDownList. Need Initial value to be select.

01.<telerik:GridTemplateColumn HeaderText="SOURCE" HeaderStyle-Width="85px" UniqueName="SourceKey"
02.                                           DataField="SourceKey" Visible="true" SortExpression="Source">
03.                                           <ItemTemplate>
04.                                               <%# Eval("Source")%>
05.                                           </ItemTemplate>
06.                                           <EditItemTemplate>
07.                                               <span>
08.                                                   <telerik:RadDropDownList runat="server" ID="rddlSources" DataSourceID="odsSources"
09.                                                       DataValueField="SourceKey" DataTextField="Source" Width="83px" DefaultMessage="Select">
10.                                                   </telerik:RadDropDownList>
11.                                                   <span style="color: Red">
12.                                                       <asp:RequiredFieldValidator ID="rfvSource" ControlToValidate="rddlSources" ErrorMessage="*Required"
13.                                                           runat="server" Display="Dynamic">
14.                                                       </asp:RequiredFieldValidator>
15.                                                   </span></span>
16.                                           </EditItemTemplate>
17.                                       </telerik:GridTemplateColumn>
18.                                       <telerik:GridTemplateColumn HeaderText="ACCOUNT" HeaderStyle-Width="100px" SortExpression="Account"
19.                                           UniqueName="Account" DataField="Account">
20.                                           <ItemTemplate>
21.                                               <asp:Label runat="server" ID="lblAccount" Text='<%# Eval("Account") %>'></asp:Label>
22.                                           </ItemTemplate>
23.                                           <EditItemTemplate>
24.                                               <span>
25.                                                   <telerik:RadTextBox Width="98px" runat="server" ID="rtxtAccount">
26.                                                   </telerik:RadTextBox>
27.                                                   <span style="color: Red">
28.                                                       <asp:RequiredFieldValidator ID="rfvAccount" ControlToValidate="rtxtAccount" ErrorMessage="*Required"
29.                                                           runat="server" Display="Dynamic">
30.                                                       </asp:RequiredFieldValidator>
31.                                                   </span></span>
32.                                           </EditItemTemplate>
33.                                       </telerik:GridTemplateColumn>

 

Angel Petrov
Telerik team
 answered on 19 Feb 2014
2 answers
70 views
Is there any clear summary of how to deal with IE10?  

IE9 seems ok, at least in compatibility mode and I'll be testing IE11 tonight.

Even when upgraded to the latest Telerik Ajax version, there seem to be compatibility issues with the RadGrid and RadSplitter.
Boris
Top achievements
Rank 1
 answered on 19 Feb 2014
2 answers
110 views
Hi,
I keep the current skin used in an xml file. If the user wants to change the skin, I show the skin manager with the choose option.

How do I set the RadSkinManager drop down box to the skin that is currently being used instead of it showing 'Default' - if I am using Outlook I want the list to show Outlook as the current selection.

Thanks

Pete
Pete
Top achievements
Rank 1
 answered on 19 Feb 2014
3 answers
81 views
I am working completely Server-Side (where possible), programming on the DNN Platform. When creating regular Appointments for the RADScheduler, everything works perfectly fine (See: Screenshot01). When I edit the record and add a valid RecurrenceRule (using the RecurrenceEditor) and then reload the RADScheduler (either Initial Load or Postback), the Master Appointment vanishes and none of the Occurances appear either (See: Screenshot02). However, if I navigate to another month and come back, then I get partial boxes for each Appointment…the drawing is all messed up (See: Screenshot03).

I’ve tried tracking for the Events being fired, and I see the AppointmentCreated() and the AppointmentDataBound() are firing for each Appointment/Occurance, no errors seemed to crop up. The RecurrenceParentID is set to NULL (ie: Nothing in VB.Net).

Can anyone shed some light as to why this is happening? I am completely baffled at the moment and I have been banging my head on this for two days now.

Thanks!
Ben
Top achievements
Rank 1
 answered on 19 Feb 2014
4 answers
290 views
We have the dll installed in the GAC, and the following line in our Machine.config

<add assembly="Telerik.Web.UI, Version=2010.2.713.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />

We have the following line in our application web.config:

<controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
</controls>

We have the following line at the top of the .aspx page
<%@ Register tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>

We do not have intellisense in our aspx page.  The project will build and work, but no intellisense.

If we change the register tag at the top of the aspx page to the following:

@ Register tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2010.2.713.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" 

it will begin working.  However, we can not add this line to all of our aspx pages because when we upgrade to a new version we would have to update all of our pages or else we get an ambiguity error.
Danail Vasilev
Telerik team
 answered on 19 Feb 2014
8 answers
157 views
Hi,

We are using RadSearchBox on one of our ASP.NET WebForms application pages and have noticed browser memory leaks running in IE8 (using
sIEve to detect the memory leaks).

It appears that leaks occur when SearchContextItems are added to the RadSearchBox.

I have created a sample app that demonstrates the leaks. The sample app is built in VS2012 .NET 4.0 using Telerik RadControls for Ajax Q3 2013 v 2013.3.1114.40.

Attached is screenshot of sIEve results. Memory usage in red is when I reloaded the page (ie, click Go button). Memory usage in green is when I unloaded the page (ie, clicking about:blank).

It is likely that upgrading to a newer browser would correct the leaks, but unfortunately, we're mandated by corporate IT to use IE8 and have no choice for upgrading the browser (Chrome and Firefox are not an option either).

Thanks in advance for any assistance you can provide.

Source Code:

default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="WebApplication4._default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>RadSearchBox Leak</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
        </Scripts>
    </asp:ScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server" UpdatePanelsRenderMode="Inline"/>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel" runat="server" />
    <telerik:RadSearchBox ID="uxRadSearchBox" runat="server"  DropDownSettings-Width="80px" DropDownSettings-Height="50px" Width="360px" EnableAutoComplete="false">
        <SearchContext ShowDefaultItem="false">
        </SearchContext>
    </telerik:RadSearchBox>
    </form>
</body>
</html>

default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication4
{
    public partial class _default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                Telerik.Web.UI.SearchContextItem item = null;
                string context = String.Empty;
                for (int i = 0; i < 3; i++)
                {
                    context = "Context" + i.ToString();
                    item = new Telerik.Web.UI.SearchContextItem(context, context);

                    // LEAK: Browser leak on the following line
                    this.uxRadSearchBox.SearchContext.Items.Add(item);
                }
            }
        }
    }
}

-ScottP
Dimitar Terziev
Telerik team
 answered on 19 Feb 2014
3 answers
144 views
Hi,

In the index.aspx of my web application i'm using a RadAjaxPanel do paginate a repeater . On top of the page is a list from A to Z where the user can navigate throught the letters for a faster pagination.

What i need is to enable the browser history for this pagination.

I have enabled the "EnableHistory=true" on the RadAjaxPanel and add some history point on the server side.
The browser history now shows every pagination, what is perfect.

But the problem is that when hit the back button on the browser, the event OnNavigateHistory is never called.

The question is : Is that possible to use RadAjaxPanel on this scenario ? How can I do it ?

Thanks,

Alfredo



Maria Ilieva
Telerik team
 answered on 19 Feb 2014
1 answer
46 views
hi
in Web.sitemap =>

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode title="Home" url="Default.aspx">
    <siteMapNode title="info Base" url="">
      <siteMapNode title="Provinces" url="~/AppUsers/addProvince.aspx"/>
      <siteMapNode title="Cities" url="~/AppUsers/addCity.aspx" />
      <siteMapNode title="Sender" url="~/AppUsers/addFactory.aspx" />
      <siteMapNode title="NMP" url="~/AppUsers/addRepresentation.aspx"/>
</siteMapNode>

and in web from =>


 <telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="RadSiteMapDataSource1" Skin="Web20" >  </telerik:RadMenu>
 <telerik:RadSiteMapDataSource ID="RadSiteMapDataSource1" runat="server" ShowStartingNode="false"  />


but when i see menu , menu show title and url . i wana to show title only in menu
show picture ( attach pic )
Boyan Dimitrov
Telerik team
 answered on 19 Feb 2014
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?