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
Hello Nico,
Regarding your issue, I need to discuss with the development team to be investigated further.
Do you have any working simple sample that replicates your issue?
Thank you.
Hello Doug,
I am sorry but it seems that I couldn't replicate the issue on my end.
In your previous thread (http://www.intersoftpt.com/Community/WebGrid/HTML-Style-for-BODY-Tag-changes-colors-in-WebGrid/), I have attached a sample file.
In the sample, I created two WebGrid controls. The 2nd grid is using CalendarCombo and CalendarDropdown in BirthDate and HireDate columns. Both of the EditTypes controls work fine on my end, as you can see in the attachment picture.
To prevent the WebGrid to get impact with the BODY css class, you need to use Css Class Selector to set the WebGrid's color to black based on all elements inside the main Grid's DIV.
Try the following code:
<style type="text/css"> BODY { color: White; } #WebGrid1_of > * { color: Black; } #ISPopup_0 > * { color: Black; } #ISPopup_1 > * { color: Black; } #ISPopup_2 > * { color: Black; } </style>
By using the code above, WebGrid will stay in its normal state.
Hope this helps.
Hello,
I have created a sample that uses a WebDialogBox with WebInput control inside it.
However, the datetime editor works fine on my end.
I'm running the project in IE8. You can try to run my sample and see how it goes on your end.
You can use your custom form to override/replace the current form created by WebGrid. Try the following code:
function WebGrid1_OnUnhandledError(controlId, tblName, lastRequestObject, errorString) { var grid = ISGetObject(controlId); grid.SetIdle(); grid.IsInProgress = false; grid.SetStatus1("", "ready", "CommonText/Ready") alert("Customize your error message with custom Form"); return false; }
The code above will invoke alert function which will create a dialogbox with a custom message. Therefore, you can use your own custom Form in here.
Use OnUnhandledError Client-side event to catch the exception and put the following code:
function WebGrid1_OnUnhandledError(controlId, tblName, lastRequestObject, errorString) { var WebGrid1 = ISGetObject(controlId); window.setTimeout(function(){ var errorMessage = document.getElementById("wg_ErrorMsg"); errorMessage.innerText = "Customize your error messages";}, 10); return true; }
Hello Fabrizio,
You could try to use Try-catch statement in JavaScript.
try { //Run some code here } catch(err) { //Handle errors here }
Hello Vince,
I couldn't say or assume that it is an issue or a bug.
Meanwhile, I have forwarded your issue to the development team to be investigated.
I will get back to you when I have the update from the development team.
Hello Ellen,
Have you tried the attached sample provided in the previous post?
In the sample, I'm using Category and Product tables. The controlID is basically the id of the 1st combo, which is wcCategory based on the sample.
The sample works fine and the dropdown does open. You need to set focus to the combo before you open the dropdown. In my code, I'm using SetFocus() and ShowDropDown() methods.
I have attached a short flash video that shows the result when I run the sample.
I have a workaround to implement SetSelectedIndex() by using the following code:
function wcCategory_OnAfterItemSelected(controlId) { var wcCategory = ISGetObject(controlId); var wcProduct = ISGetObject("wcProduct"); wcProduct.SetFocus(); wcProduct.ShowDropDown(); window.setTimeout(function () { wcProduct.SetSelectedIndex(0); }, 650); return true; }
The data in combo will not be populated before you open the dropdown. Therefore, this code works fine but it will let the dropdown opened. This is the workaround I found so far.
Attached is the sample file for your reference. Hope this helps.
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