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
I'm using Visual Studio 2010 and .NET Framework 4.0
I've created an ASPX page containing a databound WebGrid and a WebInput control. I have configured the grid to use the WebInput control for editing the cells in a particular column.
When I display the page, the grid works fine. When I attempt to edit a cell in the column for which I've specified that the WebInput control should be used, I can select the cell, but when I attempt to enter any value in the WebInput, I immediately receive a javascript error (see attached screenshot).
If I configure the grid to use only the built-in textbox for editing, everything works fine.
I have tried various settings on the grid and webinput, but I can't seem to get past this error. Furthermore, when I attempt to use the WebInput.NET Designer, I receive the error "Exception has been thrown by the target of an invocation." (see attached screenshot).
It's imperative that I use the WebInput control as I need to mask and filter the data entered into the grid by the user, and inline editing is a requirement.
I submitted a support request a few days ago, however it's still in "Waiting for Assignment" status.
I'm getting rather frustrated by the lack of response to my support request as well as the failure of the WebInput to function properly.
Can anybody tell me what I'm missing here or provide a fix or workaround?
Hi Tony,
I can replicate your issue in our local end. First think I though this problem occurs because our control. But after I made the same structure like your sample, it works properly. Then I modified your sample. I though if I put the control without master page, your project works properly. But in my sample it works either with master page or without master page.
After searching the problem, I found out the problem is on your web config. There's misconfiguration in your web.config. You can add this code inside system.web tag:
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
I also attach the modified web.config. Hope this helps.
Regards,Bernard
I did have one more paragraph, but it somehow was truncated when I made this post.
My question was this -- am I missing something, or is there a fix or a workaround for this problems?
I'd appreciate any input, becuase the project is stalled until I can get this resolved somehow.
Thanks.
Thanks for looking into this, Bernard.
Please find attached a sample project that replicates the issue on my end.
The backend database is SQL Server 2008R2 and I'm connecting to it using Windows Integrated Security. In order to create a similar environment, you'll need to install the Northwind sample data, which is available from Microsoft at
http://msdn.microsoft.com/en-us/library/ms143221%28v=sql.105%29.aspx
Once the Northwind DB is attached, run the 4 SQL scripts included in the attached sample to create the spOrderDelete, spOrderInsert, spOrderSelect and spOrderUpdate stored procedures in the Northwind database. These are just quick-and-dirty procs for the purpose of illustrating the problem, not something that's designed to be production ready.
Then run the enclosed ASP.NET app. I've configured the WebGrid to allow no edits to any column except the EmployeeID column, which is bound to the single WebInput control on the form.
Navigate to or click on the EmployeeID column and try to edit it. Note the result, which is the same javascript error that I posted the screenshot of in the original post.
I'm using Visual Studio 2010 SP1, WebGrid Enterprise 7.0 and WebInput 4.0.
If you need more detailed version information, please ask.
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