Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
145 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
101 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
337 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
193 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
176 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
68 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
1 answer
54 views

in web form =>


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



in web.sitemap =>

<?xml version="1.0" encoding="utf-8" ?>
  <siteMapNode title="Home" url="Default.aspx">
    <siteMapNode title="Base info" url="">
      <siteMapNode title="provinces" url="~/AppUsers/addProvince.aspx"/>
      <siteMapNode title="Cities" url="~/AppUsers/addCity.aspx" />
      <siteMapNode title="Sender" url="~/AppUsers/addFactory.aspx" />
      <siteMapNode title="NVP" url="~/AppUsers/addRepresentation.aspx"/>
    </siteMapNode>

when i used this code , menu show url property (in sitemap) , but i wana to show title only and hide url.
 see the picture attachment file
please help me .

Boyan Dimitrov
Telerik team
 answered on 19 Feb 2014
45 answers
1.4K+ views
I had sorting, paging, and filtering all working together with a Object Data Source in the ASP.Net version.  I can get the paging and sorting to work in the new ASP.NET AJAX version, but I am having a problem with paging when using a filter.  Apparently, the maximumRows parameter of the data source is returning 2147483647 instead of 10 which is the value defined in the Page Size property.  The maximumRows parameter works fine while paging and sorting, so I don't understand why it doesn't seem to work while paging and filtering.

Al
Vasil
Telerik team
 answered on 19 Feb 2014
12 answers
862 views
I've inserted RadCaptcha control on login.aspx page.I've radscriptmanager on the same page.
when I run this page,in Firebug i found "src" property of image sets to -

src="../Telerik.Web.UI.WebResource.axd?type=rca&guid=bff339e1-b3e3-4af8-aaca-0ca8cf274883"

& if I hover mouse on this property it says "failed to load given URL."

but on other page I tried the same thing and found that src sets to
src="Telerik.Web.UI.WebResource.axd?type=rca&guid=bff339e1-b3e3-4af8-aaca-0ca8cf274883"

Difference is only "../"


Can you please tell me how to solve this problem?
In Firebug,If I manually remove syntax "../" from src property then only Image loads.

Please reply ASAP.


Thanks
Slav
Telerik team
 answered on 19 Feb 2014
2 answers
75 views
I want to create followign scinerio

On my page i hv on grid on click i open one popup it contains grid if user select one record then from that selected row only need to pick up 2 column value and bind that value into parent page grid values
Eyup
Telerik team
 answered on 19 Feb 2014
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?