I want to know why Ultrawebgrid is showing 100 rows and not allowing any more than that. I need that to print it out with infragistic document report.
I set the rows to 1000 as the row limit, this is what i want.
Thanks,
Hello kenpaton ,
As I can see you are setting the DataSource of the WebDataGrid only on selection changed of the WebDropDown.
The aikido grid requires setting DataSource on every post back.
You have set the property EnableDataViewState = "True" but as you are using VirtialScrolling then you should save the DataSource in Session variable ( for example ) and set the DataSource of the grid in the Page_Load
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=WebDataGrid_Getting_Started_with_WebDataGrid_EnableDataViewState_Property.html
Let me know if you still experience the issue after that.
This is the function that responds to the user selection:
Protected
Sub wddRegisterCustomers_SelectionChanged(ByVal sender As Object, ByVal e As Infragistics.Web.UI.ListControls.DropDownSelectionChangedEventArgs) Handles wddRegisterCustomers.SelectionChanged
Me.CustomerID = Me.wddRegisterCustomers.SelectedValue
Session("CustomerID") = Me.CustomerID
getRegister(
Me.CustomerID)
End Sub
And this is the function that populates the grid:
Private Sub getRegister(ByVal customerID As Integer)
Me.wdgAssetRegister.Rows.Clear()
Dim dsRegister As New DataSet
dsRegister =
Me.myDal.GetRegister(customerID)
Me.wdgAssetRegister.DataSource = dsRegister
Me.wdgAssetRegister.DataBind()
Me.txtDateGenerated.Text = myDal.GetDateRegisterGenerated(customerID)
Hello,
What is the code that you are using for reapplying the data source?
The Datasource for the grid is a Dataset, the user selects the customer that they wish to view the sites for and this returns the CustomerID for the selected customer, which is used to repopulate the dataset which is then reapplied as the datasource.
This is the markup for the grid:
>
="150px">
/>
="80px">
="60px">
="200px">
="50px">
="">
="4">
How are customers selected? Is this done outside of the grid? If so, what event is being handled and what code are you using to change the data in the grid?
Please also provide the aspx markup for the grid so that we can see what properties you have set.
Let me know if you have any questions with this matter.