Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
932 views
Hi,

I'm trying to create a combo box that can wrap the selected item's text when closed. At present, when you set the width of the combo box, the drop-down menu automatically wraps any items that are too wide. However, once you select an item, and the combo box menu closes, the text for the selected item gets cut off if it's wider than the combo box's width. Instead, I want to be able to increase the height of the (closed) combo box and allow the text to wrap.

Is this possible with the RadComboBox? If not, is there another control I could use to achieve this?

Many thanks,

Jake.
Jake
Top achievements
Rank 1
 answered on 11 Feb 2009
1 answer
88 views
sorry for the dumb question but is vers 2008.3.1314.35 considered Prometheus?
Daniel
Telerik team
 answered on 11 Feb 2009
1 answer
352 views
Hi,

Where can I get a comprehensive list of examples and a better understanding for the RadChart Object model?
Velin
Telerik team
 answered on 11 Feb 2009
4 answers
197 views
I had written some code to re-use for each of my grids that sets the filtering functions across my whole project.  In the grid I define:

OnInit="RadGridFilter_Init"

protected void RadGridFilter_Init(object sender, EventArgs e)
    {
        Misc.RadGridFilterOptions(sender, e);
    }

public static void RadGridFilterOptions(object sender, EventArgs e) 
        { 
            RadGrid rg = (RadGrid)sender; 
            rg.EnableLinqExpressions = false
 
            rg.GroupingSettings.CaseSensitive = false
 
            //Setting the available filter options 
            GridFilterMenu menu = rg.FilterMenu; 
 
            for (int i = menu.Items.Count - 1; i >= 0; i--) 
            { 
                if (menu.Items[i].Text == "NoFilter" 
                        || menu.Items[i].Text == "Contains" 
                        || menu.Items[i].Text == "EqualTo" 
                        || menu.Items[i].Text == "GreaterThan" 
                        || menu.Items[i].Text == "LessThan" 
                        || menu.Items[i].Text == "StartsWith"
                { 
                    i--; 
                } 
                else 
                { 
                    menu.Items.RemoveAt(i); 
                } 
            } 
             
 
            foreach (GridColumn column in rg.Columns) 
            { 
                if (typeof(System.String) == column.DataType) 
                { 
                    column.AutoPostBackOnFilter = true
                    column.CurrentFilterFunction = GridKnownFunction.Contains; 
                } 
                else  
                { 
                    column.AutoPostBackOnFilter = true
                    column.CurrentFilterFunction = GridKnownFunction.EqualTo; 
                } 
            } 
        } 
This would allow my grids to have the CurrentFilterFunction set for each column and enable autopostback.  This worked until we updated to the newest release (1-14-09).  Now if I disable the lines that set the autopostbackonfilter to true it will work but otherwise only one column will filter and then any other column's filtering ability is broken.

To re-cap, when I filter the first column as soon as I type in text and hit tab, the column filters the grid correctly.  However, as soon as I try to filter another column the gird appears to do an ajax call back but nothing changes.  Am I missing something in the newest release or is this a bug.  It worked before.

Thanks



Curt
Top achievements
Rank 1
 answered on 11 Feb 2009
6 answers
504 views

Hi,

 

What is the correct way to make all buttons in the toolbar have the same width?

By default the width seems to depend on the length of the Text property, thus all buttons are different. I tried setting Width property, but then the buttons often get distorted (when highlighted).

 

Thanks,

 

Oleg

 

Oleg
Top achievements
Rank 1
 answered on 11 Feb 2009
4 answers
184 views
I just don't know what I need.  I followed the directions in the Online Help page.  All errors are bold, italicized, and underlined.  Thanks in advance.

  protected void Page_Init(object sender, System.EventArgs e)  
    {  
        RadGridZoneList.FilterMenu.Items.Clear();  
        RadMenuItem menuItem = new RadMenuItem();  
        RadGridZoneList.FilterMenu.Items.Add(menuItem);  
        menuItem.Text = "Custom-Text (Contains)";  
        menuItem.Value = "Contains";  
        (RadGridZoneList.FilterMenu as GridFilterMenu).OnClick += new RadMenuEventHandler(FilterMenu_OnClick);  
    }  
    protected void FilterMenu_OnClick(object sender, RadMenuEventArgs e)  
    {  
        GridFilteringItem filterItem = RadGridZoneList.MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem;  
        filterItem.FireCommandEvent("Filter", new Pair(e.Item.Value, e.Item.Attributes["columnUniqueName"]));  
    }  
Jon-Jon Kershaw
Top achievements
Rank 2
 answered on 11 Feb 2009
1 answer
52 views
I'm loading my project from a network drive.  The studio doesn't seem to recognize the telerik controls for some reason until I drag one of the controls onto the designer then delete it...

I've got the register tag at the top of the page, and the web.config has the reference as well

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

Any ideas?



Paul
Telerik team
 answered on 11 Feb 2009
3 answers
97 views
hi all,
 I am using RAD Editor HTML field control in my page layout. I am supposed to give some styles to the Text . If i am giving the style which has image with that is not getting displayed in the edit mode. Once if we "check in" the page or "Save and stop editing" only it works.

Please let me know any work around to get the style applied in the edit mode it self ?
Stanimir
Telerik team
 answered on 11 Feb 2009
1 answer
96 views
Hi,

I'm trying to make a page that insert an appointment to a Database getting to look like the form already with the scheduler(i have copy and pasted all the HTML and code from the custom form) but it seems i need to have a scheduler on the page.

for my application i don't need that for inserting only editing an appointment's which can be handled on the scheduler page.

now you used to have the edit in external RadWindow which would have helped me but i can't find links to it that still work

if you could supply them to me or have another way of doing this would be great.

James
Peter
Telerik team
 answered on 11 Feb 2009
3 answers
731 views
I have a requirement that need to let user input MAC address.  There is Hex-format input.  For example:

00-14-EB-AC-15-10

How can I do this with RadMaskedTextBox?
Will Huang
Top achievements
Rank 2
 answered on 11 Feb 2009
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?