Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
563 views
I'm dealing with a huge amount of data, so I'm trying to pull back only the data that needs to be shown at that moment.  I'm also trying to make that work with Paging, Filtering, and Sorting (multiple columns).  All of the Grid examples I've seen in the demo focus on one of those things only (if it's a custom implementation).

What I'm hoping to do is have all of the page, filter, and sorting information available to me on any of those events that might fire.  For example if someone adds a filter, and I'm then in the ItemCommand event, I need to see what the current page and page size are, what sorting is currently set, and what other filters are already applied.  From there I can write my own query to the database and get only the data I need.

Is this possible and if so how?  Is there a good example of this I can look at?

Thanks!

Alex
Angel Petrov
Telerik team
 answered on 30 Dec 2013
4 answers
208 views
Hi I have a form with some fields and a radgrid. When the form is opened and if the grids datasource is empty, I want the grid to go into edit mode automatically without the user having to press "Add New Record" first.

I use the grid in batch edit mode as described in this example...
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

After some quick research I've seen advice to use using the following code....
RadGrid1.MasterTableView.IsItemInserted = true
RadGrid1.Rebind()

But unfortunately this just displays the "in-place" edit form rather than simulating "Add New Record" when the grid is in batch editing mode.

Also is it possible to have a custom "Save Changes" and "Cancel Changes" button outside of the grid control elsewhere on the form? This is because I want to allow the users to edit other controls on the form but I want one "Save Changes" button to update everything. My custom Save Changes button will save outher edits on the form and also the grid edits.










Eyup
Telerik team
 answered on 30 Dec 2013
2 answers
104 views
Hi Friends,

I want to keep hover image of main menu while user mouse over on the respective child items of rad menu with default skin.

I have seen the same in given demo example with "Vista" skin. I want to use my own CSS to do the same. Please assist me to do the same.

Thanks in advance.
Kalpesh
Top achievements
Rank 1
 answered on 30 Dec 2013
2 answers
141 views

Hi,

I have a RadGrid with a selectedindexchanged event. When I click on a row, the event fires, and I can do what I want. However, after selecting a row, if I click a button on the form (nothing to do with the grid), the selectedindexchanged event fires again, and I don't get the button press.



Any ideas how to stop this please?



Thanks

Pete
Top achievements
Rank 1
 answered on 30 Dec 2013
3 answers
200 views
I have to call a popup window using radopen. i did it a lot in the same project and it works fine also i did it in the same page and it works fine too but when i using radtoolbar something happens and the radopen doesn't fire and put # at the end of URL .
here's my code :

<telerik:RadToolBar ID="GridToolBar" OnClientButtonClicking="clickHandler" dir="<%$ Resources: Main,Dir %>"
               OnButtonClick="GridToolBar_OnClick" runat="server" Width="100%">
               <Items>
                   <telerik:RadToolBarButton ToolTip="<%$ Resources: Main,ExportToExcel  %>"
                       runat="server" Value="Excel" ImageUrl="<%$ Resources:Image, Excel%>">
                   </telerik:RadToolBarButton>
                   <telerik:RadToolBarButton ToolTip="<%$ Resources: Main,ExportToExcelML  %>"
                       runat="server" Value="ExcelML" ImageUrl="<%$ Resources:Image, ExcelML%>">
                   </telerik:RadToolBarButton>
                   <telerik:RadToolBarButton ToolTip="<%$ Resources: Main,ExportToWord %>"
                       runat="server" Value="Word" ImageUrl="<%$ Resources:Image, Word%>">
                   </telerik:RadToolBarButton>
                   <telerik:RadToolBarButton ToolTip="<%$ Resources: Main,ExportToCSV  %>"
                       runat="server" Value="CSV" ImageUrl="<%$ Resources:Image, CSV%>">
                   </telerik:RadToolBarButton>
                   <telerik:RadToolBarButton ToolTip="<%$ Resources: Main,ExportToPDF %>"
                       runat="server" Value="PDF" ImageUrl="<%$ Resources:Image, PDF%>">
                   </telerik:RadToolBarButton>
                   <telerik:RadToolBarButton ToolTip="<%$ Resources: Main,AddExistingUser %>" CssClass="<%$ Resources: Main,ToolbarButtonAlignment %>"
                       runat="server" Value="AddUser" ImageUrl="<%$ Resources:Image, RegisterUser%>" >
                   </telerik:RadToolBarButton>
               </Items>
           </telerik:RadToolBar>

  
the last button should show a popup window using radopen. i used the javascript function calld clickhandler and here's the function :

function clickHandler(sender, eventArgs) {
            if (eventArgs.get_item().get_value() == "AddUser") {
alert("Welcome");
                radopen("Page_Popup.aspx", "RW");
                return false;
            }
        }

and RadWindow Manager is :

<telerik:RadWindowManager ID="RWM" runat="server">
                <Windows>
                    <telerik:RadWindow ID="RW" runat="server" Width="600px" Height="330px" Behaviors="Close, Move, Minimize, Pin, Reload"
                        ShowContentDuringLoad="false">
                    </telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>


be informed that the alert message welcome is appeared to me.
and when i replace radopen with window.open it opens a new window.

thanks in advance
 
Mohmed
Top achievements
Rank 1
 answered on 30 Dec 2013
5 answers
339 views
Hello All,

I was wondering if anyone could point out what I'm doing wrong while trying to get the headertext to display ofr a GridClientSelectColumn. It's working fine for the other GridTemplateColumns. Here's the code I'm using and I've tried several variations and I can't get it to work.

<telerik:GridClientSelectColumn Reorderable="False" UniqueName="ClientSelectColumn" HeaderText="Select All">
                        <HeaderStyle Width="130" HorizontalAlign="Left" Font-Size="10px"></HeaderStyle>
                    </telerik:GridClientSelectColumn>

I've also tried using the text property of the GridClientSelectColumn. I'm using the Mar 11, 2009 Q1 version of the Telerik.web.UI.dll

Any help would be greatly appreciated and thanks in advance!
Praneet
Top achievements
Rank 1
 answered on 30 Dec 2013
3 answers
91 views
hi,
I want to enable sorting on the aggregated rows of my radpivot.Currently by enablsorting we can sort the pivot only by rows and not by aggregated row.
Please help

thanks
Raushan 
Eyup
Telerik team
 answered on 30 Dec 2013
3 answers
405 views

Previously we used UpdatePanel Asp.net, we are now using RadAjaxManager. We need to exclude certain controls.

In UpdatePanel is solved with "Trigger". What is the solution in telerik?

Shinu
Top achievements
Rank 2
 answered on 30 Dec 2013
1 answer
95 views
Hello every body
I have a RadGrid and GridTemplateColumn.
is there a way to access inner control in code behind?
<telerik:GridTemplateColumn HeaderText="تاریخ ورود" SortExpression="ArrivalDate"
                    DataField="ArrivalDate" UniqueName="ArrivalDate">
               
                    <EditItemTemplate>
                        <pwdp:DatePicker ID="DatePicker_Arr" runat="server" BackColor="#CECECE" Width="103px">

                        </pwdp:DatePicker>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
I want to rerivee user entered time by Custom Datetime Picker.,how can I access DatePicker_Arr.
Shinu
Top achievements
Rank 2
 answered on 30 Dec 2013
4 answers
228 views
Hi,

Radgrid group by footer Calculations(calculated based on Headercontext aggregates menu)  are not exporting into excel.  Columns are auotGenerated and the data is coming from stored procedure dynamically.


Kindly guide me on this issue.

Best Regards,
satz
Satz
Top achievements
Rank 1
 answered on 30 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?