Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
502 views
I have a web page that uses jquery.load() to load different pages into a div.

When I invoke the .load command, it loads the page perfectly into a div, but it throws an error saying that "$telerik is undefined"

On the main page, I have a link that does this when you click it...

changeTab: function (tabURL) {
        var loader = $("#tabLoad");
        var content = $("div[id$='pnlTabContent']");
        loader.css("height", content.height());
        loader.fadeIn('fast', function () {
            content.load(tabURL, function () {
                loader.fadeOut("fast");
            });
        });
    }

When I call that function, I pass in a URL that has a bunch of telerik sliders on it. Everything shows up and works properly (all CSS and self defined JavaScript) except the telerik controls.

The strange thing is that when I invoke the function again or if I call "content.load(tabURL)" a second time, everything loads fine and all the telerik controls load perfectly.

It seems as if it has to load the telerik library the first time, and the second time, it will work.

Is there any way for me to load the telerik library or initialize telerik before I call the content.load() function?

Niko
Telerik team
 answered on 19 Mar 2014
5 answers
224 views
Is it possible to have the WindowManager within the FileExplorer have a different skin?

I am setting the following in code:

            rfeExplorer.Upload.Skin = "Default"
            rfeExplorer.WindowManager.Skin = "Default"

The FileExplorer has a Web20 setting, but appears as though the WindowManager ignores it.
Vessy
Telerik team
 answered on 19 Mar 2014
1 answer
501 views
I am trying to format a RadGrid which contains 4 columns. I have a few issues that I don't know how to fix.
1)I want to format that information so that it aligns with the columns
2)How do I change the background color so that it is alternating colors, right now they are all a gray color
3)I want to get rid of the Client number sorting (keep the grouping) and sort by Date of Decline DESCENDING

Here is the code that I have so far:
​<%@ Page Title="Report" Language="C#" MasterPageFile="~/MasterPages/Site.Master" AutoEventWireup="true" CodeBehind="Report.aspx.cs" Inherits="Report" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
 
<div>
 <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AllowFilteringByColumn="True"
    AllowPaging="True" AllowSorting="True" CellSpacing="0" GridLines="None"
    PageSize="500" ShowGroupPanel="True">
 <ClientSettings AllowDragToGroup="True">
 </ClientSettings>
 <MasterTableView AutoGenerateColumns="False" DataKeyNames="orderno"
 DataSourceID="SqlDataSource1" GroupsDefaultExpanded="False">
 <RowIndicatorColumn Visible="False">
 </RowIndicatorColumn>
 <ExpandCollapseColumn Created="True">
 </ExpandCollapseColumn>
 <Columns>
 <telerik:GridBoundColumn DataField="custnum" DataType="System.Decimal" FilterControlAltText="Filter custnum column"     HeaderText="Client Number" SortExpression="custnum" UniqueName="custnum">
 </telerik:GridBoundColumn>
 
 <telerik:GridBoundColumn DataField="event_date" DataType="System.DateTime" FilterControlAltText="Filter event_date column" HeaderText="Date" ReadOnly="True" SortExpression="event_date" UniqueName="event_date">
 </telerik:GridBoundColumn>
 
 <telerik:GridBoundColumn DataField="orderno" DataType="System.Decimal" FilterControlAltText="Filter orderno column"    HeaderText="Order Number" ReadOnly="True" SortExpression="orderno" UniqueName="orderno">
 </telerik:GridBoundColumn>
 
 <telerik:GridBoundColumn DataField="statdesc" FilterControlAltText="Filter statdesc column" HeaderText="Order Status" SortExpression="statdesc" UniqueName="statdesc">
 </telerik:GridBoundColumn>
 </Columns>
 <GroupByExpressions>
 <telerik:GridGroupByExpression>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="custnum" FieldName="custnum" HeaderText=" " HeaderValueSeparator="" />
 </SelectFields>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="event_date" FieldName="event_date" HeaderText=" " HeaderValueSeparator=" " />
 </SelectFields>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="orderno" FieldName="orderno" HeaderText=" " HeaderValueSeparator=" " />
 </SelectFields>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="statdesc" FieldName="statdesc" HeaderText=" " HeaderValueSeparator=" " />
 </SelectFields>
 <GroupByFields>
 <telerik:GridGroupByField FieldAlias="custnum" FieldName="custnum" FormatString="" HeaderText="" />
 </GroupByFields>
 </telerik:GridGroupByExpression>
 </GroupByExpressions>
 <PagerStyle AlwaysVisible="True" Mode="NextPrevNumericAndAdvanced" Position="TopAndBottom" />
 </MasterTableView>
 
 </telerik:RadGrid>
 </div>
 <br />
 <asp:SqlDataSource ID="SqlDataSource1" runat="server"
 ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
 SelectCommand="Report"
 SelectCommandType="StoredProcedure">
 </asp:SqlDataSource>
 
