Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
69 views
Hello there,

I am using the radTreeView client side click on  a node.

Please can you tell me if there a way I can start and stop the node loading animation via javascript?

Many thanks


Plamen
Telerik team
 answered on 11 Jan 2012
3 answers
91 views
Hi,

I have 3 rad grid in a page. While exporting all the 3 grids should be exported into the same excel file with different sheet.
anyone can help me in this.
Nithya Rani
Top achievements
Rank 1
 answered on 11 Jan 2012
2 answers
62 views
Hi,

I have 3 rad grid in a page. While exporting all the 3 grids should be exported into the same excel file with different sheet.
anyone can help me in this.
Nithya Rani
Top achievements
Rank 1
 answered on 11 Jan 2012
6 answers
340 views
Hi,  we have a Load on Demand RadPageView similar to the one under the demos section.  Everything works great at first.   The user controls inside each tab have AJAX-enabled RadGrids which have links that will open up RadWindows with more load on demand RadPageViews inside, which in turn have more AJAX-enabled Telerik controls such as the TreeView and RadGrid.  If we open up one of these RadWindows and start to sort/change RadGrid pages/indexes, etc for a few seconds....and then close the RadWindow which takes you back to the main RadPageView, and you click on one of the tabs, instead of loading the tab's content using load-on-demand, everything inside the RadMultiPage disappears!  Sometimes, if you click on yet another tab, the tabs themselves disappear too, leaving us with nothing, other than a RadSkinManager with ShowChooser set true which is outside the TabStrip!  We don't get any client-side or server-side error messages at all.  This seems to only happen when switching to a tab that has not been loaded yet.  This behavior doesn't seem to be very consistent either, sometimes it happens, sometimes it doesn't, but we've noticed that it will usually happen after the RadWindows with the load-on-demand tabstrips and the AJAX-enabled controls inside are displayed.

Anybody else having this problem or something similar, or is there any way we can figure out why this is happening?

Thank you.
Sara
Top achievements
Rank 1
 answered on 11 Jan 2012
4 answers
159 views
Hi
im using rad Menu and Rad window in my page
in IE and fireFox everything just work fine
but in google chrome rad window goes under the rad menu i have set the z-order of window to 8001 but stiil it does not work in chrome what should i do??
thank you
Pouya
Top achievements
Rank 1
 answered on 11 Jan 2012
3 answers
108 views
Hi,
     I am trying to delete only a single occurrence within a recurring appointment in the ASP RadScheduler. If I click on any ocurrence past the second one, the AppointmentUpdate event returns a ModifiedAppointment object whose RecurrenceRule property contains the date of the second ocurrence. So what winds up happening is that if I click on the third, or fourth or any ocurrence beyond the second, the second ocurrence winds up getting deleted. Am I doing something wrong or is this an issue? If it is an issue, is there a fix or a work-around?

Thanks,
Oleg Litvak
Ivana
Telerik team
 answered on 11 Jan 2012
9 answers
157 views

I am using the Combo Box (latest version of ASP.NET AJAX components) and catching the control when the user selects a new item in the list.  I need the Value the user selected, NOT the Text, but the new Text appears to be the only I can capture.  When the user selects a new item, my code fires properly and I capture e.text, e.oldtext, e.value, and e.oldvalue.  When I do this, the e.text and e.oldtext accurately reflect the results, but the e.value and e.oldvalue are identical -- they are both the OLD value. 

I have attached a screen capture that shows the results, plus it also shows the contents of the Text/Value pairs that the combo box was loaded with.

The code for the .aspx file is:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LanguageSelector.ascx.cs" Inherits="HomesOnlineNetwork100.UserControls.LanguageSelector" %>
  
<telerik:RadComboBox ID="LanguageSelectorComboBox" runat="server" AutoPostBack="true"
    onselectedindexchanged="LanguageSelectorComboBox_SelectedIndexChanged" ></telerik:RadComboBox>
  
<br />
<br />
<asp:Label ID="Label1" runat="server" Text="e.Text:"></asp:Label>   <asp:Label ID="etext" runat="server" Text="UserLanguageKey"></asp:Label>
<br />
<asp:Label ID="Label2" runat="server" Text="e.OldText:"></asp:Label>   <asp:Label ID="eoldtext" runat="server" Text="UserLanguageKey"></asp:Label>
<br />
<asp:Label ID="Label3" runat="server" Text="e.Value:"></asp:Label>   <asp:Label ID="evalue" runat="server" Text="UserLanguageKey"></asp:Label>
<br />
<asp:Label ID="Label4" runat="server" Text="e.OldValue:"></asp:Label>   <asp:Label ID="eoldvalue" runat="server" Text="UserLanguageKey"></asp:Label>
<br />
<br />
<br />
<asp:Label ID="Label5" runat="server" Text="Loaded Text/Values:"></asp:Label>
<br />
<asp:Label ID="Label6" runat="server" Text=""></asp:Label>

