Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
103 views
How can we get accurate numbers out for aggregates applied to a grid with virtual paging enabled?

I've recently switched over a grid to virtual paging.  Before, the code would just select everything and let the control work out what to display and how to deal with groups and aggregates.  However, many of my customers were running into issues (understandably) with large tables - those containing a few hundred thousand or more.  The grid was taking forever to display / group / page / etc.

Now, the grid is very high performance, thanks to the new MSSQL 2012 OFFSET... FETCH NEXT statement - it's about time they implemented that!  While it's high performance, i've now lost the ability to do grouping and aggregates correctly.  It will only summarize what is on the current page.  Certainly that makes sense - there's no way for the telerik grid to read data it hasn't been handed.

So - how do i correct this?  I don't need a full-blown example, but rather just a quick push in the right direction.  Is there a function i can override to deal with the groups / aggregates manually?  Is that the right choice?  Any help here would be appreciated!

Thanks!

-RP
Justavian
Top achievements
Rank 1
 answered on 23 Jan 2013
7 answers
242 views
Hello,

System: ASP.NET AJAX 2012.2.607.40

In previous version of RadRibbonBar, it was possible to let it to follow the width of the parent component, even with the window itself, by setting its Width="100%".
This doesn't work anymore with the new version of RadRibbonBar.
Any workarounds exist?

Best regards,
Alain
Ivan Zhekov
Telerik team
 answered on 23 Jan 2013
8 answers
209 views
Hi, there is a way to hide the hours in the scheduler, from for example 11 pm to 7 am? i want show only the day

Thanks
TT
Top achievements
Rank 1
 answered on 23 Jan 2013
1 answer
82 views

Hi:

I have a a problem; I have a grid with select column , and when a want to select all the records I receive this error: "Stop running this script?", my grid has about 2300 records, when the number of records is less I dont have this problem, I try using the paging but when i want to select all records this accion only select the records from the selected page.

What can I do????

Pavlina
Telerik team
 answered on 23 Jan 2013
2 answers
84 views
Can we develop desktop applications using html5 & telerik ?
Bhuvan
Top achievements
Rank 1
 answered on 23 Jan 2013
3 answers
266 views
In my grid table view, I want to have my last column to take the span of all the rows in the tableview.

In order to do this, I need to be able to loop through all the rows of the gridtableview but when I try the following in my DetailTableDataBind : 

e.DetailTableView.Items.Count

it always returns 0.

What can I do in order to achieve this?

Thanks

Maxime
Top achievements
Rank 1
 answered on 23 Jan 2013
3 answers
99 views
Hello!

I am implementing a TreeList with 2 columns. One is a name and the other one is a SelectColum, with checkboxes. 

This list displays a hierarchy. 

Is that possible to have tri-state checkbox behaviour for the SelectColumn?


Any help will be much appreciated.


Thanks,
Christian
Christian
Top achievements
Rank 1
 answered on 23 Jan 2013
2 answers
67 views
Hello all,

I am using a RadEditor in where I need to enable Edit Mode or Preview Mode based on permissions (Only specific users can edit the content).

So, it is working OK but because of space, I need to use the "Floating" toolbar option.

The issue appears when I set Preview Mode + Floating Toolbar...and it is that the toolbar allows me to edit the content...If I use "Default" Toolbar mode...it appears as "grey out" and I cannot use it...achieving what I need...but if I go back to "Floating" mode, the restriction goes off.

Please let me know if you have any ideas about what could be happening.

This is what I am calling in the "OnLoad" method...

private void SetEditorMode()
       {       
           this.HelpContentRadEditor.ToolbarMode = EditorToolbarMode.Floating;
           this.HelpContentRadEditor.EditModes = EditModes.Preview;
       }


I also tried with JavaScript with no luck...

function OnClientLoad(editor, args) {
    setTimeout(function () {
        editor.set_mode(4);
    }, 150);
}


Thanks all for your help!!!

Christian
Christian
Top achievements
Rank 1
 answered on 23 Jan 2013
1 answer
99 views
Hi,

I followed Grid/NestedViewTemplate Relations demo to bind one grid that has a nested view, everything is working properly.
But when using ObjectDataSource as a DateSource for NestedView and that object datasource uses a server side method to pull data from a Session variable, I'm getting
System.NullReferenceException: Object reference not set to an instance of an object

Here is ObjectDataSource declarative markup
<asp:ObjectDataSource runat="server" ID="MemberSubmissionData" TypeName="FacultyAnnualReview" SelectMethod="BindNestedView">
     <SelectParameters>
        <asp:Parameter Name="SubmissionId" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource> 

and here is server side method
        public FacultyMemberSubmission BindNestedView(int submissionId)
        {
            return  (
                        from data
                        in GetFacultyMemberSubmissions()
                        where data.SubmissionId == submissionId
                        select data
                    ).SingleOrDefault();            
        } 

GetFacultyMemberSubmissions() method pulls data from a Session variable. When updating it to not use session, everything is working. So is that something that is related to ObjectDataSource or NestedView binding doesn't accept session variables. Any suggestions?
Ahmed
Top achievements
Rank 1
 answered on 23 Jan 2013
4 answers
161 views
When doing a filter in a string field in a RadGrid, is there any way to filter on a multi-word string?

That is, suppose you want to find all string fields in a column that begin with anything between "this is" and "this will"?
Boris
Top achievements
Rank 1
 answered on 23 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?