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
To avoid double pieces of code, I've separated two WebGrids into one user control. In the main aspx page I interact with the WebGrids by using javascript. First I need a reference to the webgrid by using ISGetObject.
However, since they are merged together in one usercontrol, they will always have the same ID in the usercontrol. In what way is it possible to reference the webgrid by using ISGetObject from a parent control (like the id of the usercontrol)?
Such like: ISGetObject("UserControlID.WebGridID")... is it possible?
Thanks.
P.S. I don't seem to be able to find a description page of ISGetObject on the support pages, it should be listed at the client side reference right? Anyone got a link?
Hi Herman Cordes,
Could you correct me if I am wrong? I am assuming that you wanted to get the WebGrid objects which is located in one user control. To get the Object of WebGrid in user control, you can simple using this code:
window.ISGetObject("WebGrid1");
I also attached you a sample on this scenario. In that sample, I have two WebGrids in one user control and when you click on the button (which I put it in the aspx page), it will show the id of each WebGrid.
The ISGetObject() function is used to get the client object reference of any Intersoft’s components, instead of using different function for each. (For further information, you can check on our WebGrid documentation at "ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/Get Grid object.html")
I hope it helps and meets your scenario. Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Andi Santoso,
Thanks for your reply and clearifying example. It was indeed what I was looking for. The 'window.' prefix is a nice example for my case. I couldn't find any of that in the examples, but just this one explains it all.
Thanks and I wish you a nice day too!
Regards,
Herman Cordes
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