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
Hi,
I have a webform with WebFlyPostbackManager
When calling server method from client side, I always get an error. The process routed to OnError event handler with no detailed error message given.
Upon further investigation this seems to happen when the web page has a query string. The page depends on querystring to pass on the required ID. On page Load event handler, the ID is retrieved from query string. This fails on fly post back. Indeed when debugging, request.querystring is not available.
Can you comment on this and advice of a solution?
From your description, the issue happens when calling server method from client-side. Does this term mean that you try to invoke WebFlyPostBackMethod from client side?
By chance, I have been working on a project that – I think – has identical scenario. I have a webform where when user select a row from WebGrid, the data key value of the selected row will be passed as query string.
The query string is consumed by another webform. OnPageLoad event, the data key value is retrieved from query string by using following line.
if (!IsPostBack) { ClientScript.RegisterHiddenField("keyValue", Request["keyValue"]); ClientScript.RegisterHiddenField("state", Request["state"]); ...
Perhaps you should ensure that you have added WebFlyPostBackListener instance during page load.
WebFlyPostBackListener listener; protected void Page_Load(object sender, EventArgs e) { listener = new WebFlyPostBackListener(this); ...
Hope this helps.
Hi yudi. that's not what the issue was at all.
The solution was to explicitly set the webflypostbackmanager's serviceUrl on server side during page load event to include the querystring.
Glad to hear the good news.
Should you need further assistance or run into any technical problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
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