Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
I found the issue to the error so title doesn't apply.

Anyway, I set the Temporary Folder to \wwwroot\RadUploadTemp  and assigned Authenticated Users for write access.

This way I do not have to embed custom actions to provide write access to App_Data for each app that uses RadAsyncUpload.

Any comment on this approach?
Yana
Telerik team
 answered on 30 Jul 2010
3 answers
105 views
I was wondering how I'd add some padding to the ends of the x axis. Right now I have my datapoints only 1/2 showing as they go right to the very end of the axis.

I had this once before, but can't figure out what I'm doing wrong. I'm pretty sure this is a simple thing, I just can't find the correct resource to point out what it is I'm missing.

Thanks


EDIT - I've added a chart that shows exactly the issue I'm dealing with. It even shows that I need the padding on the top side as well.

EDIT2 - Tried to add a chart, it's not showing, not entirely sure why. :/
Yavor
Telerik team
 answered on 30 Jul 2010
1 answer
440 views
Dear All,

I am building the project  by Telerik Tool . And  user Interface will be multi language .  
It can support for English, Japanese, German  â€¦â€¦.
--- now i face with got two problems ---

First,
I have no enough resource file for the translation  .
So can you give me all resource file of Telerik Tools , 

For example
Resource file for the RadGrid.  (RadGrid.<culture>.resx)
Resource file for the Radeditor (RadEditor.<culture>.resx)
Resource file for the RadSpell  (RadSpell.<culture>.resx)
……….

Second
i don't khow ,How many languages that are supported in Telerik Tool .
Can you give me resource file of all languages that Telerik Tool are supporting  ?

Thanks and Best Regards
 
Sebastian
Telerik team
 answered on 30 Jul 2010
1 answer
99 views

I have a radgrid with detail data, and when the amount of rows in the grid does not exceed the pager amount then when the detail data gets expanded this rogue top pager appears. even though i have specified that it should only appear at the bottom.

<telerik:RadGrid runat="server" ID="RadGrid1" AllowPaging="true" PageSize="15" >
     <MasterTableView AutoGenerateColumns="false"  PagerStyle-AlwaysVisible="true" PagerStyle-Position="Bottom">
                                <Columns>

So in short - when there are a total of 7 rows if you click on the expand details data the pager appears at the top and bottom.

Anybody know why this happens or how I can prevent it from appearing?
Tsvetoslav
Telerik team
 answered on 30 Jul 2010
1 answer
96 views
How would I be able to retrive the value form RadDateInput.InvalidDateString?

Thanks,
Shinu
Top achievements
Rank 2
 answered on 30 Jul 2010
5 answers
224 views
Hi,
I would like to register a second event handler for the RadToolBar's client side event "OnClientButtonClicked". Is that somehow possible?
The first event was registered by adding it to the toolbar's "OnClientButtonClicked" property.

Best regards
Ferdinand
Yana
Telerik team
 answered on 30 Jul 2010
2 answers
125 views
Hi guys,

According to this help:
http://www.telerik.com/help/aspnet-ajax/menu-populate-from-wcf-service.html

I can successfully run OnClientItemPopulatingHandler and there is debug breakpoint that show me GetData is run and the items.count is 4. After that,there is no any radmenu drop-down as expected. Here is the code:

Mark-up
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function OnClientItemPopulatingHandler(sender, e) {
            var context = e.get_context();
            //using jQuery to get the checked item and pass it to the server
            context["ProductSuite"] = $telerik.$("input[name='rblSuites']:checked").val();
        }
 
        function OnClientItemPopulatedHandler(sender, e) {
            var items = e.get_item().get_items();
            for (var i = 0; i < items.get_count(); i++) {
                var item = items.getItem(i);
                //getting the attribute of the item
                var myCustomAttribute = item.get_attributes().getAttribute("MyCustomAttribute");
                //do something with the attribute
            }
        }
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <asp:RadioButtonList ID="rblSuites" runat="server">
           <asp:ListItem Selected="True">ASP.NET AJAX</asp:ListItem>
           <asp:ListItem>WPF</asp:ListItem>
           <asp:ListItem>Silverlight</asp:ListItem>
           <asp:ListItem>Winforms</asp:ListItem>
        </asp:RadioButtonList>    
     
        <telerik:RadMenu ID="RadMenu1"
           OnClientItemPopulating="OnClientItemPopulatingHandler"
           OnClientItemPopulated="OnClientItemPopulatedHandler"
           runat="server">
           <Items>
               <telerik:RadMenuItem Text="Products" ExpandMode="WebService">
               </telerik:RadMenuItem>
           </Items>
           <WebServiceSettings Method="GetData" Path="../Services/WcfTopMenu.svc" />
        </telerik:RadMenu>
    </div>
    </form>
