iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Is there a way to select which page is displayed in the grid on the server side ? For instance if I would like to display the last page ...
Hello Patrick,
Unfortunately, It could not be done for now from server side. It is only possible via client side. Please try to set it OnAfterInitialize clientside event. Hope this helps.
Regards,Handy
Hello Handy,
I tried to do this, and on the grid it works but then the webmenubar is dead. After I change page in javascript, I got an error message this.CommandStyle is null or not an object when I pass on the menu (hover) and from that point, the menu doesn't work anymore
Any idea ?
display the last page:
jscode:
function MoveLastPage() { var grid = ISGetObject("WebGrid1"); grid.GotoLastPage(); }
C#code: protected void Button1_Click(object sender, EventArgs e) { ScriptManager.RegisterStartupScript(this, this.GetType(), "", "MoveLastPage();", true); }
Hi,
It is true you can achieve with this way. However, I think it is a little tricky since It's also call script in javascript.Regards,Handy
This doesn't change my problem ... the webmenubar is blocked after the page changed
Yes, but your components suite has sometimes some strange behavior. When I was using any of the version proposed here, the javascript initializing the webmenubar was stopped, causing a javascript error afterward.
I finally managed to make it work, by calling the GotoLastPage on the onload javascript event of the form...
Hi Patrick,
Would you mind to share about this WebMenuBar issue? Last times, you only shared details about paging scenario.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname