Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
97 views
Most end-users, if they recognise the word "Ajax" at all, prolly still think it is a product to clean the bathtub with.

Consider changing the default text for the Spell Check button from "AJAX Spellchecker to "Spellchecker"

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 29 Feb 2012
2 answers
96 views

Should showtext="false" work when I also have size="large"?

If "yes" then it's broken as I have...

<tools name="Proofing" tab="Home">
    <tool name="AjaxSpellCheck" size="large" showtext="false"/>
</tools>

but see screenshot.

--
Stuart

Stuart Hemming
Top achievements
Rank 2
 answered on 29 Feb 2012
1 answer
49 views
After updating to Q1 2012 shadow is not shown in any browser. EnableShadow="true". Previous releases was OK.
Marin Bratanov
Telerik team
 answered on 29 Feb 2012
1 answer
105 views
Hi,
i am getting following exception when i type characters in filter column.

  "No property or field 'jghjghj' exists in type 'DataRowView'


  <MasterTableView AllowPaging="true" AllowFilteringByColumn="true" CommandItemDisplay="Top"
                Width="100%">
                <PagerStyle Mode="NextPrev" AlwaysVisible="true"/>
                <CommandItemSettings ShowExportToExcelButton="true" ShowRefreshButton="false" ShowAddNewRecordButton="false" />
                <Columns>
                    <telerik:GridTemplateColumn HeaderText="Budget ID" DataField="budhdrtky" UniqueName="BudgetID"
                        Visible="true" ReadOnly="true">
                        <ItemTemplate>
                            <asp:LinkButton ID="lnkBtnBudgetId" runat="server" Text='<%#Eval("budhdrtky")%>'></asp:LinkButton>
                        </ItemTemplate>
                        <HeaderStyle Width="130px" />
                        <ItemStyle Width="130px" />
                    </telerik:GridTemplateColumn>
</Columns>

What changes do i need to do ??

Regards,
Akki
Richard
Top achievements
Rank 1
 answered on 29 Feb 2012
1 answer
78 views
i am new to this I would like to help me please I have a RadAsyncUpload and RadBinaryImage when loadinga picture from the photo RadAsyncUpload shown in the image RadBinaryImage but when I choose another image that shows nothing I RadBinaryImage I have this code
                   <telerik: RadAsyncUpload runat = "server" ID = "BtnExmaminarLogo"
                                               MaxFileInputsCount = "1" OnClientFileUploaded = "fileUploaded"
             OnFileUploaded = "BtnExmaminarLogo_FileUploaded" AllowedFileExtensions = "jpeg, jpg, gif, png, bmp"
                                               OnClientValidationFailed = "validationFailed" Width = "100%" Height = "100%">
             Select="Elegir <Localization Logo" Remove="Elegir Otra" Cancel="Cancelar" />
I want that when elgir "Choose Other" in the RadAsyncUpload not show the image the bone RadBinaryImagethis blank that do not know how please help  
Plamen
Telerik team
 answered on 29 Feb 2012
3 answers
236 views

Hello ,

We are facing a sporadic issue when using the RadUpload control in our website.

The application is hosted    in a load balanced server and the session is stateless.

This is what is happening. If the user uploads 10 files (then it creates 10 temp files on the server in RadUploadTemp folder.)We have 2 app servers and when the user access the server, it might get connected to appserver1. But there is no guarentee that for all the 10times it tries to access the server, it will always go to appserver1 as they are loadbalanced. The moment it hits appserver2, we get file not found exception. If it always hits appserver1 then all the files will be uploaded successfully

We are get the error every now and then. Is there any configuration that can be set in the control that would make the control work without issues in case where the load balancing is set and the session is stateless?


Thank you
Regards
Pankaj

Peter Filipov
Telerik team
 answered on 29 Feb 2012
1 answer
138 views
I am trying to get jquery to handle the delivery of a message if the user tries to upload a file that is open. I am using the sample from here to work with. I know I must have missed something because the example from the link does what I want it to do but I am getting the script errors from below from my page.

Microsoft JScript runtime error: Exception thrown and not caught
Microsoft JScript runtime error: Unhandled Error in Silverlight Application [ScriptObject_InvokeFailed]

confusing because this is not a silverlight application but an ASP.NET

here is my client side code from the .ascx file.

<telerik:RadCodeBlock ID="RadFileUploadCodeBlock" runat="server">
 
    <script type="text/javascript">
        //<![CDATA[
        function validationFailed(sender, eventArgs) {
            $(".ErrorHolder").append("<p>Validation failed for '" + eventArgs.get_fileName() + "'.</p>").fadeIn("slow");
        }
        function closeDataContainer() {
            $('div[id$=datacontainer]').hide('slow');
        }
        //]]>
    </script>
 
