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

I generate a chart runtime. But lable are overlapped with the lines in line chart though put following code.
RadChartEditChart.AutoLayout = True
RadChartEditChart.IntelligentLabelsEnabled = True

Is there any other way to get separate the values from the line chart ?
Yavor
Telerik team
 answered on 31 May 2011
2 answers
93 views
Hi

1-       I have a page that contains a grid bound with a sql DB. For adding row in the DB, I open a new radWindow (with radopen) that contains the form for adding a new row. The problem is, when I add the row, the sql DB is updated but not the grid. So, I tried to update my grid by doing a rebind when the radWindow is close, but I don't know how to detect when a radWindows is closed.
May someone help me ?

2- Like in this example, I use a context menu to add/edit/delete data from my grid. However, I add another context menu that appears when I clicked inside a radGrid, but not on a item. To do that, I set the target of the second context menu to the ID of the radGrid. When the page is first load, everything is fine. However, when I delete an item, the second context menu (the one that target the radGrid) doesn't appears. I make some test and it seem like the second context menu it doesn't call at all, like if it doesn't target the radGrid anymore.
Anyone have any ideas why it is doing such a strange thing ?   

Thank you
David
David
Top achievements
Rank 1
 answered on 30 May 2011
2 answers
103 views
Hi! I'm really new to telerik and i have been only playing a little with this powerfull set of tools. Im trying to make some menus and untill now i have been using default skins that appear in the smartTag. I would like to know if there is a way to add to the skin list in smart Tag a costum skin i made or download.
Fabio
Top achievements
Rank 1
 answered on 30 May 2011
2 answers
95 views
Hi All,

I'm not sure why but when using compatibility view in ie9 all of my radwindows "OnClientClose" functions are not being called. I've updated to the latest version of the controls (My 19th) and no go.

example:

<

 

 

telerik:RadWindow Skin="Default" runat="server" ShowContentDuringLoad="false" Width="700px"

 

 

 

Height="500px" Behaviors="Close" Modal="true" ID="RdWindowCO2Refinement" Title="A Window"

 

 

 

VisibleStatusbar="false" OnClientClose="OnClientClose" />  

 

Rich
Top achievements
Rank 1
 answered on 30 May 2011
1 answer
86 views
There are two pages, default.aspx and default2.aspx
default.aspx open radwindow on the client.
default2.aspx add event like add_commnd or add_resize will cause an error "Out of stack space"

Please help me fix this issue. thank you.

Below are the code for those two pages
default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Main.Test.Default" %>
 
<!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">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
        <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>
    </asp:ScriptManager>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    </telerik:RadWindowManager>
    </form>
    <script>
        $(document).ready(function ()
        {
            var oWindow = window.radopen("Default2.aspx"null);
        });        
    </script>
</body>
</html>

default2.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="Main.Test.Default2" %>
 
<!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">
            <asp:ScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
        <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>
    </asp:ScriptManager>
    <div>
    default2
    </div>
    </form>
    <script>
        $(document).ready(function ()
        {
            var oWindow = GetRadWindow();
 
            oWindow.add_resize(OnClientResize);
        });
 
        function OnClientResize(sender, eventArgs)
        {
            alert(sender.toString());
        }
 
        function GetRadWindow()
        {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow;
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;
            return oWindow;
        }
    </script>
</body>
</html>

Svetlina Anati
Telerik team
 answered on 30 May 2011
2 answers
93 views
Hello,

I have a problem to Execute Jquery alert after radscheduler events.

For example:
in the RadScheduler1_FormCreating event i want to execute this code:

Page.ClientScript.RegisterStartupScript(typeof(EditServiceConsultantCalendar), "error", "jAlert('the number of rooms is not enaugh', 'warning');", true);

but the Jquery alert is not executed.

on the other side if I insert this code after a button_clickevent then the Jquery alert is executed.


Thanks for helps.
MOUSLIKI
Top achievements
Rank 1
 answered on 30 May 2011
1 answer
98 views
Hi,

I have got a very weird problem with RadListBox control. It appears okay first time when page loads but once I move the mouse cursor to other parts of the system e.g. on hovering over the tab, it disappears. Please see the attachement and the code-snippet
as follows

<

 

telerik:RadListBox ID="lstDatasets" runat="server" SelectionMode

="Multiple"

 

 

 

Width="250px" Height="200px" Skin

="Office2007">

 

 

 

<ButtonSettings TransferButtons="All"></ButtonSettings

>

 

 

 

</telerik:RadListBox

>

Please remember, it is placed inside RadTabStrip - PageView
Many thanks,
MG

 

 

Plamen
Telerik team
 answered on 30 May 2011
4 answers
208 views
Hello telerik,

I have RadPanelBar, In Internet Explorer it expand and collapsed OK with compatibility view.
I remove the Expanded settings as per
http://www.telerik.com/community/forums/aspnet-ajax/panelbar/radpanelbar-items-not-expanding-in-firefox.aspx
and use this script
function onLoad(sender)
{
    var panelBar=sender;
    panelBar.get_items().getItem(1).set_expanded(true);
}

The item expand correctly but other items not collapse.
any fix please
mohmmad misk
Top achievements
Rank 1
 answered on 30 May 2011
9 answers
145 views
How Can i found out bound column  and control into template field in my javascript function that is created by myself
Tsvetoslav
Telerik team
 answered on 30 May 2011
2 answers
150 views
I am encountering a conflict between your Rating control (.NET/AJAX) and the Subgurim Google Map Control.  Both of the controls co-exist peacefully and work fine UNTIL I attempt to use the "OnClientRated" event on your Rating control.  When I try to use this event, the Subgurim control will NOT display a map.  I am been trying to isolate this issue for over an hour and have successfully (I believe) got this down to attempting to use the "OnClientRated" event.  I have not tried any other "OnClient..." events with the Rating control to see if they also have the same problem.

What happens is that the Subgurim control just doesn't display a map.  See screen captures attached.

Here is the code that prevents the map from being displayed:
<telerik:RadRating ID="AvgRatingValue" OnClientRated="OnClientxRated();" ReadOnly="true" runat="server" Visible="true" Precision="Half" EnableEmbeddedSkins="true" Skin="Default" ></telerik:RadRating>
 
    <script type="text/javascript">
        function OnClientxRated(sender, args) {
            alert('The rating value was updated');
        }
    </script>

The above code will prevent the map from displaying.  All I have to do to get the map to display is to remove the property on the Rating control OnClientRated="OnClientxRated();".  Then the map displays just fine.

Do you see any problems with the above code?

The Subgurim URL: http://en.googlemaps.subgurim.net/ .  This is a free control and I have had no other weird problems.  It is getting good reviews out there on the Internet.

Thanks in advance for any assistance! 

Lynn


Lynn
Top achievements
Rank 2
 answered on 30 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?