Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
1.5K+ views
AjaxControlToolkit Version 15.1 (March 2015)

The 15.1 AjaxControlToolkit release causes an error when Telerik UI for ASP.NET AJAX controls are used together with AjaxControlToolkit controls: "this._setProperties is undefined".

The error stems from the AjaxControlToolkit scripts and Telerik has no control over it. For the time being, there is no possible workaround from our end.

The previous workaround (using the ToolkitScriptManager) is no longer applicable, because the ToolkitScriptManager has been removed.

Ideas we can suggest are:

  • Remove the AjaxControlToolkit from your project and use Telerik UI for ASP.NET AJAX controls instead.
  • Contact the developers of the AjaxControlToolkit bundle so they can fix the issue.

 

AjaxControlToolkit Version 7.1005 (September 2013)

Recently, the AJAX Toolkit Team announced that standard script manager can no longer be used with their controls.
“- You must use the ToolkitScriptManager instead of the ScriptManager with the Ajax Control Toolkit.”

http://ajaxcontroltoolkit.codeplex.com/releases/view/112805

Since the RadScriptManager is based on the standard asp:ScriptManager, this change makes it not compatible, too. Therefore, to use both of the Telerik UI and AJAX Toolkit control bundles simultaneously within the same project, you have to use the ToolkitScriptManager.

Upon using the toolkit manager, you can come across an error when using an UpdatePanel. We’ve found out that this is due to the ToolkitScriptManager having a bug with script combining. The bug is fixed one day after their latest release:
http://ajaxcontroltoolkit.codeplex.com/workitem/27517
http://ajaxcontroltoolkit.codeplex.com/releases/view/116091

The problem can be reproduced in release mode when scripts are combined and after an AJAX request. The temporary workaround is to set CombineScripts to false:

<asp:ToolkitScriptManager runat="server" ID="ScriptManager1" CombineScripts="false"   />

Please note that the issue is not reproducible into debug mode, because the script combining logic works only in release mode.
Eyup
Telerik team
 answered on 30 Sep 2014
3 answers
162 views
Hello,
when I select a value from a radcombobox, i set radgrid.visible = true. Simlple, isn't it? Well, in firefox I have no issues, but in IE 11 I see a malformed grid.

Does anyone experienced a similar issue? I got no benefits running website in ie compatibility mode. Please, see the attachment.

Thanks
Pavlina
Telerik team
 answered on 30 Sep 2014
3 answers
173 views
hello

I am using telerik Reportviewer in webparts (sharepoint 2013)

when i run report it gives following error
403 FORBIDDEN

when report parameters are less it works fine  ,but  if parameters are more  then it gives above error.

below attached. is the  error image

thanks
waiting for reply.
kishor

Stef
Telerik team
 answered on 30 Sep 2014
5 answers
217 views
Hello geeks,

In our project we're using telerik's Radtreelist which contains the fields. And this treelist is postback everytime after clicking clicking on + symbol also on clicking of book button which is available after clicking on + symbol. Please help. I'm posting my code as well.

This is .aspx code.

<telerik:RadTreeList ID="rtlAvailableSlots" runat="server" OnNeedDataSource="rtlAvailableSlots_NeedDataSource"
        ParentDataKeyNames="ParentID" DataKeyNames="ID" PageSize="10" AutoGenerateColumns="false"
        AllowSorting="true" AllowPaging="false" HeaderStyle-Height="0%" Height="100%"
        OnItemCommand="rtlAvailableSlots_ItemCommand" OnItemCreated="rtlAvailableSlots_ItemCreated">
        <Columns>
            <telerik:TreeListBoundColumn DataField="ID" UniqueName="ID" Visible="false" />
            <telerik:TreeListBoundColumn DataField="Name" UniqueName="Name" />
            <telerik:TreeListBoundColumn DataField="AdviserName" UniqueName="AdviserName" />
            <telerik:TreeListBoundColumn DataField="BookDetail" UniqueName="BookDetail" Visible="false" />
             <telerik:TreeListBoundColumn DataField="Appt_Mode" UniqueName="Appt_Mode" Visible="false" />
            <telerik:TreeListButtonColumn ButtonType="LinkButton" DataTextField="BookLinkText"
                CommandName="BookAppt">
            </telerik:TreeListButtonColumn>
            <telerik:TreeListImageColumn UniqueName="VideoImageColumn" DataImageUrlFields="VideoImageText"
                DataImageUrlFormatString="~/Graphics/Video16.png" ItemStyle-HorizontalAlign="Center">
            </telerik:TreeListImageColumn>
            <telerik:TreeListImageColumn UniqueName="ImagesColumn" DataImageUrlFields="PreferImageText"
                DataImageUrlFormatString="~/Graphics/{0}.png" ItemStyle-HorizontalAlign="Center"
                DataAlternateTextField="PreferToolTip">
            </telerik:TreeListImageColumn>
            <telerik:TreeListBoundColumn DataField="FacilityId" UniqueName="FacilityId" Visible="false" />
            <telerik:TreeListBoundColumn DataField="FacilityResource" UniqueName="FacilityResource" Visible="false" />
            <telerik:TreeListBoundColumn DataField="AdviserResource" UniqueName="AdviserResource" Visible="false" />
            <telerik:TreeListBoundColumn DataField="TravelDetail" UniqueName="TravelDetail" Visible="false" />
        </Columns>
        <ClientSettings>
            <ClientEvents OnKeyPress="showSpinner" />
        </ClientSettings>
    </telerik:RadTreeList>




