Hi,
I am using Infragistics UltraWebGrip (Version=7.3.20073.1053). Following is the design code that is being used:
</
igtbl:ultrawebgrid><igtbl:ultrawebgrid id="grdPOItem"
style="Z-INDEX: 114; LEFT: 8px; POSITION: absolute; TOP: 281px" runat="server"
Height="192px" width="849" ImageDirectory="/ig_common/Images/" EnableViewState="False"
Browser="Xml">
<Bands>
<igtbl:UltraGridBand>
<
AddNewRow Visible="NotSet" View="NotSet"></AddNewRow>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout UseFixedHeaders="True" StationaryMargins="HeaderAndFooter" AllowSortingDefault="OnClient"
RowHeightDefault="20px" Version="3.00" SelectTypeRowDefault="Extended" RowsRange="1000" HeaderClickActionDefault="SortMulti"
BorderCollapseDefault="Separate" AllowColSizingDefault="Free"
EnableInternalRowsManagement="True" Name="grdPOItem" LoadonDemand="Xml" TableLayout="Fixed">
However, after implementing the UltraWebGrid in the above manner, paging is not happening. A separate method for InitializeDataSource is not written in this page because the grid is getting populated using DataSet.
When "next' link is clicked, the grid does not show the next page. It is showing the first page only. Though I can see a partial postback call is happening.
How can I make Browser="Xml" and LoadonDemand="Xml" successful work in this page? Partial postback is an absolute necessary for this grid on this page.
Hi Alex,
Can you please point out as to how pagination can be done without using the properties Browser='Xml' and LoadonDemand='Xml'? Partial postback is also required in my page.
Thanks
Sormita
Hi Petar,
Please understand that the InitializeDataSource method is in place and is working properly, but the pageindex is getting changed after the control renders back to client side. I cannot figure out why. Please help me identify the javascript calls that are called from ultrawebgrid data grid and date picker which might hinder/affect pagination.
Hi sormita,
Please note that when using XML load on demand and using a data source which is to be bound in the code behind, you should handle the InitializaDataSource event in order for the grid to operate correctly in this scenario. You can find a detailed guide for implementing UltraWebGrid LoadOnDemand at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/
Please let me know if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
I was going through the following sample:
http://samples.infragistics.com/aspnet/Samples/WebDataGrid/Editing-and-Selection/Activation-Client-Events/Default.aspx?cn=data-grid&sid=8660f7f9-0338-41d7-a5b9-a40e2f5778b7
As you can see in this sample paging is implemented. Ajax calls are made whenever the next page number is clicked. Similar thing is done in my application. However unlike the WebDataGrid in my application, the WebDataGrid in this sample does not use Browser=XML or LoadOnDemand=XML to enable partial post back during paging.
Can you please point out exactly what property is used to implement paging in the above sample?
Just using "<ig:Paging PagerAppearance="Bottom" PageSize="10" Enabled="true" />" does not enable partial post back during pagination. It is doing full post back.
Thanks for your help.
Thanks for the sample Alex, I will try out the code in the sample and get back to you if I face some further issue.