Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
Hi,

When I use RADAjax Version 1.8.5.0 I get the error "The base class includes the field 'AjaxLoadingPanel1', but its type (Telerik.WebControls.AjaxLoadingPanel) is not compatible with the type of control (Telerik.WebControls.AjaxLoadingPanel)." This error happens only in the MOSS site and not when I use normally with 1.8.5.0. I am able to get rid of this error if I use 1.0.5.0. Any workarounds will be highly appreciated. Thanks.
Rosen
Telerik team
 answered on 16 Jan 2009
1 answer
95 views
I have a RadWindowManager and a single RadWindow in it.  The window opens fine if the user is logged in.  However, the window does not open when the user is logged out. 

Any help is appreciated.

Thanks.

Vince
Georgi Tunev
Telerik team
 answered on 16 Jan 2009
1 answer
120 views
Hi, I set up a radgrid to allow for the user to create groupings by dragging: AllowDragToGroup="true"

The problem is that I have a column of dates that have a format string on them (it is listed below). When the client drags this column to group the dates are not grouped. It looks like grouping has taken place but they are all listed out in separate spots - even though they appear to have the same value. I know they have the same value from the database because I am only return mm/dd/yy in the stored procedure. 

<

 

telerik:GridBoundColumn DataField="RegStatusDate" HeaderText="Status Date" SortExpression="RegStatusDate"

 

 

ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="top" HeaderStyle-VerticalAlign="Top"

 

 

DataFormatString="{0:M/dd}" HtmlEncode="false" UniqueName="RegStatusDate" ReadOnly="True" />

Am I missing something? Thanks for any help.

 

Daniel
Telerik team
 answered on 16 Jan 2009
3 answers
143 views
I have been using 3 custom filters in a grid.  I wanted to save the value of the filter to filter on multiple values.  Do I have to change something in the code

public class MyCustomFilteringColumn : GridBoundColumn
    {

        //RadGrid will call this method when it initializes the controls inside the filtering item cells
        protected override void SetupFilterControls(TableCell cell)
        {
            base.SetupFilterControls(cell);
            cell.Controls.RemoveAt(0);
            Telerik.Web.UI.RadComboBox combo = new Telerik.Web.UI.RadComboBox();
            combo.ID = ("RadComboBox1" + this.UniqueName);
            combo.ShowToggleImage = false;
            combo.Skin =  "Office2007";// "Web20";
            combo.EnableLoadOnDemand = true;
            combo.AutoPostBack = true;
            combo.MarkFirstMatch = true;
            combo.Height = Unit.Pixel(100);
            combo.Width = Unit.Pixel(60);
            combo.ItemsRequested += this.list_ItemsRequested;
            combo.SelectedIndexChanged += this.list_SelectedIndexChanged;
            cell.Controls.AddAt(0, combo);
            cell.Controls.RemoveAt(1);
        }

        //RadGrid will cal this method when the value should be set to the filtering input control(s)
        protected override void SetCurrentFilterValueToControl(TableCell cell)
        {
            
            base.SetCurrentFilterValueToControl(cell);
            RadComboBox combo = (RadComboBox)cell.Controls[0];
            if ((this.CurrentFilterValue != string.Empty))
            {
                combo.Text = this.CurrentFilterValue;
            }
        }

        //RadGrid will cal this method when the filtering value should be extracted from the filtering input control(s)
        protected override string GetCurrentFilterValueFromControl(TableCell cell)
        {
            RadComboBox combo = (RadComboBox)cell.Controls[0];
            return combo.SelectedValue;
        }

            private void list_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
            {
                ((RadComboBox)o).DataTextField = this.DataField;
                ((RadComboBox)o).DataValueField = this.DataField;
                ((RadComboBox)o).DataSource = GetDataTable("SELECT DISTINCT " + this.UniqueName + " FROM Content_UserCalls WHERE " + this.UniqueName + " LIKE '" + e.Text + "%'");
                ((RadComboBox)o).DataBind();
                ((RadComboBox)o).Items.Insert(0, new RadComboBoxItem("None", ""));
            }

        private void list_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
        {
            GridFilteringItem filterItem = (GridFilteringItem)((RadComboBox)o).NamingContainer;

      
            if ((this.UniqueName == "Index"))
            {
                //this is filtering for integer column type
                filterItem.FireCommandEvent("Filter", new Pair("EqualTo", this.UniqueName));
            }
            //filtering for string column type
            filterItem.FireCommandEvent("Filter", new Pair("Contains", this.UniqueName));
        }

        public static DataTable GetDataTable(string query)
        {
            DataTable myDataTable = UserCallsDAO.GetFilterColumns(query);


            return myDataTable;
        }

    }
