Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
150 views

I have a Reset button that should remove all filters - clearing the textbox as well as setting the menu to No Filter.

The problem is that I can only remove the text and the filter choice from one column. Here's a sample that works as expected:

 

function RemoveFilters() { 

 

var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();

 

 

 

masterTable.filter("Description", "", Telerik.Web.UI.GridFilterFunction.NoFilter);

 

 

}

 

 

However, when I try to add another column, the reset fails. This fails:

 

 

function RemoveFilters() {

 

var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();

 

 

masterTable.filter(

"PartNumber", "", Telerik.Web.UI.GridFilterFunction.NoFilter);

 

 

 masterTable.filter(

"Description", "", Telerik.Web.UI.GridFilterFunction.NoFilter);

 

 

}

Any idea how to fix this?

Ken
Microsoft MVP ASP.NET

 

 

Pavlina
Telerik team
 answered on 20 Jul 2009
1 answer
40 views


Good day everyone,

I have a problem.. 

The page isnt fully loaded for some people in the browser. 
The dropdown menu background, the docks commands and the windows commands too.

Any one know why its happening ?! 


Best Regards, 
Abdullah Al Ameri
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
111 views
Hello,
I am using telerik version 2009.1.527.35.
I have a tree view with a context menu and I am trying to change the display of the context menu. The situation is explained here: menu . As the width of my panel containing the tree is limited, I would like to display the 2nd menu level vertically as illustrated here. Is there a property to set the position of the 2nd menu level? Or which css tag should I modify?

Thany you in advance for your help!
Dominika
Top achievements
Rank 1
 answered on 20 Jul 2009
1 answer
97 views
    Protected Sub cmbNames_ItemsRequested(ByVal sender As ObjectByVal e As System.EventArgs) Handles cmbNames.ItemsRequested 
        Dim conn As New SqlConnection("connstringhere"
        Dim strSQL As String = "SELECT * FROM Members WHERE fName LIKE '%" & Me.cmbNames.Text & "%'" 
        Dim cmd As New sqlCommand(strSQL, conn) 
 
        conn.Open() 
        Dim table As New Data.DataTable 
        table.Load(cmd.ExecuteReader(data.CommandBehavior.CloseConnection) 
 
        Me.cmbNames.DataSource = table 
        Me.cmbNames.DataTextField = "fName" 
        Me.cmbNames.DataValueField = "ID" 
        Me.cmbNames.DataBind() 
    End Sub 

    <telerik:RadComboBox ID="cmbNames" runat="server" Skin="Telerik" Width="300px"  
        AllowCustomText="True"  
        AutoPostBack="True" 
        EnableLoadOnDemand="true" MarkFirstMatch="true"
    </telerik:RadComboBox> 

I have the following problem; No matter what i enter it loads all the records from the Table Members. The query is correct as i tested it directly against the SQL Server DB and it works just as expected.

I need it to shows up only the items (records) that match the entry e.g. if i enter Jo i expect to see only the names like John, Jonathan etc.

I guess i am missing some important attribute of the RadComboBox

Princy
Top achievements
Rank 2
 answered on 20 Jul 2009
3 answers
112 views
I tried:

dock.ForbiddenZones[0] = "Zone Name";
But it keeps saying Index was outside the bounds of the array.

Jim
Top achievements
Rank 1
 answered on 20 Jul 2009
24 answers
728 views
I receive the following error when installing the VS extensions.~3cbr /~3e ~3cbr /~3e Setup~3a~3cbr /~3e - VS 2008 SP1 ~28C~23~29~3cbr /~3e - AnkhSvn~3cbr /~3e - Resharper 4.5 beta~3cbr /~3e - Latest RadControls for ASP.Net Ajax~3cbr /~3e ~3cbr /~3e Error screenshot~3a http~3a//www.rawsoft.nl/img/24-3-2009_95702.jpg~3cbr /~3e

Wow!
Seems that RadEditor is incompatible with Firefox 3.1...

Original message:

I receive the following error when installing the VS extensions: http://www.rawsoft.nl/img/24-3-2009_95702.jpg

My setup:

- VS 2008 SP1 with C#
- AnkhSvn
- Resharper 4.5 beta
- Latest RadControls for ASP.Net Ajax
Erjan Gavalji
Telerik team
 answered on 20 Jul 2009
1 answer
228 views
I am building a fairly simple menu with the RadMenu Control and it works well, but I would like to be able to hide certain menu items based on an attribute in the .sitemap file.  ie.  hideFromMenu="true"

I thought I would be able to do this in a RadMenu_OnItemDataBound type of method where I would just check the attribute of the sitemap node and hide the ones that are set to be hidden. 

This doesn't seem to be the case and I'm sure other people have had a similar issue. 

Has anyone done this yet?

thanks
Atanas Korchev
Telerik team
 answered on 20 Jul 2009
1 answer
150 views
Hello,
The datasource for my combobox is an objectdatasource which is returning a datatable, when i try to assign the DataTextField and the DataValueField i dont see any values in the dropdowns. when i try to type in the values, i get an error. any help would be appreciated. thanks,
Atanas Korchev
Telerik team
 answered on 20 Jul 2009
1 answer
159 views
Hi There;

I'm trying to bind an System.Xml.Linq.XElement to a TreeView. Currently I'm using and XMLDataSource as an intermediary and converting the XElement to a string:

XmlDataSource1.Data = myXElement.ToString(); 
RadTreeView1.DataSource = XmlDataSource1; 
RadTreeView1.DataBind(); 

This works but surley there a more direct, cleaner way of doing this without converting the XElement ot a string?

Can anyone help please?

Thanks in advance

-Pete




Atanas Korchev
Telerik team
 answered on 20 Jul 2009
1 answer
98 views
Hi team ,

How to solve the below


Error 520 Assembly 'Telerik.Web.UI, Version=2008.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' e:\Foldername of project \bin\Telerik.Web.UI.dll  Projectname
Daniel
Telerik team
 answered on 20 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?