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

   I have 2 groupby columns and I want to aggregate few columns based on the one group by column.For ex: i have a two sections of a class like section A & B  under MPC(maths) and BIPC(biology) Groups.
Now i want to get total marks of both sections  A & B under each group and display them as summary under each Group as shown below..

EX:


Student  ID

Name

Maths

Science

English

MPC(1st groupBy)

Section- A(2nd groupby)

                1

Richards

90

60

40

2

Francisco

100

50

30

 

Section- B

                1

Richards

90

60

40

2

Francisco

100

50

30

                                               Total MPC Marks:

                                                    Maths:380

                                                    Chemistry:220

                                                    English:140

B.I.PC

Section - A

1

Robert

100

100

100

2

Charles

200

200

200

                                               Total B.I.PC Marks:

                                                    Maths:300

                                                    Chemistry:300

                                                    English:300

I want something like this.

Any help would be greatly appreciated. 

Thanks.
Radha
Eyup
Telerik team
 answered on 13 Mar 2013
2 answers
148 views
Is there a known issue where on the RecurrenceActionDialog close event that eventArgs.get_editSeries();
only works on the Editing an Appoitntment, resize and move always return false for this property.

/*
 * EVENT HANDLER: RECURRENCE ACTION DIALOG CLOSE.
*/
function OnClientRecurrenceActionDialogClosed(sender, eventArgs) {
 
    //SET THE FLAG TO FALSE TO RESET.
    bitEditingSeries = false;
 
    alert(eventArgs.get_editSeries());
 
    //FIND OUT WHAT TYPE OF RECURRENCE WE ARE EDITING.
    switch (eventArgs.get_recurrenceAction()) {
 
         
 
        case Telerik.Web.UI.RecurrenceAction.Edit:
            //alert("The appointment will be edited");
            // open advanced form and put it into edit mode for single exception
 
            bitCreateException = !eventArgs.get_editSeries();
 
            break;
 
        case Telerik.Web.UI.RecurrenceAction.Delete: //DELETE
 
            //CHECK TO SEE IF THEY WANT TO EDIT THE SERIES
            switch (eventArgs.get_editSeries()) {
                case true:
 
                    //EDITING THE SERIES.
                    bitEditingSeries = true;
 
                    break;
 
                case false:
 
                    //CREATE EXCEPTION
                    bitEditingSeries = false;
 
                    break;
            }
            break;
 
        case Telerik.Web.UI.RecurrenceAction.Resize: //RESIZE
 
            alert(eventArgs.get_editSeries());
            //CHECK TO SEE IF THEY WANT TO EDIT THE SERIES
            switch (eventArgs.get_editSeries()) {
                case true:
 
                    //EDITING THE SERIES.
                    bitEditingSeries = true;
 
                    break;
 
                case false:
 
                    //CREATE EXCEPTION
                    bitEditingSeries = false;
 
                    break;
            }
 
            break;
        case Telerik.Web.UI.RecurrenceAction.Move:  //MOVE
 
            alert(eventArgs.get_editSeries());
            //CHECK TO SEE IF THEY WANT TO EDIT THE SERIES
            switch (eventArgs.get_editSeries()) {
                case true:
 
                    //EDITING THE SERIES.
                    bitEditingSeries = true;
 
                    break;
 
                case false:
 
                    //CREATE EXCEPTION
                    bitEditingSeries = false;
 
                    break;
            }
 
            break;
 
    }
}
Plamen
Telerik team
 answered on 13 Mar 2013
2 answers
160 views
Hi, 

If it is possible, I'd like to be able to select the hour and minute individually from the same dropdown. Currently, if you set the interval to anything less than 15 mins the list becomes far too big, imo, and forcing the list to scroll isn't always the most usable way to do things, especially if that list is particularly large (intervals of 5 mins or lower).

It would be really handy if the user could somehow choose the hour and minute separately before the dropdown closes. This would minimise space used because you wouldn't need every instance of each hour/minute combination. You'd just need the hours displayed, and the minutes displayed.

Just a thought.

Cheers.
Carl
Top achievements
Rank 1
 answered on 13 Mar 2013
1 answer
67 views
Hello,
I'm having a bit of an issue with some RadGrids. Basically, I have a method which calls the cancelAll method for both my rad grids on the page, one after the other. This call originates from some Javascript. If I insert a delay between the calls (of as little as 250), both calls work fine. However, if I call one after the other, the second one always fails. It seems that the server is Aborting the call. Has anyone encountered anything similar?

Thanks

Travis
Vasil
Telerik team
 answered on 13 Mar 2013
1 answer
165 views
Hi,
i would that the radlistview for example every 5 minutes you updated automatically loading new records from the db.

This my code in page_load is:


Dim list As List(Of PropertyUtente) = Loadsearch.RandomCard()
RadListView1.DataSource = list
RadListView1.DataBind()
Shinu
Top achievements
Rank 2
 answered on 13 Mar 2013
3 answers
374 views
Hello,

How to programmatically create gauge range and set different color to those range?

Thank  you,
Antony.
Princy
Top achievements
Rank 2
 answered on 13 Mar 2013
