I just downloaded the 2011 vol 1 trial to determine if we can take advantage of your controls and i am having a tough time getting it working right.
I am currently tryint to do virtual scrolling and it seems it only allows me to scroll to the visible rows x row factor and then it goes blank if I scroll beyond that. So my view is 15 rows and factor is 3 then i can scroll to row 45 and then it goes blank if i scroll beyond that. i am not sure if there is somethign i am not doing correct. the samples out there seem pretty straight forward so maybe i am just missing something. I am binding this to a data source at a click of a search. here is my code.
.aspx
<
ig:WebDataGrid ID="gridCustomerSearch" runat="server" Height="350px"Width="600px" AutoGenerateColumns="False" DataKeyFields="CustomerID"><Columns>
.vb to retrieve the data
Private
Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click
Dim daCust As New EmunWorks.DataAccess.CustomersDB
Dim arrCust As EmunWorks.Info.CustomersInfo()
arrCust = daCust.GetCustomerByName(
Me.txtFindCustomer.Text, False)
lblRecordCount.Text = arrCust.Count
gridCustomerSearch.DataSource = arrCust
gridCustomerSearch.DataBind()
End Sub
Any help would be appreciated,
Sy
Hi Peter/ All,
I am very big stuck with a issue in webdatagrid, even after putting every attribute to make ajax call back true in it, i have also set the virtual scrolling, but when i scroll the grid vertically, the error comes in which says Async request failed.
When i tried the error of async, it gives me the error under eventArgs attribute of method not allowed - 405. But i am completely unable to understand the issue.
Please help me in solving this issue, as it is immediately needs to be addressed.
Because of above issue virtual scrolling is not working.
Hi saevar,
It has been some time since your post, however in case you still need assistance I would be glad to help.
When you are using behaviors (sorting, filtering, virtual scrolling) the grid needs to be rebound to its datasource on each postback. In your case you are binding the grid upon a button click and on the postback generated by the VirtualScrolling behavior no data is effectively found for the grid. Ensuring that the grid is data bound on each postback should therefore resolve the behavior.
Please let me know if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support