Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Hello:

I am experiencing the following problem (I am using ASP.NET AJAX Q3 2010 NET40): I have a grid that uses template columns. When a row is in edit mode and I press the enter key in the textbox after editing the item, a new item is inserted. I wonder why this happens in the first place and what I can do to disable/avoid this behavior.

I have tried disabling automatic inserts, keyboard navigation, submit on enter but to no avail.

 Any feedback is appreciated. 
Thanks!
Eyup
Telerik team
 answered on 03 Apr 2012
5 answers
203 views
I am using the candlestick chart in my .NET C# stock market app. As you can see from http://demos.telerik.com/aspnet-ajax/chart/examples/newfeatures/candlestick/defaultcs.aspx the ChartSeries.Appearance-FillStyle-MainColor only sets the background color of the items whose close was lower than the open. Items whose close was higher than the open seem to have a transparent fill. I need to set those to a color (I want green fill for up days and red for down days).

I thought I could do the following:

foreach (ChartSeriesItem item in RadChart1.Series[0].Items)
{
   item.Appearance.FillStyle.MainColorOpacity = 255;
    item.Appearance.FillStyle.MainColor = item.YValue2 > item.YValue ? Color.Green : Color.Red;
}

But that doesn't build because even though the intellisense for MainColorOpacity says "gets or sets", Visual Studio tells me it's read only and it's stuck at "0" if close > open. How can I set a fill color on these items?
Evgenia
Telerik team
 answered on 03 Apr 2012
1 answer
75 views
Hello,

I have a RadGrid with UseStaticHeaders=true.
When I scroll the horizontal scroll bar, the column headers are fixed but grid contents are scrolling.
This occurs when page is postback.

This occurs in IE. In firebox, it works fine, both headers and contents of grid are scrolling.
Any idea to solve this?
Galin
Telerik team
 answered on 03 Apr 2012
5 answers
269 views
I installed Telerik Asp.Net AJAX RadControls Q3 2011. I open VS 2010 and select Telerik -> RadControls for ASP.Net AJAX -> Create New Telerik Project. I select C# RadControls WebApplication and click OK. I get the error "Microsoft Visual Studio" "Method not found: 'Void Telerik.VSX.WizardEngine.Configuration.ActionInfo.set_ExecuteConditions(Telerik.VSX.WizardEngine.Configuration.ConditionInfo[])'. I close the message box and the VS status bar says "Creating project 'RadControlsWebApp1'...project creation failed. I have re-booted and re-started VS and still get the same error. Please suggest a fix.
Dan
Top achievements
Rank 1
 answered on 03 Apr 2012
3 answers
457 views
Hi,
I am trying to put a RadAjaxPanel and a RadAjaxLoadingPanel  in one User control or even custom server control later.
However, I cannot made it work under Prometheus.
Following is my code which is really simple. Could anyone give me some help or hints?

AjaxPanelUserControl.aspx
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AjaxPanelUC.ascx.cs" 
 
Inherits="Controls_AjaxPanelUC" %> 
 
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<asp:ScriptManager ID="ScriptManager1" runat="server">  
 
</asp:ScriptManager> 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" runat="server" 
 
Height="200px" Width="300px">  
 
<asp:Button ID="Button1" runat="server" Text="Button" /> 
 
</telerik:RadAjaxPanel> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" 
 
InitialDelayTime="0" Width="75px">  
 
<asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="/RadAjaxTest/Images/loadingbar.gif" /> 
 
</telerik:RadAjaxLoadingPanel> 
 

Default.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Src="Controls/AjaxPanelUC.ascx" TagName="AjaxPanelUC" 
    TagPrefix="uc1" %> 
<!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>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
        <div> 
 
            <uc1:AjaxPanelUC ID="AjaxPanelUC1" runat="server" /> 
        </div> 
    </form> 
</body> 
</html> 

The problem is that loading panel don't show when i clicked the button whereas it works if i don't put them in the usercontrol.
jerry
Maria Ilieva
Telerik team
 answered on 03 Apr 2012
8 answers
401 views
I have some UserControls that were working fine for quite some time (years in fact).  I have upgraded to a the latest (Q1 2012 release) of the controls and it no longer works correctly.  They are user controls because I am loading them dynamically in a tab control/pageview control...

The part that is no longer working is that I am grabbing the toolbar that is positioned above the RadGrid and changing some of the buttons based on some user permissions in the OnGridCreated event handler.  It can no longer find the RadToolbar control.  If I place a button at the bottom of my control and try to find the RadToolbar at that point, it finds it.  Which lead me to think that the OnGridCreated event is now firing before the RadToolbar has been created.

So, does anyone know if anything changed in this new version or even the one previous?  I think it was fine in v.2011.1.519.35.
Seth
Top achievements
Rank 1
 answered on 03 Apr 2012
6 answers
85 views
At design time, when RadGrid is in source view, properties are not shown in properties window.

Only when we switch to the Design view and press F4 (to view Properties Window) or right click on the control to View Propeties, the Properties window appears with a list of properties and events.

Thereafter things work fine even on switching to code view.

Is it a bug? Why dont i see the Properties in the Properties Window when i am in the source view for the first time. Why do i need to switch to design view to view the list of properties.

Kindly suggest.

Regards
Tarun Singla
Iana Tsolova
Telerik team
 answered on 03 Apr 2012
2 answers
136 views
Hi guys,

I'm currently getting the following error when attempting to use the RadSpellChecker in my website

Cannot read the configuration/dictionary language parameters!

Stack Trace:

 

[ArgumentException: Cannot read the configuration/dictionary language parameters!]

   Telerik.Web.UI.SpellCheckHandlerNoSession.ProcessRequest(HttpContext context) +628

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75


The dictionaries are in the correct place /App_Data/RadSpell, although deleting that folder doesn't seem to make any difference, and I am not setting the dictionary path differently anywhere else, and even if I do set the Dictionary Path explicitly I get the same error. Can you help?

 

Guy
Top achievements
Rank 1
 answered on 03 Apr 2012
4 answers
141 views
I have two websites, both .net 4, both using telerik dll 2012.215.1.40, and they do not render treeview nodes with html tags the same way. See attached files - "goodtree" is the desired behavior. I added a plain unordered list in "badtree" for comparison to see if all of my code was affected (something web.config or app pool related), but it is only the treeview. I am stumped. How can I get "badtree" to render the html instead of printing out the tags?
Becky
Top achievements
Rank 1
 answered on 03 Apr 2012
1 answer
83 views
Hi,

                          I had made a user control with a ComboBox & window and a grid embedded inside the window.The window will popup on the ComboBox click.I put the user control inside a grid and while clicking on the user control in the first row,the window will popup and loads the grid but when clicks on the remaining rows the popup(window) comes with a unbounded grid.

Help me.
Thnx in advance
Marin Bratanov
Telerik team
 answered on 03 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?