Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
Hey guys,

We are working with the Grid and struggling to get it to do what we need. Our requirements are as follows:

1. The underlying table will have millions of records, so custom paging of data is critical.

2. Several columns will require multi-select capability. For example, their is a manufacturer column. We need to be able to show all unique values in a combobox, allowing the user to select which ones to filter on. They would check one or more entries and only records with those values would be shown.

3. Date columns require various filter conditions, including "Between" which would show To and From fields in the filter row/header.

Can this be done? We do not want to use RadFilter, and performance is critical. 

Thanks for the help, guys.

 Rob
Eyup
Telerik team
 answered on 25 May 2012
5 answers
190 views
Hello All,

Is anybody knows after zooming radchart, is there any method or alternatives are available ?
or
How I can zoom out given rad chart back into original screen ?
(I used latest rad control version 2008)


Thanks in advance.
Giuseppe
Telerik team
 answered on 25 May 2012
1 answer
225 views
Hi,

I want radScheduler header caption (Today) instead of (today). and calendar picker image next to year.

i have attached image. please check and let me konw ASAP.

it is urgent for me. Please check and let me know.

Thanks,
Dhamu.
Pavlo
Top achievements
Rank 1
 answered on 25 May 2012
12 answers
647 views
I am creating a RadGrid completely in code-behind.  I want to use custom FilterTemplates with my GridBoundColumns.  All of the documentation and examples show the columns being added declaritvely in markup, and creating a custom GridTemplateColumn class for the filter template.  How can I add a custom filter template to a GridBoundColumn I'm adding programmatically?  Do I need some combination of an ITemplate implemention and a GridTemplateColumn?

Thanks

Matt A.
Iana Tsolova
Telerik team
 answered on 25 May 2012
0 answers
116 views
Hello All, 

I'm new to telerik grids, 

on Grouping, we need to present data in 2 rows for example say we are presenting student scores in each subject 

Science Math IT
National Average     99 99 100
County Average 99 92 99
Student 1 50 50 50
Student 2 1 1 1
National Average     98 50 55
County Average 20 10 50
Student 3 1 1 1
Student 4 1 1 1

So my grouped row should display, 2 rows of data i.e. National and County Average

Any suggestions or link to a sample would be of great help!

Many Thanks
Vijay


Vijay
Top achievements
Rank 1
 asked on 25 May 2012
1 answer
134 views
Hello

As I can use elements from my server for example js, css and gif and not use an externalurl for example http://aspnet-skins.telerikstatic.com/ajaxz/2012.1.215/FormDecorator.css

thank you very much beforehand 
Marin Bratanov
Telerik team
 answered on 25 May 2012
1 answer
142 views
Hi, we upgraded our web site from .NET 2.0 to 4.0, then some controls of RadControls for Asp.Net Q2 2007 can't work properly.

Test Enviroment :

 

IE Version : IE8

IIS Version : 5.0

RadControls Version : RadControls for Asp.Net Q2 2007(ASP.Net 2.X)

 

Issue one :

If a page used controls in assembly named RadAjax.Net2, there will be some Javascript errors caused when loading these pages. Please see picture "err1.jpg";

 

If I remove these ajax controls from this page , there will be no Javascript error.

 

Issue two:

I can’t select a Item from RadComBox. And RadComBox will always only display the last item if I click the left mouse button. Please see picture "err1.2pg";

My question is :
Can "RadControls for Asp.Net Q2 2007" work on .NET 4.0? If yes, what I should do to fix above two issues? If not, what I shall do if I have to use .NET 4.0?
I tried Telerik.Web.UI_2012_1_411_Dev.msi on .NET 4.0. There are big differences between RadControls for Asp.Net Q2 2007 in coding. If I use  

Telerik.Web.UI_2012_1_411_Dev.msi , I have to change huge amount of code. I can't afford it.

Would you give me some solutions to solve this problem? thanks in advance.

George

Richard
Top achievements
Rank 1
 answered on 25 May 2012
1 answer
147 views
Hi

Here's my issue: I ve a button in my content page, on click I want to upload a label in my master page with ajax.

I've read that: http://www.telerik.com/help/aspnet/ajax/ajxmasterpageupdateeverywhere.html 
and tried something like that:

In my content page: 

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load      
           Dim AjaxManager As RadAjaxManager = CType(Me.Master.FindControl("radAjaxManMaster"), RadAjaxManager)
           Dim lbl  As Label = CType(Master.FindControl("myLabel"), Label) 
           AjaxManager.AjaxSettings.AddAjaxSetting(btnAdd, lblCartItemCount, Nothing)   
    End Sub

Protected Sub btnAjouter_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click
    Dim lbl As Label = CType(Me.Master.FindControl("myLabel"), Label)
            lbl.Text = "New value"
End Sub

On the masterpage I ve that: 
 <telerik:RadAjaxManager ID="radAjaxManMaster" runat="server"  DefaultLoadingPanelID="RadAjaxLoadingPanel1">
 </telerik:RadAjaxManager>

<asp:Label id="myLabel"  runat="server"></asp:Label>


The loadingpanel is displayed on my label but it keeps the old value...