This is .cs.

 
                if (!IsPostBack)
                {
                    rtlAvailableSlots.ExpandedIndexes.Add(new TreeListHierarchyIndex { LevelIndex = 0, NestedLevel = 0 });
                    rtlAvailableSlots.ExpandedIndexes.Add(new TreeListHierarchyIndex { LevelIndex = 1, NestedLevel = 0 });
                    rtlAvailableSlots.ExpandedIndexes.Add(new TreeListHierarchyIndex { LevelIndex = 2, NestedLevel = 0 });
                }
Angel Petrov
Telerik team
 answered on 30 Sep 2014
1 answer
897 views
Hi ,
i want to implement client side pagination in radgrid how i can achieve it ?

below is the code for binding the data from client side , here only i am getting full set of data ,so next time when i click on pagenumber i don't want to do post back and i don't want to hit Database when i click on page number and also no postback. 

can any one send me sample code how to implement client side pagination.

 var serviceURL = 'http://localhost:1100/Invoice/InvoiceService.svc';
               // debugger;
                var jsonData;
                $.get(serviceURL, null, function (jsonData) {
                    try {
                        if (jsonData.length > 0) {
                         //   alert(jsonData);
                         //   debugger;
                            var grid = $find("<%=rgSiteorAcctDtls.ClientID%>");
                            var MasterTable = grid.get_masterTableView();
                             MasterTable.set_dataSource(jsonData);
                          MasterTable.dataBind();
                        }
                    }
                    catch (e)
                    { alert(e.message); }

                }
                ); 


.aspx code


<telerik:RadGrid ID="rgSiteorAcctDtls" ShowStatusBar="true" runat="server" AutoGenerateColumns="false" Skin="DV"
                            EnableEmbeddedSkins="false" GridLines="None" AllowMultiRowSelection="true"
                            BorderStyle="None" PageSize="5" AllowPaging="true" >
<MasterTableView>
   <Columns>
<telerik:GridBoundColumn DataField="VendorName"  HeaderText="Vendor" />
 <telerik:GridBoundColumn DataField="SiteName" HeaderText="Site "  />
some other columns...
 >

i tried below url but no help

http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/programmatic/defaultcs.aspx







Angel Petrov
Telerik team
 answered on 30 Sep 2014
6 answers
996 views
Hi there,

The question is similar to Radgrid export after filtering, and I follow the solution.

This

foreach (GridFilteringItem filter in radGrid.MasterTableView.GetItems(GridItemType.FilteringItem))
{
      filter.Visible = false;
}
radGrid.MasterTableView.ExportToExcel();

and this

radGrid.ExportSettings.IgnorePaging = true;
radGrid.ExportSettings.ExportOnlyData = true;
radGrid.ExportSettings.FileName = "MyFile_" + DateTime.Now.ToShortDateString();
radGrid.MasterTableView.ExportToExcel();

It doesn't work.

I still get the whole data.

Is there any property I miss?

This is my define in .aspx

