Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
666 views

Never had a problem with this until now and I think it is some extra code I need with C#, just switched over last month and its always worked with VB.  BUt my grid will not ignore paging on export, it only exports the current page.  Is there some extra code behind I need.  I put in the GridExporting and BiffExporting but niether made a difference still only 1 page that gets exported.  So what am I missing?

<telerik:RadGrid ID="myRadGrid" runat="server" Skin="Web20" Width="80%" OnNeedDataSource="myRadGrid_NeedDataSource" CssClass="CentDiv3" OnPageIndexChanged="myRadGrid_PageIndexChanged"
       OnPageSizeChanged="myRadGrid_PageSizeChanged" OnSortCommand="myRadGrid_SortCommand" OnGridExporting="myRadGrid_GridExporting" OnBiffExporting="myRadGrid_BiffExporting">
       <ExportSettings ExportOnlyData="true" Excel-Format="Biff" IgnorePaging="true" OpenInNewWindow="true"></ExportSettings>
       <MasterTableView runat="server" AutoGenerateColumns="false" Font-Size="9" AllowPaging="true" AllowSorting="true" CommandItemDisplay="Top">
 
 
 
protected void myRadGrid_PageIndexChanged(object sender, GridPageChangedEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_PageSizeChanged(object sender, GridPageSizeChangedEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_SortCommand(object sender, GridSortCommandEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_GridExporting(object sender, GridExportingArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_BiffExporting(object sender, GridBiffExportingEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
Princy
Top achievements
Rank 2
 answered on 03 Mar 2014
11 answers
919 views
I found the tutorial that talked about hiding the default command items, but I don't think it showed how to do it.  When I use the CommandItemSettings tag I only find the Show command for the four export types and not the Add new or Refresh item.  How can I hide the "Add new record" command item?

Sorry if this is an elementary issue.  I can't figure out how to do it....
Princy
Top achievements
Rank 2
 answered on 03 Mar 2014
3 answers
127 views
I have a Radgrid that has a MasterTable and a DetailsTable.  They basically have the same columns, the Master is top level view and the details is broken down data.  However, when I export the data to Excel the columns are no longer aligned.  How can I get them to align?

Thank You in advance!
Shinu
Top achievements
Rank 2
 answered on 03 Mar 2014
3 answers
133 views
Hi All,

I'm looking to improve the performance of my RadGrid when editing entries.  I have 30 columns and a couple hundred rows.  I do use paging, but when I click the edit icon it can take 7+ seconds for the grid to open up in edit mode.  Can anyone please recommend any was to improve the performance?

Thanks,
Mark
Princy
Top achievements
Rank 2
 answered on 03 Mar 2014
1 answer
82 views
Drop down tree  with check box when i single click (root / child node ) AutoPostBack the  drop down tree in code behind (mostly problem in the root node check box check page load more time is taken)
Shinu
Top achievements
Rank 2
 answered on 03 Mar 2014
8 answers
327 views
I have a DropDownList (have also tried ComboBox with the same results) that gets populated during page_load if it's not a post back.  The code executes fine and the DropDownListItems are created and appear to be added from the code behind but when the page renders the DropDownList is empty/disabled.  As soon as I do a post back (checkbox click), when it reloads, all of my DropDownLists now actually show the data and can be clicked on.

I've isolated this down to being caused when I load data into the DropDownList during page_load.  On the post back, the data loading doesn't occur (as expected) and allows the items loaded from the initial page_load to be displayed.

Any ideas why this happens or what I can do to fix it?  I've searched and searched but haven't found a solution that works.  The ComboBox exhibits the exact same behavior.

Relevant code:

DropDownList markup:

<telerik:RadDropDownList ID="cmbPayment_CardType" runat="server"
    OnSelectedIndexChanged="cmbPayment_CardType_SelectedIndexChanged"
    Width="160px" DropDownHeight="90px" DropDownWidth="160px" />

page_load from code behind:

protected void Page_Load(object sender, EventArgs e)
{
    try
    {
        if (!IsPostBack)
        {
            List<CreditCardListItem> lstCreditCards = null;
 
            //Load the list of accepted credit cards
            cmbPayment_CardType.Items.Clear();
            lstCreditCards = GetCreditCardsList();
 
            if ((lstCreditCards != null) && (lstCreditCards.Count > 0))
            {
                foreach (CreditCardListItem ccDetails in lstCreditCards)
                    cmbPayment_CardType.Items.Add(new DropDownListItem() { Text = ccDetails.DisplayName, Value = ccDetails.DisplayOrder.ToString() });
            }
 
            lstCreditCards.Clear();
        }
    }
    catch (Exception ex)
    {
        System.Diagnostics.Debug.Print("Error: " + ex.ToString());
    }
}
John
Top achievements
Rank 1
 answered on 03 Mar 2014
5 answers
144 views
Hello,

I have a RadGrid which is allowing row selections:

<ClientSettings EnablePostBackOnRowClick="true">
      <Selecting AllowRowSelect="true"></Selecting>
</ClientSettings>

However, I also have a GridTemplateColumn in my RadGrid that contains a RadComboBox with a list of options.  When the user selects an option in the RadComboBox, I do NOT want the row in the RadGrid to be selected.  But if the user clicks in any other column of the RadGrid, then I'm fine with the row being selected, just not when the user clicks on the RadComboBox in the GridTemplateColumn.


Can you help with this?

Thanks!
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Mar 2014
2 answers
87 views
Hi guys,

Using the EditMode="InPlace" edit form of the grid, is it possible to leave the "Update" link button where it is but place the "cancel" link button in the next column (where the "Delete" link button is - see attached)

Troy
Top achievements
Rank 1
 answered on 02 Mar 2014
6 answers
96 views
Hi,
I am trying to replicate this demo to have a starting point for the feature I would like to implement in my project.
I am experiencing a weird  little problem that I am not able to solve. Please look at the attached picture, there is an overlapping on the top side of the rotating items on the external frame.
I have copied 100% code, style sheet and pictures from the demo. I tried to touchup the css but I am not coming right.
Could you please advice about which property I should tune-up to solve this issue?

Thanks a lot for supporting,
Felice
Felice
Top achievements
Rank 1
 answered on 01 Mar 2014
3 answers
183 views
Hi,

I have just updated to the 2014.1.225 release of the UI for ASP.Net Ajax and when I try to run my app it gives an error saying the skins I am using are not defined.

I have the latest .Net 4.5 dll's in the bin directory, and the references point to them being the 2014.1 release but still I get skin not recognised.

This is happening in both VS2012 and VS2013

David Penny
Pavlina
Telerik team
 answered on 28 Feb 2014
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?