Yavor
Telerik team
 answered on 16 Jan 2009
8 answers
119 views
Hi

I have a floating splitter (via an MSAjax:AlwaysVisibleControlExtender) with sliding zones in tab format, all works rather nicely except that if I scroll the page and then open a sliding zone it appears in the same part of the screen and is no longer at the top.

whereas if I open the sliding zone at the top of the page it appears in the right place (under the tab)

is there some javascript or a setting to keep the zone that slides out under the tab at the top of the browser (rather than the page) even if i scroll to the end of the page.

Strangly if i open the sliding pane and then scroll then it keeps its top of the browser position

any help would be appreciated

thanx
rob
Top achievements
Rank 1
 answered on 16 Jan 2009
10 answers
246 views
Hello,

The drop down of the combo is aligned with the left side of the drop down text box.  Is it possible to align it with the right side of the combo text box or arrow?  I need it to flow more to the left.

Thanks.
Simon
Telerik team
 answered on 16 Jan 2009
3 answers
365 views
Is there a way to tell FormDecorator to not put rounded corners on textboxes?  For Firefox, I just modified styles.  But for IE, the textbox is surrounded by a table with class=radfd_roundedWrapper.  I know I could modify all of the related styles, but It would be great if there was a setting to tell formDecorator to not use rounded corners at all so it would not generate the table HTML.  I am using version 2008.3.1105.20.
Tervel
Telerik team
 answered on 16 Jan 2009
1 answer
145 views
I have a RadWindow that contains a RadTabStrip, and each tab contains a RadGrid.  Performance is extremely slow when the window first opens ... is there anything I can do to speed it up?  In general the RadWindow seems slow no matter what it's loading, and the RadTabStrip also seems to slow down the initial page load a lot ... together they are extremely slow.  I have ruled out the possibility of slow SQL queries for the RadGrids ... it's definitely not that.
Paul
Telerik team
 answered on 16 Jan 2009
2 answers
157 views
Hello,

We think we found a serious bug in the radmenu of the 2008 Q3 version. I'll try to explain. An example is difficult because time is not on our side.

We have a radmenu positioned on the bottom-left of the screen (6 items)
1) The first item has 8 subitems expanded to the right with a vertical flow => the last items disappear because their is no space available on the screen. In Q2 the items are pushed higher so that all items are visible. Q3 seems to calculate a height and drops the items that do not fit on the screen.

2) We then tried to set autoscrollminimumheight but that clearly has no effect. It is probably for something else which we still have to figure out

3) We set the property DefaultGroupSettings-Height="520" . so the height is fixed and the items fit in the space. The space is now pushed from the bottom of the screen. => Nice space enough BUT
Every new hover over the root menuitem opens the group but makes it smaller, time after time it seems like 20 px from the 520 are being left out eventually it stops removing 20 pixels and it results in the starting problem: the last menuitems our dropped off.

We can provide screenshots but their's no time to provide a project or code.

Hopefully you can figure it out or help us in the right direction

thanks in advance,
The Sofim-team (Belgium)
Lien Vandamme
Top achievements
Rank 1
 answered on 16 Jan 2009
1 answer
105 views
Hello,

Anybody get grouping and scrolling to work together?  When grouping and scrolling for a grid of ours, the scrollbar appears and disappears.

Thanks.
Dimo
Telerik team
 answered on 16 Jan 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?