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
This question relates to .net 1.1 webocombo v2. I am currently upgrading to v4 but I still have legacy clients. In quick tests I see the same issue in v4.
I have a data entry screen with about 10 web combos. The initialize datasource gets hit on the initial load of page. Then each time I click into one of the web combos it triggers a postback that hits my page onload, but not the InitializeDataSource (everything works so I don't need it to hit initializedatasource). I have no other webcombo code except for initialize datasource.
Why does the webcombo cause a postback when nothing is being done server-side? Can I prevent this postback? Or is there a way for me to tell that it is the webcombo that is causing the postback so that I don't run my other onload code numerous times (I already use the if ispostback in onload, but I need to have certain code outside that condition)?
Thanks for any suggestions, Ethan
"You can also set a condition (!isPostBack) to avoid onLoad to be called.."
Do you mean using !ispostback as part of IF condition in the onload event or is there another place you can use it?
As I mentioned in my post, I already use !ispostback in the onload. But there is certain code that I need to run on other (non) webcombo postbacks--so I can't put all my onload code into this condition statement.
Is there anyway to know that the webcombo is causing the post back once I get to onload event?
WebCombo will do FlyPostback when you clicked on WebCombo dropdown and on Postback behaviour, onLoad event should be called. That's already the behaviour. May i know what exactly code, you need to load onLoad event?
Regards,Handy
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