<telerik:RadGrid ID="RadGrid1" runat="server" ActiveItemStyle-Wrap="false" AllowFilteringByColumn="False" AllowPaging="False" AllowSorting="True" AlternatingItemStyle-Wrap="false" AutoGenerateColumns="False"
    CellSpacing="0" CommandItemStyle-Wrap="false" DataSourceID="SqlDataSource1" EnableLinqExpressions="False" GridLines="None" HeaderStyle-Wrap="false" Height="600" ItemStyle-Wrap="false" OnPreRender="RadGrid1_PreRender"
    PagerStyle-AlwaysVisible="true" PageSize="20" SelectedItemStyle-Wrap="false" ShowGroupPanel="True" Skin="Web20" Width="1200" >
    <grouppanel text="<%$ Resources:MessageResource, MSG_RECMain_Group_Drop %>"></grouppanel>
    <groupingsettings casesensitive="false" showungroupbutton="true" />
    <clientsettings allowdragtogroup="true" enablepostbackonrowclick="false" enablerowhoverstyle="true">
        <selecting allowrowselect="true" enabledragtoselectrows="false" />
        <clientevents ongridcreated="RadGrid1_GridCreated" onrowselected="RowSelected"></clientevents>
        <resizing allowcolumnresize="True" allowresizetofit="true" allowrowresize="false" clipcellcontentonresize="true" enablerealtimeresize="false" resizegridoncolumnresize="false" />
        <scrolling allowscroll="true" usestaticheaders="true" />
    </clientsettings>
    <mastertableview allowmulticolumnsorting="False" datakeynames="PCID" datasourceid="SqlDataSource1">
        <rowindicatorcolumn visible="False"></rowindicatorcolumn>
        <expandcollapsecolumn created="True"></expandcollapsecolumn>
        <CommandItemSettings ShowExportToExcelButton="true" />
        <Columns></Columns>
    </mastertableview>
</telerik:RadGrid>
skywillnosky
Top achievements
Rank 1
 answered on 30 Sep 2014
8 answers
250 views

    Limiting the dropdown height in certain circumstances using the DropDownHeight property is fine, but why does the autocomplete dropdown not behave the same way as all the other dropdowns in your control suite in that a scrollbar will appear if the dropdown is too large for the vertical space available?
Ivan Zhekov
Telerik team
 answered on 29 Sep 2014
6 answers
235 views
My tabstrip doesn't fit into space allowed. I would like to print my tab text in two line to make tabs shorter. Intuitive solution to decrease width and increase height doesn't seem to work

 <telerik:RadTabStrip runat="server" ID="RadTabStrip1"
                        Orientation="HorizontalTop"  Align="Center"  
                        style="width:100%; margin-top:10px;"
                        SelectedIndex="0" MultiPageID="rmpValueAdded"             
                        Skin="Default">
                        <Tabs>
                            <telerik:RadTab Text="Total Value Added" Width="100px" Height="50px"/>
                            <telerik:RadTab Text="Employee Compensation"/>
                            <telerik:RadTab Text="Proprietor Income"/>
                            <telerik:RadTab Text="Other Property Type Income"/>
                            <telerik:RadTab Text="Tax on Production and Imports"/>
                        </Tabs>
</telerik:RadTabStrip>

Please help
David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 29 Sep 2014
1 answer
260 views
Hi All,

My question for client side code only using JavaScript.
I have a RadDropDownTree in my Form. In that DropDown I have some some data.
Suppose.
Central
    Middle Central
            Chicago
    Texoma
..
.
.
above mention is same data.

Now What I want is when User Select Chicago then Select text in client area of that dropdown should be anything like 'ABCD' or anything. I just want to set the
Selected text of that DropDownTree. I tried below mention code but is not working, In my RadDropDownTree, it still showing emptymessage.

var combo = $find("<%= RadDropDownLocations.ClientID %>");
combo._selectedText = "Davolio" + ";" + "Leverling";

Can someone guide me how can I set the text in DropDownTree


Vijay
Top achievements
Rank 1
 answered on 29 Sep 2014
1 answer
129 views
Hi there:

Im currently using the RadNumericTextBox to let users enter a value that ranges from 5000, to 0,0001. 
Im using the NumericTextBox since it does not allow charecters etc, and i like that.

My issue is when a user enters 0,0001 the box formats it to: 0,00 .

And when the user inputs 5000 it formats it to 5.000,00.

I want the user input to be true and not automaticly alter their input.

In the event that my application needs to accept 12 digit whole IDs, i want the textbox to just have that (e.g 123456789876).
Not have it changed to: 123.456.789.876,00

If i set DecimalDigits to 0 it ofcourse wont allow me to enter digits.
If i set GroupSeparator to ="" . It removes the group seperators but still adds digits to the end..

Thanks in advance.
Vasil
Telerik team
 answered on 29 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?