Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
56 views
Dear Team,

We upgraded our Telerik to the 2014 Q3 build. Further to upgrade, we found that the Rad List Box appears to be in disable state whichever skin we apply for it. As per our application, we render our control via partial post back inside an user control. We also tested for the same by isolating this control to a separate aspx page. While rendering, we noted errors thrown in the Javascript FireBug console (please see attached).

Attachment #1: TelerikProblem.png (taken from FireBug console)
Attachment #2: TelerikInside.png (taken from the screen that appeared when clicking the error on the FireBug console).

This happens only for Rad List Box whereas there is no issue with other controls.

This happens in Google Chrome & IE also.

On Google chrome, the console error read as follows

Telerik RadListBox Cannot read property 'Classic' of undefined

We tried different render modes, still the same occurs.

Kindly let us if we are missing something.

Thanks and Regards,

Arockia J
Dimitar Terziev
Telerik team
 answered on 08 Dec 2014
28 answers
476 views
I have a simple grid and trying to export to PDF with AllowPaging. Whenever I try to export, I get an error that says "System.InvalidCastException: Unable to cast object of type 'Telerik.Web.Apoc.Layout.BlockArea' to type 'Telerik.Web.Apoc.Layout.AreaContainer'."  I looked through the code and whenever I set IgnorePaging to true, I get this error. If I set it to false, it works fine but, I don't get full data.  I use ObjectDataSource for connection to the grid.
Kostadin
Telerik team
 answered on 08 Dec 2014
1 answer
84 views
i used a rad menu . i want to remove blur effect on sub menu items when mouse over them.
this highlight effect is like a foreground for items.how can remove that from style.
Dimitar Terziev
Telerik team
 answered on 08 Dec 2014
9 answers
248 views
Hello,

I am working on a project with RadAjaxManager.
The AJAX settings can be defined in the code behind only.
I'm trying to access the RadAjaxPanel via the JavaScript, by its ID.
The AjaxPanel and its ID are created by the RadAjaxManager automatically.

How can I achieve this?

Thanks,
Daniel.
Daniel
Top achievements
Rank 1
 answered on 07 Dec 2014
2 answers
105 views
Hello,

I am working on a project with a RadGrid.

I implemented in my project a filter like this:
http://www.telerik.com/clientsfiles/163455d1-78d6-4f71-8839-2ba11e639917_RadGridFilterFocusPreserve.zip?sfvrsn=0

I have 2 questions:

1. How can I filter, also when the user just pastes text directly into textbox filter without typing? [See video]
2. How can I see previously selected rows, which disappeared because of a newer filter and now reappear, after that filter was removed? [see video]

 
Thanks,
Daniel
Daniel
Top achievements
Rank 1
 answered on 07 Dec 2014
2 answers
134 views
Hello,

there is a strange style issue when imbed a rad grid directly inside a rad window. As you can see from the screenshot, the row position is way off and covering the header, but all other rad grid I use outside the rad window look just fine. and it's reproducible in all browsers.

here is the code:

<telerik:RadWindow ID="rwFilters" Modal="true" runat="server" Behaviors="Close, Move, Resize" Title="Filter"
IconUrl="~/Images/close1.png" Width="995px" Height="530px">
<ContentTemplate>

<telerik:RadGrid ID="RadGrid3" runat="server" GridLines="None" HeaderStyle-HorizontalAlign="Center"
Width="970px" AllowPaging="false" Height="200px" AutoGenerateColumns="false" EnableAjaxSkinRendering="true" EnableEmbeddedBaseStylesheet="true"
HorizontalAlign="Justify" AllowMultiRowSelection="True" OnNeedDataSource="RadGrid3_NeedDataSource"
AllowFilteringByColumn="false" AllowSorting="false" Skin="Vista" >
<MasterTableView HorizontalAlign="left" DataKeyNames="ID">
<NoRecordsTemplate>No record found.</NoRecordsTemplate>
<Columns>
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" Visible="true">
<HeaderStyle HorizontalAlign="Left" Width="30px" />
</telerik:GridClientSelectColumn>
<telerik:GridBoundColumn
Display="false"
DataField="ID"
HeaderText=""
UniqueName="ID"
SortExpression="ID"
AllowFiltering="false"
ReadOnly="True" >
<HeaderStyle Width="50px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="State"
HeaderText="State"
UniqueName="State"
SortExpression="State"

