Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
101 views
Hello, I'm using the following code to translate the options in the FilterMenu of a RadGrid into German.

protected void Page_Load(object sender, EventArgs e) 
{ 
    foreach (RadMenuItem item in myGrid.FilterMenu.Items) 
    { 
        item.Text = "some text"; 
    } 
} 

This has the desired effect, but after applying a filter to the same column 2 times, the FilterMenu somehow stops working and can't be used a third time..
The width of the popup changes to just a few pixels and it's impossible to see or click the menu items.
I've tried putting the translation into a !IsPostBack block but then the language reverts to english after the first postback.

Any suggestions?




Michael
Top achievements
Rank 1
 answered on 20 Jul 2009
6 answers
344 views
Hi All,


I would like to know is there any way to display data of row to column like.

Original getted data:

           Col1    Col2   Col3
Row1    A         B         C
Row2    V         B         D


The format that I need is:

        Row1    Row2
Col1    A        V
Col2    B        B
Col3    C        D


Is there any sample for solve this problem?

Thanks in advancd,
-Toi
Sebastian
Telerik team
 answered on 20 Jul 2009
6 answers
233 views

Reusable content is inserted in the wrong location IE8

When I use the template picker to insert some reusable html content  in the Rad editor the HTML snippet is inserted not in the text editor, but shows up in the page.

Details:

 

  • IE8 (IE7 and IE6 work as expected)
  • MOSS SP1 and MOSS SP2
  • RadEditorMOSS_4_5_0 and RadEditorMOSS_4_5_6

The snippet is inserted in the page just below:

<form name="aspnetForm" id="aspnetForm" action="Homepage.aspx" method="post" submit="function(){try{RadEditorNamespace.SaveAllEditors();var _a0=this.submit;this.submit=_9f;var _a1=this.submit();this.submit=_a0;}catch(exc){}}">  
<snippet is inserted here><rest of page... 

The snippet does not showup in the editor iframe and is not saved with the edited content.

Please help,

Regards, Evert

Stanimir
Telerik team
 answered on 20 Jul 2009
1 answer
96 views
Hello,

I noticed this style generated for combobox, is it normal
style="width:100%;-moz-inline-stack;display:inline-block;zoom:1;*display:inline;"

what is the usage of the * before display ? Or is it a bug ?

Thanks

CS
Kamen Bundev
Telerik team
 answered on 20 Jul 2009
7 answers
78 views
repro:
2. click on "Mail"

expected: arrow should point in the opposite direction

the demo works fine in FF3.5, IE7&IE8 and Chrome 2.0

thanks,
P

Alex Gyoshev
Telerik team
 answered on 20 Jul 2009
1 answer
156 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
42 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
113 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
104 views
    Protected Sub cmbNames_ItemsRequested(ByVal sender As Object, ByVal 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
120 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?