</body>
</html>

.SVC
<%@ ServiceHost Language="VB" Debug="true" Service="WcfTopMenu" CodeBehind="~/App_Code/WcfTopMenu.vb" %>

svc code behind

Imports System.ServiceModel
Imports System.ServiceModel.Activation
Imports System.ServiceModel.Web
Imports Telerik.Web.UI
 
<ServiceContract([Namespace]:="")> _
<AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> _
Public Class WcfTopMenu
    <OperationContract()> _
    Public Function GetData(ByVal item As RadMenuItemData, ByVal context As IDictionary(Of String, Object)) As RadMenuItemData()
        Dim items As New List(Of RadMenuItemData)()
        'use the context to get the selected radio button
        Dim productsSuite As String = context("ProductSuite").ToString()
        'the datasource
        'Dim radControls() As String = New String() {"RadMenu", "RadMenu", "RadTreeView", "RadToolBar"}
        Dim radControls As List(Of [String]) = New List(Of String)() From { _
           "RadMenu", _
           "RadMenu", _
           "RadTreeView", _
           "RadToolBar" _
          }
        For Each radControl As String In radControls
            'Optional: set the attribute of the item which will be used
            'in the OnClientNodePopulated event
            Dim newItem As New RadMenuItemData() With { _
             .Text = String.Format("{0} for {1}", radControl, productsSuite), _
             .Value = radControl, _
             .ImageUrl = "Images/" + radControl + ".gif", _
             .Attributes = New Dictionary(Of String, Object)() From {{"MyCustomAttribute", radControl}}
            }
            items.Add(newItem)
        Next
        Return items.ToArray()
    End Function
End Class


Did I miss sth? If so, please tell me. Thx!
Yana
Telerik team
 answered on 30 Jul 2010
2 answers
212 views
Hello, I have the RadSessionPageStateCompression enabled on my site, however I keep getting these errors since upgrading to 2010 Q1:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. However, I don't use a Web Farm and my machine key and validation key are properly defined in the web.config.  What could be the probable cause?? I am using Session State to store some info of the user and FormsAuthentication (i don't now if that has something to do but with my problem)... The IIS version I am using is 6.0 and .net Framework 3.5 SP1.  I also have radcompression postbackcompression enabled and my viewstate encryption mode is set to "Auto".

Thank you in advance,
Manuel

PS: I also generate my radgrids dynamically on page init.
Rosen
Telerik team
 answered on 30 Jul 2010
1 answer
94 views
Hello,
I have a RadGrid with the EnableHeaderContextFilterMenu="true". The problem is when I try to use the filter it validates all the controls on the page. So an end user would have to fill out a form before they can filter a grid that's on the same page as the form. I was hoping there is a way to change the validation group for the filter menu or set its causesvalidation to false because we would prefer to keep our main form's controls at validation group defaults.
Thanks.
Nikolay Rusev
Telerik team
 answered on 30 Jul 2010
2 answers
161 views
Hi,

I have a telerik radchart created dynamicaly in my web page. I have made the series orientation of the graph to Horizontal so that i get more space to display the x-axis labels in the graph. My axis label texts are quite lengthy & i am not able to display them to the full. After few charecters, they are getting displayed with "..." as shown in attached image-1. I want to display the complete text for labels. The complete text is shown in Image-2.

Also i dont want any negetive numbers in y-axis. Meaning i want the start value to be Zero. I tried setting minimum value=0 but was of no help :(.

Please help me fixing these issues ASAP.

Thanks,
Krishna Samaga B.
Krishna Samaga
Top achievements
Rank 1
 answered on 30 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?