What I dont get its that it is rendering page cycle twice (two time page load on master page and contentpage)
...
(When I'm removing the three lines in page load of content page it works as it should (no page event called twice and label is updated but page is postback and no ajax...)) 


Could someone help me?
Iana Tsolova
Telerik team
 answered on 25 May 2012
2 answers
80 views
I am using RadSchedular with tooltips. I am updating RadSchedular with data on button click event. this is post back event.
Everything is working good. Only issue is when it postback events takes time there is no hour glass on RadSchedular.

So I added ajax support to button by adding it to AjaxManager and associating Radschedular to RadAjaxLoading panel.
This solved my issue but it broke my tooltip. ( does not work any more). Please help me to fix that.
I can send my project file. Let me know

If I remove following from RadAjaxmanager- tool tip starts working.
 <AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnViewUpdate">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
<telerik:AjaxUpdatedControl ControlID="lblViewName" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
Ashok
Top achievements
Rank 1
 answered on 25 May 2012
14 answers
352 views
Hello,
Below is how I initialize grid and filter

1. Page containing grid:
protected override void Page_Init(object sender, EventArgs e)
        {
            base.Page_Init(sender, e);
            Grid = new RadGrid(); // actually this is not RadGrid but descendant class I created
            Grid.Initialize(ZSheet, ForceLoad, DataSourceProvider, this); // create columns runtime
            ZSheetContainer.Controls.Add(Grid); 
            GridFilter.Initialize(ZSheet, Grid.ZTable.TableNameUser); 
            if (IsPostBack)
                GridFilter.ApplyFilter(); // create and apply filter expressions obtained from different source, see below
        }

2. Create filter expressions and editors:

public void ApplyFilter()
        {
            if (string.IsNullOrWhiteSpace(_hf.Value)) return;
            List<GridFilterItem> filterItems =
                new JavaScriptSerializer().Deserialize<List<GridFilterItem>>(_hf.Value);
            foreach (GridFilterItem item in filterItems)
            {
                ZSheetItem zitem = _table.Structure.FirstOrDefault(t => t.f_name == item.Condition.ColumnID);
                Type columnType = GetColumnType(zitem);
                Type filterExpressionType;
                Type[] types = new[] { columnType };
 
                switch (item.Condition.Operator)
                {
                    case GridKnownFunction.Contains:
                        filterExpressionType = typeof(RadFilterContainsFilterExpression);
                        break;
                    case GridKnownFunction.DoesNotContain:
                        filterExpressionType = typeof(RadFilterDoesNotContainFilterExpression);
                        break;
                    case GridKnownFunction.StartsWith:
                        filterExpressionType = typeof(RadFilterStartsWithFilterExpression);
                        break;
                    case GridKnownFunction.EndsWith:
                        filterExpressionType = typeof(RadFilterEndsWithFilterExpression);
                        break;
                    case GridKnownFunction.EqualTo:
                        filterExpressionType = typeof(RadFilterEqualToFilterExpression<>);
                        break;
                    case GridKnownFunction.NotEqualTo:
                        filterExpressionType = typeof(RadFilterNotEqualToFilterExpression<>);
                        break;
                    case GridKnownFunction.GreaterThan:
                        filterExpressionType = typeof(RadFilterGreaterThanFilterExpression<>);
                        break;
                    case GridKnownFunction.LessThan:
                        filterExpressionType = typeof(RadFilterLessThanFilterExpression<>);
                        break;
                    case GridKnownFunction.GreaterThanOrEqualTo:
                        filterExpressionType = typeof(RadFilterGreaterThanOrEqualToFilterExpression<>);
                        break;
                    case GridKnownFunction.LessThanOrEqualTo:
                        filterExpressionType = typeof(RadFilterLessThanOrEqualToFilterExpression<>);
                        break;
                    case GridKnownFunction.Between:
                        filterExpressionType = typeof(RadFilterBetweenFilterExpression<>);
                        types = new[] { columnType, columnType };
                        break;
                    case GridKnownFunction.NotBetween:
                        filterExpressionType = typeof(RadFilterNotBetweenFilterExpression<>);
                        types = new[] { columnType, columnType };
                        break;
                    case GridKnownFunction.IsEmpty:
                        filterExpressionType = typeof(RadFilterIsEmptyFilterExpression);
                        break;
                    case GridKnownFunction.NotIsEmpty:
                        filterExpressionType = typeof(RadFilterNotIsEmptyFilterExpression);
                        break;
                    case GridKnownFunction.IsNull:
                        filterExpressionType = typeof(RadFilterIsNullFilterExpression);
                        break;
                    case GridKnownFunction.NotIsNull:
                        filterExpressionType = typeof(RadFilterNotIsNullFilterExpression);
                        break;
                    default:
                        filterExpressionType = typeof(RadFilterEqualToFilterExpression<>);
                        break;
                }
 
                Type genericType = filterExpressionType.MakeGenericType(types);
                RadFilterExpression expression = (RadFilterExpression)Activator.CreateInstance(genericType, item.Condition.ColumnID);
                _filter.RootGroup.AddExpression(expression);
             }            
            _filter.FireApplyCommand();
}
 Now about the problem. When I call ApplyFilter from Page_Load() method, it raises a NullReferenceException in RadFilterDataEditor.CreateEditorFrom() method. When I call it from Page_Init() right after grid is initialized, filter won't apply. What am I doing wrong?
Thank you.
Rick
Top achievements
Rank 1
 answered on 25 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?