</asp:Content>

Princy
Top achievements
Rank 2
 answered on 19 Mar 2014
1 answer
83 views
I've just downloaded the latest RadControls for ASP .NET AJAX (February 2014). But what I'd like to know is: (a) how do I get this into our ASP.NET application in Visual Studio, and (b) how do I get those onto the web server? The Telerik.Web.UI.dll currently in our ASP.NET application is in the bin folder of our ASP.NET application.

We're using Visual Studio 2010 for this ASP.NET application.

Vessy
Telerik team
 answered on 19 Mar 2014
3 answers
260 views
I have a grid with a detail table that needed a custom sort. the custom sort works fine. I created an if-else to do a regular sort on the main table.
preclick:
column A
b
d
a

 When I click on a column in the main table the first time it sorts acending but the sort arrow points down.
column A v
a
b
d

I click again and the OldSortOrder is decsending just like the arrow which makes the NewSortOrder a no sort but the arrow is no pointing up.
column A ^
a
b
d

I click again and the OldSortOrder is ascending, NewSortOrder is descending and so is the grid but now there is no arrow.
column A
d
b
a


Any clues?
Shinu
Top achievements
Rank 2
 answered on 19 Mar 2014
4 answers
170 views
Hi All,

I have an issue in Safari Browser on Widows 7 OS.

Rad Grid rows are overflowing the fixed height when scroll amount is very large.
Here I had attached the screenshot of small scroll and large.
Venelin
Telerik team
 answered on 19 Mar 2014
3 answers
245 views
Hello

I am currently working on a web project that requires the use of RadMenu. 
When the user clicks on RadMenuItem, the Mega Dropdown Menu appears, like this: 
http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultvb.aspx?#qsf-demo-source

The menu is located inside a DIV that is 300px wide.  
When the user clicks on the RadMenuItem, I want the Dropdown Menu to open on 100% width of the page.
How can I do this? 

Thank you,
Daniel
Shinu
Top achievements
Rank 2
 answered on 19 Mar 2014
1 answer
115 views
Hello,

Connection Type : OLAP
Additional :configuration panel enabled.
Version : 2014.1.225

There is a defect in pivot grid when clicked on "Summarize by settings" property in zone context menu of an aggregated field it gives a script error. can be recreated in the Telerik OLAP demo aswell (http://demos.telerik.com/aspnet-ajax/pivotgrid/examples/olap/defaultcs.aspx). see the attached screenshots. 

Regards,
Yohan.
Angel Petrov
Telerik team
 answered on 19 Mar 2014
1 answer
83 views
We have the following issue with using Header Context Menu in IE9: 

When checkbox is unchecked to remove a column, the Grid removes two columns (the one
selected, plus the one on the right) as opposed to just the column selected.  After hitting Grid ‘Refresh’ link, all columns are shown correctly.

The problem is observed with both 2013.3.1114.40 and 2014.1.225.40.  Older version 2012.2.912.40 does not have this problem.
 
Please let us know what might be causing this and what we can try to resolve it.


Thank you,
Elena.


Shinu
Top achievements
Rank 2
 answered on 19 Mar 2014
1 answer
82 views
I am using radgrid grouping in this how to set the grouping width  in asp.net
Princy
Top achievements
Rank 2
 answered on 19 Mar 2014
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?