Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 views
Hi,

Does radcontrols have the grammer suport, like spell check. If not any new releases were going to have the grammer check options. Pls  let us know so that if in the future if grammer check option is provided, we are going to upgrade our licences.

Thanks & Regards
Srinivas
srinivas@mtccrm.com
Rumen
Telerik team
 answered on 04 May 2009
1 answer
63 views
How can I load on demand a RadTreeview from 5 tables?  I know from 2 tables but I don´t know how can I make from more.
If you have any code example about what I need I´ll be very grateful.
Another cuestion:
Load on demand on server or on client, which is the best option to a web application who are going to use about 100 people, which is more fast on load?
Thanks much.
Jose A. Navas.  
jose antonio
Top achievements
Rank 1
 answered on 04 May 2009
1 answer
149 views
Hello,

Is there a way to animate the RadDatePicker on client popup event like zooming or panning?

Thank you,
Khonato
Pavlina
Telerik team
 answered on 04 May 2009
1 answer
123 views
I have RadChart inside tooltip as follows:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ToolTipChart.aspx.cs" Inherits="WebApp_Test_ToolTipChart" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
 
         <asp:ScriptManager ID="uxScriptManager" runat="server" /> 
 
        <href="#" id="link1">link1</a> 
        <href="#" id="link2">link2</a> 
          
        <telerik:RadToolTipManager runat="server" ID="uxToolTipManager" 
            Width="250px" 
            Height="100px"   
            Animation="Fade" 
            Position="BottomRight" 
            RelativeTo="Mouse" 
            Sticky="true"   
            ManualClose="true" 
            OnAjaxUpdate="OnAjaxUpdate">  
            <TargetControls> 
            <telerik:ToolTipTargetControl IsClientID="true" TargetControlID="link1" /> 
            <telerik:ToolTipTargetControl IsClientID="true" TargetControlID="link2" /> 
            </TargetControls> 
        </telerik:RadToolTipManager> 
    </div> 
    </form> 
</body> 
</html> 
 


using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Web;  
using System.Web.UI;  
using System.Web.UI.WebControls;  
using Telerik.Web.UI;  
public partial class WebApp_Test_ToolTipChart : System.Web.UI.Page  
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
 
    }  
 
    protected void OnAjaxUpdate(object sender, Telerik.Web.UI.ToolTipUpdateEventArgs args)  
    {  
        args.UpdatePanel.ContentTemplateContainer.Controls.Add(new LiteralControl("<div>" + args.TargetControlID + "</div>"));  
        RadChart chart = new RadChart();  
        chart.Series.Add(new Telerik.Charting.ChartSeries());  
        chart.Series[0].Name = args.TargetControlID;  
        args.UpdatePanel.ContentTemplateContainer.Controls.Add(chart);  
    }  
}  
 


The LiteralControl in the tooltip, as expected, displays TargetID depending on which item I hover.  The chart, however, always display the first item hovered.  If Item2 was hovered first, the legend in the chart will always be link2; similarly, if I hover item1 first, the legend in the chart will always be link1 afterwards.  The chart just doesn't seem to be updated on each OnAjaxUpdate() call.  Please help.  Thanks,

Peichung
Svetlina Anati
Telerik team
 answered on 04 May 2009
1 answer
100 views
hello to all

             sir!  where do i find the cellformatting in the grid..please help i can't find it

thanks to all
Princy
Top achievements
Rank 2
 answered on 04 May 2009
1 answer
317 views
Here is what I am trying to do:

1. I create RAD Menu items from data dynamically through code
2. I would like to cache the RadMenu or the RadMenuItems so that I can efficiently apply the cached version to the live version in PageLoad of my master page.
3. In 2006 version, I create a RadMenuItemCollection and placed it in the cache, then re-called it and looped through each item in the collection. That does not work in Q1 2008 version.


Here is how it makes sense to me, but for some reason, it does not work


Dim RMC as RadMenuItemCollection = Cache("RadMenuItems")
Dim RM1 as RadMenuItem = RadMenu1.Items(1)

For each item as RadMenuItem in RMC

RM1.Items.Add(item)

Next

-----  SECOND ATTEMPT ---