DataType ="System.String"
ReadOnly="True">
<HeaderStyle Width="60px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="County"
HeaderText="County"
UniqueName="County"
SortExpression="County"
AllowFiltering="true"
DataType ="System.String"
ReadOnly="True" >
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="CityOrZip"
HeaderText="City/Zip"
UniqueName="CityOrZip"
SortExpression="CityOrZip"

DataType ="System.String"
ReadOnly="True">

</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="Street"
HeaderText="Street"
UniqueName="Street"
SortExpression="Street"

DataType ="System.String"
ReadOnly="True" >
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="Status"
HeaderText="Status"
UniqueName="Status"
SortExpression="Status"

DataType ="System.String"
ReadOnly="True" >
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="PropertyType"
HeaderText="Type"
UniqueName="PropertyType"
SortExpression="PropertyType"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="60px">
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="SaleDate"
HeaderText="SaleDate"
UniqueName="SaleDate"
SortExpression="SaleDate"
DataType ="System.String"
ReadOnly="True">
<HeaderStyle Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="Bedroom"
HeaderText="Bedroom"
UniqueName="Bedroom"
SortExpression="Bedroom"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="30px">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="Bathroom"
HeaderText="Bathroom"
UniqueName="Bathroom"
SortExpression="Bathroom"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="30px">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="SqFt"
HeaderText="SqFt"
UniqueName="SqFt"
SortExpression="SqFt"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="60px">
<HeaderStyle Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="YearBuit"
HeaderText="YearBuit"
UniqueName="YearBuit"
SortExpression="YearBuit"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="40px">
<HeaderStyle Width="80px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="Unit"
HeaderText="Unit"
UniqueName="Unit"
SortExpression="Unit"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="30px">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn
DataField="OpeningBid"
HeaderText="OpeningBid"
UniqueName="OpeningBid"
SortExpression="OpeningBid"

DataType ="System.String"
ReadOnly="True" FilterControlWidth="90px">
<HeaderStyle Width="100px" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>

<ClientSettings>
<Selecting AllowRowSelect="true"/>
<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />
</ClientSettings>
</telerik:RadGrid>
</ContentTemplate>
</telerik:RadWindow>

please help,

Thanks a lot!
Shannon
Top achievements
Rank 1
 answered on 05 Dec 2014
1 answer
77 views
Good day.Is there a way that i can change the current Delete Appointment Button ( shown as X ) in the radscheduler into a html / asp.net button?
Our clients sometimes click this x button accidentally, so we would like to show a button which is more presentable.

Hoping for your reply.
Thank you very much.

Yours faithfully,
Rommel Sudan
Boyan Dimitrov
Telerik team
 answered on 05 Dec 2014
1 answer
66 views
Hello Telerik, 

this is probably just a little something I forgot to put in my code but I can't seem to find it.

Basically I have this RadGrid and when I sort any column there's a postback but after that, the RadGrid is empty.

