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
// Send the new value to client side ClientScript.RegisterStartupScript (GetType(), "Javascript", "javascript: setText('" + id + "'); ", true);
In my client side code, I set the value to WebCombo. Here’s the script below:
function setText(val) { var WebCombo1 = ISGetObject("WebCombo1"); // Set the WebCombo value WebCombo1.SetText(val, true); }
Hello,I apologize for any inconvenience this problem may have caused you.I have made a simple sample that maybe similar with your application scenario.I added WebGrid in WebUserControl page and I bind with Nortwind.mdb (Shippers table).Then I added WebGrid column’s code that you posted in my WebGrid.But unfortunately, I can’t replicate your issue on my end. I attached my sample in order to make you more understand the sample.Would you mind to telling me step-by-step How can I reproduce your issue.Or if you don’t mind, could you attach your simple sample that indicates your issue? So I can analyze your issue.Thank you.Regards,Hans
Hello,I apologize for any inconvenience this problem may have caused you.I have made a simple sample that maybe similar with your application scenario.I use LinqDataSource with Northwind.mdf database and Shippers table. Then I bind to WebCombo. In WebCombo, I set DataTextField property to "Phone" & DataValueField to " CompanyName ".In Selecting() server side event, I add query code like you did. Here’s the snippet code below:
protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e){ LinqDataSource1.Where = @"ShipperID=1"; }
But unfortunately, I can’t replicate your issue on my end. I attached the screenshot of my sample’s result (wcLinqDataSource.jpg file). Actually, to filter another field that is not the value or text, simply use “AdditionalSeacrhProperty”. By using this property, you would no longer to requery manually.For further information about AdditionalSearchField feature, you could in WebCombo’s documentation. You also could see in WebCombo’s sample (AdditionalSearchField.aspx)But if that feature doesn’t suit with your scenario, would you mind to telling me step-by-step How can I reproduce your issue.Or if you don’t mind, could you attach your simple sample that indicate your issue? So I can analyze your issue.Thank you.Regards,Hans
Hello,We’re sorry for this inconvenience. This error shows that you’re required to update the WebUI Framework.We already post the Framework’s update. Please kindly check the update by using update manager and let us know if you found another issue. Thank you.Regards,Hans.
Hello,Let me show the example format code in OnUnhandledError() function.Here’s the script below:
function WebGrid1_OnUnhandledError(controlId, tblName, lastRequestObject, errorString) { var WebGrid1 = ISGetObject(controlId); //delay function before call errorBox() function window.setTimeout(function () { errorBox(); }, 50); return true; } function errorBox() { // Get the object of ErrorMessage's Window var errorMessage = document.getElementById("wg_ErrorMsg"); var box = errorMessage.parentNode.parentNode.parentNode.parentNode.parentNode.style; // Set the size of ErrorMessage's Window box.width = "500px"; box.height = "500px"; // Set your own ErrorMessage's text errorMessage.innerText = "Your Own Error Message"; document.getElementById("tdStatIcon_WebGrid1").style.display = "none"; document.getElementById("tdStat_WebGrid1").childNodes[0].childNodes[0].nodeValue = " "; }
Hope this helps. Thank you.Regards,Hans.
Hello,I’m glad to hear that you have resolved your issue.If there is any question or issue, please do not hesitate to ask us again. I would be happy to help you.Thank you.Regards,Hans.
Hello,There isn’t explanation about javascript function or method like GetWindowDivElement() in our documentation indeed.If you want to know the existing method and property in WebDialogBox (or another control), you could use debugger method in your javascript function.Actually, to resolve your issue, I looked for the method and property in WebDialogBox that contain the height value of the WebDialogBox. Then changed it to “%” value.Or I can say, you should do research about the method and property in our control. So you can use the right method and property according to your needs.Hope this helps. But If there is any question or issue, please do not hesitate to ask us again. I would be happy to help you. Thank you.Regards,Hans.
Hello,
I apologize for any inconvenience this problem may have caused you. Unfortunately, I can’t replicate your issue on my end.
Would you mind to tell me step-by-step How can I reproduce your issue.
Or if you don’t mind, could you attach your simple sample that indicate your issue? So I can analyze your issue.
Thank you.
Regards,
Hans
Yes, you can change this error message into others message. To do that, you could use OnUnhandledError client side event.
“Unable to communicate with server.” error will returns empty string in OnUnhandledError client side event. I suggest you to use following conditional statement in order to handle the error.
<script type="text/javascript"> <!-- function WebGrid1_OnUnhandledError(controlId, action, lastRequestObject, errorString) { var WebGrid1 = ISGetObject(controlId); if (errorString == "") { // Put your error handling script in here. } return true; } --> </script>
You could find more information about this event in WebGrid’s documentation.
Hope this helps. Thank you.
Hans K
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