</telerik:RadCodeBlock>
 
 
<div id="container">
    <div id="content-container">
        <div id="content">
            <telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
            <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" MultipleFileSelection="Disabled"
                OnClientValidationFailed="validationFailed" AllowedFileExtensions="xls, xlsx"
                AutoAddFileInputs="True" Height="25px" Width="250px">
                <FileFilters>
                    <telerik:FileFilter Description="*.xls; *. xlsx" Extensions="xls, xlsx"></telerik:FileFilter>
                </FileFilters>
            </telerik:RadAsyncUpload>
            Select files to upload (xls, xlsx)
        </div>
        <div id="aside">
            <asp:Button runat="server" ID="BtnSubmit" Text="Process File" OnClick="BtnSubmit_OnClick" />
        </div>
        <telerik:RadProgressArea runat="server" ID="RadProgressArea1" Width="582px">
        </telerik:RadProgressArea>
        <div id="Div1">
            <asp:PlaceHolder ID="MessagePlaceHolder" Visible="false" runat="server"></asp:PlaceHolder>
        </div>
        <!-- this is used for client side delivery of AsyncUpload Failure messages -->
        <div class="ErrorHolder">
        </div>
    </div>
</div>


Plamen
Telerik team
 answered on 29 Feb 2012
3 answers
93 views
I have an existing site and Im starting to use telerik controls in the site but Im getting this javascript error.

this.get_tree() is null


Im using an existing ajaxControlToolkit.TabContainers. 
  1. On the first tab you click a button and it displays a third tab containing a RadFileExplorer 
  2. now you click on the first tab the 3rd tab goes away
  3. then click on the second tab and the javascript error occurs.


This is some sample code to reproduce it (VB.net 4.0)

Protected Sub tabContainer1_ActiveTabChanged(sender As Object, e As System.EventArgs)
    If (tabContainer1.ActiveTabIndex = 0 Or tabContainer1.ActiveTabIndex = 1) Then
        With tabContainer1.Tabs(2)
            .Enabled = False
            .Visible = False
        End With
    End If
End Sub
 
Protected Sub Page_Load(sender As Object, e As System.EventArgs)
    If Not IsPostBack Then
        With tabContainer1.Tabs(2)
            .Enabled = False
            .Visible = False
        End With
    End If
End Sub
 
Protected Sub OpenNewTab_Click(sender As Object, e As System.EventArgs)
    With tabContainer1.Tabs(2)
        .Enabled = True
        .Visible = True
    End With
    tabContainer1.ActiveTab = tabContainer1.Tabs(2)
End Sub


<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" ScriptMode="Release" AsyncPostBackTimeout="60000" runat="server">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
    </Scripts>
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>
 <div>
     <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <ajaxControlToolKit:TabContainer ID="tabContainer1"  runat="server"
                ActiveTabIndex="0" AutoPostBack="True"
                     onactivetabchanged="tabContainer1_ActiveTabChanged">
        <ajaxControlToolKit:TabPanel ID="Tab1" runat="server">
            <HeaderTemplate>
                One 
            </HeaderTemplate>
            <ContentTemplate>
            Randon <br />Stuff
            <br />Click here to start>><asp:Button runat="server" ID="OpenNewTab" Text="OpenNewTab"
                    onclick="OpenNewTab_Click" />
            </ContentTemplate>
        </ajaxControlToolKit:TabPanel>
        <ajaxControlToolKit:TabPanel ID="Tab2" runat="server">
            <HeaderTemplate>
                Two 
            </HeaderTemplate>
            <ContentTemplate>
            More Random Stuff<br /><br />11111111
            </ContentTemplate>
        </ajaxControlToolKit:TabPanel>
        <ajaxControlToolKit:TabPanel ID="Tab3" runat="server">
            <HeaderTemplate>
                Three 
            </HeaderTemplate>
            <ContentTemplate>
            problem here<br />
 
            <telerik:RadFileExplorer runat="server" ID="editArticleImagePathEditor" ></telerik:RadFileExplorer>
            </ContentTemplate>
        </ajaxControlToolKit:TabPanel>
    </ajaxControlToolKit:TabContainer>
 
        </ContentTemplate>
</asp:UpdatePanel>
 
</div>
</form>
Dobromir
Telerik team
 answered on 29 Feb 2012
1 answer
129 views
Hello,

I'm building an OrgChart programatically and i want to get certain nodes. I don't find any way of doing this. The only method i found is 'GetNodeByHierarchicalIndex' but i can't get it to work. What is the int[] parameter that you need to pass.

Are there any other methods to get nodes etc...? For now i can manage to use GetAllGroupItems and looping the items and evaluating their level. It would be nice to get all elements for a specific level.

Regards,

Hans
Peter Filipov
Telerik team
 answered on 29 Feb 2012
3 answers
143 views
Hi

For the rad window control i have set the Icon. My icon size is 16*16 only. But my icon not displaying properly in the IE7,IE8 and Google Chrome.

Please find the attachments.
Icon Should look like the below image image.
               original.jpg
But in IE7 and IE8 and Chrome looks like below image.
         1. ie icon.jpg (IE 7 and IE8)
         2. chrome.jpg(Google Chrome)
Marin Bratanov
Telerik team
 answered on 29 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?