This is a migrated thread and some comments may be shown as answers.

Inline Editing with IIS 6

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Uchitha
Top achievements
Rank 1
Uchitha asked on 27 Apr 2011, 03:21 PM
Hello Everyone, 

I've successfully written and tested a Telerik MVC Grid based application which supports inline editing, adding etc... Development and Testing was done with VS2010 internal web server, cassini. However when I deployed it to IIS 6 (We are stuck with IIS 6) I encounter problems in inline editing. 

When I edit/add a row and press accept button the grid send a edit/add request to server (I use ajax data binding). The server sends the correct response back, but the grid never get refreshed. (i.e I don't see the row I edited/added). Now if I refresh the grid I started seeing the rows. (I'm testing with both chrome and IE6)

What could be missing when I migrate to IIS 6? 

Thanks All,
Uchitha.

1 Answer, 1 is accepted

Sort by
0
Accepted
Enrique Albert
Top achievements
Rank 1
answered on 19 May 2011, 02:14 PM
Hi,

We have the same problem, .NET 4.0 ASP.NET MVC3 application deployed on IIS6; inline editing is failing because it is transposing date/month when calling the server. So we use the following format dd/mm/yyyy and when we enter 01/05/2011 (1st May 2011) the persisted date is 05/01/2011 (5th Jan 2011); It seems that the client is forcing English USA regional settings or something like that.

Same application is working fine in XP SP3 developer machines and Windows 2008 in IIS 7. Please, notify if a solution is found.

Thanks

EDIT: I found the problem, it was our server settings, the server was installed using en-US and even the locale was changed at later stage, the IIS account was still en-US. Setting the locale in the web.config resolved the problem:

<configuration>
<system.web>
<globalization culture="en-GB" />
</system.web>
</configuration>
Tags
Grid
Asked by
Uchitha
Top achievements
Rank 1
Answers by
Enrique Albert
Top achievements
Rank 1
Share this question
or