Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
182 views
Hi,

This might be a really stupid question but i need to use the value from one calculated column in another calculated column. Is this possible? It's a typical scenario of Product, VAT, Sub Total, Shipping and Total. The Sub-total is calculated, but for Total i need to add Shipping to Sub-Total to make the Total. When I try this it says it cannot find SubTotal (the unique name of the column) in datafields.

Thanks for any help in advance.

Michael
Yavor
Telerik team
 answered on 08 Dec 2009
2 answers
168 views
Hi,

My radtree view has the elements in Parent,Child and Grandchild relationship as shown below:
Parent1
--->Child1
--->Child2
      ---->Grandchild1
      ---->Grandchild2
--->Child3
      ---->Grandchild3
      ---->Grandchild4.

I need to increase the height between Parent1 and Chidl1 and also  between Child2 and Grandchil1.
How can this be achieved as the height between the nodes is fixed.
Any help here is highly appreciated.
Thanks in Advance
                                             




Mohammad Abid
Top achievements
Rank 1
 answered on 08 Dec 2009
1 answer
338 views

How can i call a function inside the navigate url property ?

Below is the code:
Im trying to call a function with function.getpageid inside the navigateurl.

<script language="javascript" type="text/javascript">  
    function onClicking(sender, eventArgs) {  
        var item = eventArgs.get_item();  
        var navigateUrl = item.get_navigateUrl();  
        eventArgs.set_cancel(true);  
        if (navigateUrl && navigateUrl != "#") {  
            var oWnd = radopen(navigateUrl, "WindowName");  
        }  
        sender.hide();  
    }    
</script>  
   
        <telerik:RadContextMenu ID="RadContextMenu2" runat="server" OnClientItemClicking="onClicking">        
        <Targets>       
            <telerik:ContextMenuControlTarget ControlID="Mediaarea" />  
        </Targets>       
        <Items>       
            <telerik:RadMenuItem runat="server" Text="Media wijzigen" NavigateUrl='~/test.aspx?PageID=<%# functions.getpageID %>'></telerik:RadMenuItem>     
        </Items>       
        </telerik:RadContextMenu>           
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">        
        </telerik:RadWindowManager>    
 
<div id="Mediaarea">  
<img src="Upload/Design/GUI/images/powerplusxq/media.jpg" />  
</div>  
 

But i get result as PageID=%3C%

anyone has a suggestion ?
Georgi Tunev
Telerik team
 answered on 08 Dec 2009
1 answer
227 views
I am having a problem with the DatePicker. It is not opening properly in IE7 or IE8 when accessed via an iframe. It works fine when it's not accessed via an iframe. The Javascript error I am getting is below.

This problem does not happen in Chrome or Firefox. 
When using Telerik version 2008.2.286.20, it only happened on IE7 and did not happen on IE8. 
After upgrading to version 2009.3.1103, it not happens on IE7 and IE8.

Has anyone ever seen this before?

Error:

Message: Access is denied.

Line: 6

Char: 73478

Code: 0

URI: /Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_cphSurvey_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1103.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afa29fa87-3646-4a1f-8f90-45263b4e63e9%3a16e4e7cd%3aed16cbdc%3af7645509%3a8674cba1%3ab7778d6c%3ac08e9f8a%3a59462f1%3aa51ee93e

Dimo
Telerik team
 answered on 08 Dec 2009
1 answer
156 views
Hi there,

I am building a Spline chart that can show data for a potentially large number of dates on the X-Axis (Y-Axis displays a size for each date). A user can choose a start and an end data to determine the scope for the chart. When hundreds of days are chosen, the X-Axis becomes pretty messy as all labels overlap. This brings me to the following question:

1. How can I limit the number of items in the X-Axis? I tried MaxItemsCount but that doesn't seem to work OK? (and is not documented)

2. Are there better ways to do this? E.g. instead of hiding labels in the x-axis, maybe I can group the data? In that case, how do I maintain the smooth line of the chart?

My ultimate goal is to show the chart line for the entire selected period, and only have a small number (say 10) labels. So when I choose 10 years, I roughly get 10 labels for each year. When I choose a month, each entry represents three days.

If the on-line examples show this behavior (declarative or programmatically), can you please refer me to the correct one?

Thanks.

Imar
Vladimir Milev
Telerik team
 answered on 08 Dec 2009
1 answer
141 views
Hello,

I have yearly data to display on a chart.  The data starts from 2003 to the current year.  How can I get this to display correctly as it's currently ignoring the settings I've used below:

<tel:RadChart ID="c" runat="server" SkinID="Office2007" Width="790px">
            <PlotArea>
                <XAxis MinValue="2003" Step="1" />
            </PlotArea>
            <ChartTitle Visible="false" />
</tel:RadChart>

The XAxis MaxValue is being established via code, as it changes from year to year.  FYI, this is in an MVC view, but I didn't think it was much different than web forms so I posted this question here.

The desired result is to have an XAxis with 6 entries, 2003 to 2009, in a one step process, and have each year appear next to each other.  What I get is a range from 0 to 3000 in 500 step increments.  What is setup incorrectly?

Thanks.
Vladimir Milev
Telerik team
 answered on 08 Dec 2009
1 answer
84 views
Hi,

How do you replicate the file-upload feature, whereby you can add more files from ajax? Can I use the InputManager for adding Textboxes?
Iana Tsolova
Telerik team
 answered on 08 Dec 2009
2 answers
109 views
It seems that the SelectionOnFocus None in IE8 (Vista) behaves the same as CaretToBeginning for the RadTextBox control in Q3 2009. In FireFox the behavior is as expected but in IE8 the cursor jumps to the start of the textbox if you click in the middle of the text in the textbox. So if the text is "forgot a ltter" and you click between the l and the t to insert the e you end up with "eforgot a ltter" because the cursor jumps to the start after the mouse click.
Is there a way to work around this behaviour?

Jeroen Houba
Top achievements
Rank 1
 answered on 08 Dec 2009
5 answers
358 views

We are using a RadToolTip Control to display some items and we need to set the cursor postion to the bottom area (ie, Vertical Scroll bar shold be at the bottom of the control). We set the OffsetXand OffsetY for the scroll position, but it is not scrolling down.

Svetlina Anati
Telerik team
 answered on 08 Dec 2009
2 answers
122 views
Hi All,

I am facing a problem while looping through the radtreeview.

My radtreeview structure is as below:

folder A
     folder B
             folder C
Folder D
      Folder E
             Folder F
                      Folder G
                              ---------------------N Number of childs
Now i want to loop through the radtreeview,how can i get this? I want some generalised function that will loop through radtreeview.

Kiran
Top achievements
Rank 1
 answered on 08 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?