Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
54 views
Hi.
I had a gridview  with paging and because of this, if i do a foreach for grid items i only get the current page items.
As far i know i could set the allow paging to false, rebind it , and gett all items this way, using a foreach (for example)
Since my work at the moment is upgrading some one else work, i would try to avoid this aproach, since that  causes me issues on rebind data source on gridview. due to programing logic already implemented. 
Is there any way to get All items from datasource, who where primarily bind to grid besides my aproach? 

my current aproach: 
...
   this.RadGrid1.AllowPaging = false;
            this.RadGrid1.Rebind();
...
xis xix
Top achievements
Rank 1
 answered on 10 Feb 2012
1 answer
86 views
I have radcontextmenu which opens on click of a button, after opening it should stay open until same button is clicked again, but when I click that button again instead of closing it, the button reopens the context menu, please help.
Princy
Top achievements
Rank 2
 answered on 10 Feb 2012
1 answer
85 views
when I press a search button that into RadAjaxPanel , the divs of my page aspx are unconfigured, can somebody help my please??
note:the master page was created with artisteer 3.
Tsvetoslav
Telerik team
 answered on 10 Feb 2012
2 answers
111 views
I'm trying to have a radwindow force a refresh of a grid on the parent (named "grdLectures")
I have this on the parent window which i can see does run when called from the radwindow :
          function refreshGrid(arg) {
                   if (!arg) {
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
                }
                else {      
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");
                }

my RadAjaxManager is like this:

    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" 
                    OnAjaxRequest="RadAjaxManager1_AjaxRequest"  
DefaultLoadingPanelID
="RadAjaxLoadingPanel1">         <AjaxSettings>           <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">                     <UpdatedControls>                         <telerik:AjaxUpdatedControl ControlID="grdLectures" />                     </UpdatedControls>                 </telerik:AjaxSetting>             <telerik:AjaxSetting AjaxControlID="grdAssets">                 <UpdatedControls>                     <telerik:AjaxUpdatedControl ControlID="grdAssets" />                     <telerik:AjaxUpdatedControl ControlID="grdLectures" />                     <telerik:AjaxUpdatedControl ControlID="msg" />                 </UpdatedControls>             </telerik:AjaxSetting>             <telerik:AjaxSetting AjaxControlID="grdLectures">                 <UpdatedControls>                     <telerik:AjaxUpdatedControl ControlID="grdLectures" />                 </UpdatedControls>             </telerik:AjaxSetting>         </AjaxSettings>     </telerik:RadAjaxManager>

and the Ajax Event handler (which does not get executed as far as I can tell)  :

    protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
    {
        if (e.Argument == "Rebind")
        {
            grdLectures.MasterTableView.SortExpressions.Clear();
            grdLectures.MasterTableView.GroupByExpressions.Clear();
            grdLectures.Rebind();
        }
        else if (e.Argument == "RebindAndNavigate")
        {
            grdLectures.MasterTableView.SortExpressions.Clear();
            grdLectures.MasterTableView.GroupByExpressions.Clear();
            grdLectures.MasterTableView.CurrentPageIndex = grdLectures.MasterTableView.PageCount - 1;
            grdLectures.Rebind();
        }
Tsvetoslav
Telerik team
 answered on 10 Feb 2012
2 answers
237 views
I have a grid view in Telerik ajax panel 
I want help to get refresh after certain time , also I want when user insert enter a value from text box with in the same page of grid view , the grid view get refresh immediately rather then after time out
Tsvetoslav
Telerik team
 answered on 10 Feb 2012
1 answer
69 views
Is it possible within the Telerik Chart to return the intersection of 2 or more lines?
Peshito
Telerik team
 answered on 10 Feb 2012
1 answer
172 views
Hi,
I am not able to find the each control id from multiple RadDockLayout controls in my page.I have to get all id's of RadDock control which is in different RadDockLayout and i have to get ordinal position of each RadDock information then i need to save in database. I have below the code.
      <telerik:RadDockLayout ID="RDLOccurrence" runat="server">
                    <telerik:RadDockZone ID="RDZOccurrence" runat="server" MinHeight="100" Width="350" 
                        BorderStyle="None">
                        <telerik:RadDock ID="RDOccurrence" runat="server" Height="200" >                        
                              </telerik:RadDock>
                    </telerik:RadDockZone>
                       <telerik:RadDockZone ID="RDZReserveAndPaymentInformation" runat="server" MinHeight="100" Width="350"
                        BorderStyle="None">
                        <telerik:RadDock ID="RDReserveAndPaymentInformation" runat="server" Height="200px" >
                            </telerik:RadDock>
                    </telerik:RadDockZone>
                       <telerik:RadDockZone ID="RDZAgentInformation" runat="server" MinHeight="100" Width="350"
                        BorderStyle="None">
                        <telerik:RadDock ID="RDAgentInformation" runat="server" Height="200px">
                           
                          </telerik:RadDock>
                    </telerik:RadDockZone>
                </telerik:RadDockLayout>


Please do need full help for me to find the each of RadDock id,Ordinal Position in Vb.net code.

Thanks,
Rajesh
Slav
Telerik team
 answered on 10 Feb 2012
1 answer
63 views
Hi ,
I have a aspx page in which when i click one linkbutton a radwindow appears. Everything is fine when i close the window after that when i click other buttons otherthan the linkbutton for radwindow the radwindow appears.
I do like some help.
Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 10 Feb 2012
1 answer
32 views
when I use a webuser control as row editor in my grid the row editor is closed and grid rebinds on Save.click event.
Is it possible to save the row details (using the web user control) and not close the editor?
Shinu
Top achievements
Rank 2
 answered on 10 Feb 2012
5 answers
133 views
I have a main grid that load with a detailGrid.

The detail grid has a 2 link buttons and some information from the transfer or repair process.  Depending on the Id of the person whom is logged in I want to be able to hide one or the other link button.  How can I accomplish this.  So basically if joe is logged in an he iniated the transfer process the link button for accept should not show in the detailgrid only the cancel linkbutton.  I am assuming I would take care of this in the databound event but I do not know how to get into the detail grid rows to lock these link buttons out.

<telerik:RadGrid ID="myIssueGrid" runat="server" Width="95%" BorderWidth="1px" CellPadding="6" GridLines="None" BorderColor="#404040" Skin="Web20">
                                    <MasterTableView AutoGenerateColumns="false" DataKeyNames="intIssuedID" HierarchyDefaultExpanded="false" HierarchyLoadMode="ServerBind" 
                                        BorderColor="#404040" Font-Size="12" Font-Names="Veranda,arial,sans-serif" HeaderStyle-HorizontalAlign="Center" 
                                        GridLines="Both" BorderWidth="1px" ExpandCollapseColumn-ButtonType="ImageButton" ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" 
                                        ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png"><ItemStyle HorizontalAlign="Center" />
                                        <AlternatingItemStyle BackColor="#B0C4DE"  HorizontalAlign="Center" />
                                        <HeaderStyle ForeColor="White" Font-Bold="true" BorderColor="#404040" BorderWidth="1px" />
                                        <DetailTables>
                                            <telerik:GridTableView Name="myReIssueGrid" runat="server" DataKeyNames="intReIssueId" TableLayout="Fixed" BorderWidth="1px" CellPadding="6" Font-Size="10"
                                                AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center" BorderColor="#404040" Font-Names="Veranda,arial,sans-serif" GridLines="Both" ExpandCollapseColumn-ButtonType="ImageButton"
                                                ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png">
                                                <ParentTableRelation>
                                                    <telerik:GridRelationFields DetailKeyField="intIssuedID" MasterKeyField="intIssuedID" />
                                                </ParentTableRelation>
                                                <HeaderStyle Font-Bold="true" HorizontalAlign="Center" CssClass="MostInnerHeaderStyle" />
                                                <ItemStyle CssClass="MostInnerItemStyle" HorizontalAlign="Center" />
                                                <AlternatingItemStyle CssClass="MostInnerAlernatingItemStyle" HorizontalAlign="Center" />
                                                <Columns>
                                                    <telerik:GridTemplateColumn HeaderText="Accept" ItemStyle-HorizontalAlign="Center">
                                                        <ItemTemplate>
                                                             <asp:LinkButton ID="lnkAccept" runat="server" CommandArgument='<%# bind("intReIssueId") %>' CommandName="Accept">Accept</asp:LinkButton>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridTemplateColumn HeaderText="Cancel" ItemStyle-HorizontalAlign="Center">
                                                        <ItemTemplate>
                                                             <asp:LinkButton ID="lnkCancel" runat="server" CommandArgument='<%# bind("intReIssueId") %>' CommandName="Cancel">Cancel</asp:LinkButton>
                                                        </ItemTemplate>
                                                    </telerik:GridTemplateColumn>
                                                    <telerik:GridBoundColumn DataField="IssueBy" HeaderText="ISSUED FROM" ItemStyle-Font-Size="Smaller" />
                                                    <telerik:GridBoundColumn DataField="IssueTo" HeaderText="ISSUED TO"  ItemStyle-Font-Size="Smaller" />
                                                    <telerik:GridBoundColumn DataField="dtIssue" HeaderText="DT_ISSUED" />
                                                    <telerik:GridBoundColumn DataField="strTransaction" HeaderText="STATUS" />
                                                    <telerik:GridBoundColumn DataField="dtSign" HeaderText="DT_SIGNED" />
                                                </Columns>
                                            </telerik:GridTableView>
                                        </DetailTables>
                                         <Columns>
                                             <telerik:GridTemplateColumn HeaderText="Transfer" ItemStyle-HorizontalAlign="Center">
                                                <ItemTemplate>
                                                        <asp:LinkButton ID="lnkTransfer" runat="server" CommandArgument='<%# bind("intIssuedID") %>' CommandName="Transfer">
                                                        <asp:Image ID="imgReturn" runat="server" ImageUrl="~/Images/Transfer.png" BorderStyle="None" /></asp:LinkButton>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridBoundColumn HeaderText="SN" DataField="strSN" />
                                            <telerik:GridBoundColumn HeaderText="STATUS" DataField="strTransaction" />
                                            <telerik:GridBoundColumn HeaderText="ITEM" DataField="Item" />
                                            <telerik:GridBoundColumn HeaderText="DT_ISSUED" DataField="DT_Issued" />
                                            <telerik:GridBoundColumn HeaderText="DT_SIGNED" DataField="Dt_Signed" />
                                            <telerik:GridBoundColumn HeaderText="QTY" DataField="ftQTY" />
                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid>


Shinu
Top achievements
Rank 2
 answered on 10 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?