The applicable code for the SelectedIndexChanged is:

protected void LanguageSelectorComboBox_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
    Session["a"] = e.Value;
    Session["b"] = e.OldValue;
    Session["c"] = e.Text;
    Session["d"] = e.OldText;

The applicable code for the Page_Load event is:

protected void Page_Load(object sender, EventArgs e)
{
        this.evalue.Text = Convert.ToString(Session["a"]);
        this.eoldvalue.Text = Convert.ToString(Session["b"]);
        this.etext.Text = Convert.ToString(Session["c"]);
        this.eoldtext.Text = Convert.ToString(Session["d"]);
}

Can anyone please tell me why this is happening?  I need the new VALUE that the user selected because that is the key to the related database record.  Why doesn't the new VALUE come through the event?

My thanks in advance!

Lynn

Lee
Top achievements
Rank 1
 answered on 11 Jan 2012
2 answers
87 views
Hello,

I experienced all kinds of javascript errors after configuring 2 RadEditors on an Aspx page where in the 2nd one the ToolProviderID was set (to the first) and also the ToolbarMode property was set.

First Error (more errors after that, but related to this) in

File:  RadRibbonBarScripts.js
Line: this._groupContainer.css("visibility","hidden");
Error: Microsoft JScript runtime error: Object doesn't support property or method 'css'

Aspx error causing markup:
<telerik:RadEditor ID="RadEditor2" runat="server" ToolbarMode="RibbonBar" ToolsFile="Tools.xml"
    Width="98%" Height="300" OnClientLoad="ResizeEditor" Language="nl-NL" AutoResizeHeight="False"
    OnClientModeChange="editorModeChanged" LocalizationPath="~/Resources/" ExternalDialogsPath="~/Resources/EditorDialogs/">
    <FontNames>
        <telerik:EditorFont runat="server" Value="Verdana" />
    </FontNames>
    <SpellCheckSettings AllowAddCustom="True" DictionaryLanguage="nl-NL"></SpellCheckSettings>
    <MediaManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
        MaxUploadFileSize="10240000"></MediaManager>
    <ImageManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
        EnableImageEditor="False" MaxUploadFileSize="10240000" EnableThumbnailLinking="True">
    </ImageManager>
    <DocumentManager ViewPaths="~/Documents/" UploadPaths="~/Documents/" DeletePaths="~/Documents/" />
</telerik:RadEditor>
 
<telerik:RadEditor ID="RadEditor1" runat="server" ToolbarMode="RibbonBar" ToolProviderID="RadEditor2"
    Width="98%" Height="500" OnClientLoad="ResizeEditor" Language="nl-NL" AutoResizeHeight="False"
    OnClientModeChange="editorModeChanged" LocalizationPath="~/Resources/" ExternalDialogsPath="~/Resources/EditorDialogs/">
    <FontNames>
        <telerik:EditorFont runat="server" Value="Verdana" />
    </FontNames>
    <SpellCheckSettings AllowAddCustom="True" DictionaryLanguage="nl-NL"></SpellCheckSettings>
    <MediaManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
        MaxUploadFileSize="10240000"></MediaManager>
    <ImageManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
        EnableImageEditor="False" MaxUploadFileSize="10240000" EnableThumbnailLinking="True">
    </ImageManager>
    <DocumentManager ViewPaths="~/Documents/" UploadPaths="~/Documents/" DeletePaths="~/Documents/" />
</telerik:RadEditor>

After you remove ToolBarMode="RibbonBar" from the second RadEditor, everything works again.
With regards,

Edit: Using 2011.3.1305.40

Yeroon
Dobromir
Telerik team
 answered on 11 Jan 2012
2 answers
145 views
Hello,
I am using radContextMenu on right ckick on a RadTreeNode.

The context menu closes when you click elsewhere on the screen as you would expect, except when you click on an iframe - then the contect menu stays in place.

I have found some code that will detect a click on the iframe:
http://stackoverflow.com/questions/2381336/detect-click-into-iframe-using-javascript

Could I ask then I how I would obtain a reference / test if the context menu is visible from javascript and then close it when a user clicks on the Iframe?

Many thanks
Richard


Kate
Telerik team
 answered on 11 Jan 2012
2 answers
60 views
We are using ASP.NET AJAX 2010 and have a page that has a RadGrid with fixed headers and a RadSlider that is being used to filter records in the grid.  It works great in IE9, firefox, chrome, safari.  But in IE8 and below it takes 30 seconds to render the page.  We have narrowed the problem down to the RadSlider, and even further we have narrowed it down to browser- mode/document-mode.  If we don't set a X-UA-Compatible meta tag, or if we use IE=8 or IE=edge, then the delay occurs.

If we use IE=7 it loads quickly, but when we use that the radgrid is screwed up because the header columns don't match the width of the body columns.

Do you have any recommendations on getting these to work together?
Slav
Telerik team
 answered on 11 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?