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 Alfred La Garde,
From what I see through your attachment, it seems that you have forgot to add path of ISChart in http handlers during the deployment process. Please ensure that during that process, in your web config file, you have added these snippet under <http handlers>.
<add path="ISChart.axd" verb="GET" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" validate="true"/>
However, if you are using IIS 7, you can go to here. In there, it will show you on where to add the path of the handlers. I hope it can help. Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi John,
Glad to know it has solved your problem. Please do not hesitate to ask if you have any other questions. Thank you and have a nice day.
Hi Jason,
Forgive me, however, could you re-attach those file again?It seems that there are some corrupt data, I can not open the .doc file. On the other file, you just sent me the .sln file in there which I cannot open them if you do not include the other files.
However, have you tried to re-create a new simple project, use Nothwind database and use my sample .aspx? See it this error is still occuring.
Thank you and have a nice day.
Here is the snippet to catch that event. We can use OnAfterExitEditMode of client side event and make the validation in here. However, after we have lost focus on those two columns(in your case, it would be quantities and minutes), those two column will be editable again.
This is happened because we only set those validation on after the user make a selection of those drop down list. Here is the snippet:
function WebGrid1_OnAfterExitEditMode(controlId, tableName, editObject) { var grid = ISGetObject(controlId); var RowObject = grid.GetSelectedObject().ToRowObject(); if (editObject.cellElement.innerText == "USA") { RowObject.GetCells()[2].SetForceNoEdit(true); RowObject.GetCells()[3].SetForceNoEdit(true); } else { RowObject.GetCells()[2].SetForceNoEdit(false); RowObject.GetCells()[3].SetForceNoEdit(false); } }
Same as before, in this snippet, I made a validation if the dropdown list's value is equal to USA, it will force no edit on those two columns. I hope it helps. Thank you and have a nice day.
Hi Anup,
Before you open the Visual Studio, could you clear your temporary file first. It is usually located at "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files", and do "iisreset".
Please let me know if this error is still persisted in your end. However, please also ensure that the build version of your webgrid designer are the same with the one in your bin projet and your GAC.
I hope it helps. Thank you and have a nice day.
Hi Heny,
Since we wanted to delete a row in Server Side, we will need to go directly to its data base. Attached is a simple sample on how to delete a row under an asp button. When we clicked on the button, we will store the specific value for which row we are going to delete, which we can use a query string in data and rebind the data source to WebGrid.
Please kindly take a look and give me any feedback if it does not meet you scenario. I hope it can help. Thank you and have a nice day.
Have you tried to use my sample in a new project file? I have attached you a simple sample, which basically is the same. I am still having a problem to replicate the issue of yours. Please see my doc attachment on how I do this scenario step by step, and the result is just fine.
Could this happend because of your database? Have you tried to use Nothwind Database? If this still does not help, could you provide me with a simple sample on your data if you would not mind? Just a dummy data would be fine. I was wondering if you have set something on them.
After I read through your scenario, I believe we do not need to have the condition of when the user first starts to edit a record and when the users make a selection from dropdown list. We can simple use a client side of OnRowSelect and make a validation based on what is the value in the validation column.
If it meets the validation, it will automatically set the edit to false. Here is the snippet on how to do so. In here, I make a validation if the Customer ID is "HANAR", the other two columns are not able to be edited.
function WebGrid1_OnRowSelect(controlId, tblName, rowIndex, rowEl) { var grid = ISGetObject(controlId); if (grid.GetSelectedObject().ToRowObject().GetCells().GetNamedItem("CustomerID").Value == "HANAR") { grid.GetSelectedObject().ToRowObject().GetCells()[2].SetForceNoEdit(true); grid.GetSelectedObject().ToRowObject().GetCells()[3].SetForceNoEdit(true); } }
However, please let me know if it does not meet your scenario. Thank you and have a nice day.
It is weird. Eveything is running perfectly in my end. No, we do not need to add a config variable. Since the Chart is showing in your end, I assume that you have already added the <http handlers> off ISChar.axd as well.
May I know, when you click on the button, does the status bar of WebGrid is getting filtered? Does it load the exact amount of data with those validation?
Hi He Peng,
Deeply sorry for the late response. Yes, I have discuss this with our Developer Team and has been confirmed that this is a minor issue. I have created a work item regarding this.
I will inform you as soon as I get news about this. I hope it helps. Thank you and have a nice day.
Andi Santoso.
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