1 answer
142 views
Safari status bar shows an error loading a resource when using the RadRibbonBar because of an image generated with a source of about:blank for a group that as far as I can tell is never made visible?

It can be seen here: http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/items/defaultcs.aspx
Bozhidar
Telerik team
 answered on 13 Mar 2013
1 answer
139 views
The pivot grid control looks really promising! Can you please provide an ETA for the OLAP drill through functionality? I would like to build a prototype with the new control that satisfies all core business requirements.
Antonio Stoilkov
Telerik team
 answered on 13 Mar 2013
1 answer
186 views
Hi All,
 I am facing so much problem in Rad  Tab.Actually master page is not getting updated.so i used update panel.After adding Update Panel i got this type of error which is dedefined below. while click on any module which is used telerik rad tab,i am getting this below error in pop up window.
  
Please help me to fix this issue.


Microsoft JScript runtime error: Sys.InvalidOperationException: A control is already associated with the element. 

              This is code--
 <body scroll="no">
    <form id="thisMainform" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

  <%--  Added UpdatePanel to refresh the page  for opening proper Help Docs--%>
    <asp:UpdatePanel ID ="Updatecontrols" runat="server" >
    <ContentTemplate>
    <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"
        bgcolor="#ffffff">
        <tbody>
            <tr>
                <td align="center" valign="middle" class="headerbg" height="14%">
                    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td align="left" valign="middle" class="logo" style="padding-left: 10px">
                                <img runat="server" src="~/images/Client_Logo.png" />
                            </td>
                            <td align="right" valign="top">
                                <table width="100%" height="60" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td align="right" valign="top">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td colspan="7" align="right" style="padding-right: 10px;" height="45">
                                                        <img runat="server" src="~/images/adaptive_logo.gif" width="246" height="37" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="75%" align="left" valign="top">
                                                        <asp:Label ID="lblUserName" runat="server" Text="Label"></asp:Label>
                                                    </td>
                                                    <td width="24" align="left" valign="middle">
                                                        <img runat="server" src="~/images/Home_icon.gif" width="14" height="14" hspace="5" />
                                                    </td>
                                                    <td width="70" align="left" valign="middle">
                                                        <asp:LinkButton ID="lnkBtnHome" runat="server" Text="Home" PostBackUrl="~/AdaptivePortfolio/AdaptivePortfoliloMain.aspx"
                                                            CausesValidation="false" />
                                                    </td>
                                                    <td width="25" align="left" valign="top">
                                                        <img runat="server" src="~/images/Help_icon.gif" width="16" height="20" />
                                                    </td>
                                                    <td width="70" align="left" valign="middle">
                                                        <asp:LinkButton ID="lnkbtnHelp" runat="server" Text="Help" CausesValidation="false" />
                                                    </td>
 
                                                      <td width="25" align="left" valign="top">
                                                        <img id="ImgVLink" runat="server" src="~/images/video.png" width="16" height="20" />
                                                    </td>
                                                    <td width="70" align="left" valign="middle">
                                                  
                                                        <asp:LinkButton ID="lnkBtnVLink"  runat="server" Text="Video"  CausesValidation="false" /> 
                                                       <%--  OnClick="ShowVLink()"--%> 
                                                    </td>



                                                    <td width="25" align="left" valign="top">
                                                        <img id="imgLogout" runat="server" src="~/images/Loigout_icon.gif" width="18" height="20" />
                                                    </td>
                                                    <td width="133" align="left" valign="middle">
                                                        <asp:LinkButton ID="lnkbtnLogout" runat="server" OnClick="lnkbtnLogout_Click" Text="Logout"
                                                            CausesValidation="false" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="6" colspan="2" align="left" valign="top" bgcolor="#4DA5CF">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td valign="top" height="77%">
                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <telerik:radtabstrip runat="server" id="RadTabMain" width="100%" skin="Office2007"
                                    selectedindex="0">
                                    <Tabs>
                                        <telerik:RadTab runat="server" Text="Adaptive Portfolio System" Value="portfolio"
                                            NavigateUrl="~/AdaptivePortfolio/AdaptivePortfoliloMain.aspx" />
                                        <telerik:RadTab runat="server" Text="Adaptive Management System" Value="Management"
                                            NavigateUrl="~/AdaptiveManagement/bin-release/AMSHome.aspx" />
                                    </Tabs>
                                </telerik:radtabstrip>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" height="100%">
                                <asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server">
                                </asp:ContentPlaceHolder>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
</tbody>
    </table>
   
   </ContentTemplate>
 </asp:UpdatePanel>
Nencho
Telerik team
 answered on 13 Mar 2013
0 answers
99 views
Hi,

I am using RadGrid in my webpage.

I want to use the Export to Excel option for my criteria.

If I am having 1000 rows in a grid , that should be exported to 10 sheets in a same Excel workbook.

that is 1000 rows split into 10 sheets each having 100 rows in that.(Row Count is variable)

Please anyone help me in this.

Thanks in advance.
---------
AGMRAJA
Agm
Top achievements
Rank 1
 asked on 13 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?