1) Allow sorting is set at true for the RadGrid AND for the Columns
2) The sorting expressions are the same as the DataField and Unique ID. (and for the Template column the sorting expression is the same value as I put in the link button or other controls with DataBinder.Eval(Container.DataItem, ''theSortingExpression'')

Right now, the data binding occurs only if its not a postback.
If I don't put the data binding in the postback, it just says invalid postback argument (because the Unique ID will not be the same anymore, which is normal)

How am I supposed to use the sorting properly with DataBinding in the code behind

Thanks !
Mark
Top achievements
Rank 1
 answered on 05 Dec 2014
1 answer
83 views
Hi Telerik Team,

Do you have any examples you can provide where a "Radlive" Tile is used in a visual webpart for SharePoint 2010.

I tried the using the demo examples that were provided in the links below but that does not work for me . The radlive tile does not get populated.

http://demos.telerik.com/aspnet-ajax/tilelist/examples/livetiles/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/tilelist-tiles-livetile-loading-data.html
http://blogs.msmvps.com/windsor/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010/

I have tried both page methods and webservices. Neither has worked for me. Any help at this point would be greatly appreciated.



Here is the markup and server side code:

 

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TileMe.aspx.vb" Inherits="Starter.TileMe" %>

 

<!DOCTYPE html>

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

   
<title></title>

   
<link href="styles.css" rel="stylesheet" type="text/css" />

 

   
<script type="text/javascript">

 

       
//The dataLoadingError client side event
occurs after the data request returns an error.

 

       
function
tileDataLoadingError(sender, args) {

 

           
var data =
args.set_cancelErrorAlert(true);

 

       
}

 

       
//The dataLoaded client side event occurs
after the data request returns the data successfully.

 

       
function
tileDataLoaded(sender, args) {

 

           
var data =
args.get_data();

           
//format the received date property

 

       
}

 

       
//The templateDataBound client-side event
occurs after the client template is data bound.

 

       
function
tileClientTemplateDataBound(sender, args) {

 

       
}

 

   
</script>

</head>

<body>

   
<form id="form1" runat="server">

   
<div>

       
<telerik:RadScriptManager ID="rsmTileMe" runat="server" EnablePageMethods="true" />

 

       
<telerik:RadLiveTile ID="rltTileMe" runat="server" UpdateInterval="6000" Value="TILEME" Shape="Wide" />

   
</div>

   
</form>

</body>

</html>

 

Imports Telerik.Web.UI

Imports System.Runtime.Serialization

'Imports
System.ServiceModel

 

Public Class TileMe

   
Inherits
System.Web.UI.Page

 

   
<DataContract> _

   
Public Class TileMeSilly

       
<DataMember>
_

       
Public ReadOnly Property CurrentDateTime As String

           
Get

               
Return
Now.ToString

           
End Get

       
End Property

 

       
<DataMember>
_

       
Public ReadOnly Property TomorrowDateTime As String

           
Get

               
Return
Now.AddDays(1).ToString

           
End Get

       
End Property

   
End Class

 

   
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

       
InitTileMe(rltTileMe)

   
End Sub

 

   
Protected Sub InitTileMe(ByVal tile As RadLiveTile)

       
tile.Target = "_blank"

       
tile.ClientTemplate = "<div
class=""tileClientTemplate"">" & _

               
"<div><strong>Current:</strong>
#= CurrentDateTime #</div>" & _

               
"<div><strong>Tomorrow:</strong>
#= TomorrowDateTime #</div>" & _

              
"</div>"

 

       
tile.WebServiceSettings.Path = "TileMe.aspx"

       
tile.WebServiceSettings.Method = "TileMeMeth"

 

       
tile.OnClientDataLoaded = "tileDataLoaded"

       
tile.OnClientDataLoadingError = "tileDataLoadingError"

       
tile.OnClientTemplateDataBound = "tileClientTemplateDataBound"

   
End Sub

 

   
<System.Web.Services.WebMethod()> _

   
Public Shared Function TileMeMeth() As TileMeSilly

       
Return New TileMeSilly

   
End Function

End Class

Marin Bratanov
Telerik team
 answered on 05 Dec 2014
1 answer
129 views
Hi,

          Please tell me how to customize the RadGrid Filter i.e., I just want to Change the Filter names
          such as NoFilter to No Filter just i need a space between two words.

          Waiting for your reply.




Thanks in Advance.
        
Pavlina
Telerik team
 answered on 05 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?