So then I tried to simply cache the RadMenuItem (with all the Items defined) as follows

                Dim DT As DataTable = CacheObj.GetData

                Dim RM1 As RadMenuItem = RMMaster.Items(1)

                For Each row As DataRow In DT.Rows

                    Dim RMItem As New Telerik.Web.UI.RadMenuItem
                    RMItem .Text = row("Name").ToString
                    RMItem .NavigateUrl = "TestPage.aspx?cl=" + row("Id").ToString

                    RM1.Items.Add(RMItem)

                Next

                Dim RMC As Telerik.Web.UI.RadMenuItem = RM1 'RMC is the Item I am going to cache and recall later

                Cache.Insert("RMC", RMC, Nothing, Now.AddHours(4), TimeSpan.Zero)

'NEXT, I NEED TO RECALL THE MENU ITEM FROM THE CACHE, LOOP THROUGH THE ITEMS AND RE-ASSIGN TO THE MENU

                Dim RMC As RadMenuItem = CType(Cache("RMC"), Telerik.Web.UI.RadMenuItem)
                Dim RM1 As RadMenuItem = RMMaster.Items(1)
                RM1.Items.Clear()

                For Each item As Telerik.Web.UI.RadMenuItem In RMC.Items

                    RM1.Items.Add(item) ' On the second iteration I get the error here

                Next

When I trace through the code I check the RMC.Items.Count() property. It starts out at 29, which is correct, then after the first time through the For Loop, it decrements to 28. As if an item is being removed from the cached RadMenuItem. I don't get this at all! The same thing happens when I try to cache and loop through a RadMenuItemCollection.

Atanas Korchev
Telerik team
 answered on 04 May 2009
2 answers
122 views
The following works just fine in FireFox to set focus to a text box when the form is in edit mode:

Private Sub grd_ItemDataBound(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grd.ItemDataBound 
 
If (TypeOf (e.Item) Is GridEditFormItem) AndAlso e.Item.IsInEditMode Then 
 
Dim box As TextBox = e.Item.FindControl("ContactName"
grd.ClientSettings.ClientEvents.OnRowCreated = String.Format("document.getElementById('{0}').focus()", box.ClientID) 
                     

In IE I get an error:

Sys.InvalidOperationException: Handler must be a function.

function Sys$Component$_setReferences(component, references) { 
 ... other code here ... 
    if (events) { 
        for (var name in events) { 
            if (!(component["add_" + name] instanceof Function)) throw new Error.invalidOperation(String.format(Sys.Res.undefinedEvent, name)); 
            if (!(events[name] instanceof Function)) throw new Error.invalidOperation(Sys.Res.eventHandlerNotFunction); 
            component["add_" + name](events[name]); 
        } 
    } 
 

The var name contains "rowCreated" suggesting that IE doesn't like "document.getElementById('{0}').focus()"

I have also tried inserting a function call here with a function in the ascx. This works in FF but, yet again not in IE.

I have read a lot of posts on this subject and tried many without success. IE seems to be the difficulty as it works in FF, Safari and Chrome.

All I want to do is setfocus to a text box when the grid enters edit mode. Not that I think this should be a problem but I am using dynamically loaded ascx controls running in DotNetNuke.

Declan





Rahul Khinvasara
Top achievements
Rank 1
 answered on 04 May 2009
2 answers
328 views
Hi,
I'm new to Telerik and would like to create a Dashboard and have no idea which controls to use or where to begin.  I've search other software but implementation is very confusing.  Any help or pointing me in the right direction would be awesome.  Maybe samples.  I'm using the ASP.NET AJAX components

Thanks,
Ivo
Telerik team
 answered on 04 May 2009
1 answer
112 views
What is the best way to view the various skins for all controls. In the past, each control demo had a handy Appearance...Skins section. This is no longer the case.
Ivo
Telerik team
 answered on 04 May 2009
1 answer
206 views



Hello everyone,

I have a raddatePicker in radGrid template.
I've implemented Need_DataSource to bind data to the grid..
on edit I want to set the DatePicker date = to a date saved in DB as String.


Any Help would be appreciated,
Best regards,    
Shinu
Top achievements
Rank 2
 answered on 04 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?