Open GoogleCodeExporter opened 8 years ago
Resolved...I think code behind was cached and my changes were not being
reflected.
Original comment by hitg...@gmail.com
on 30 Oct 2013 at 9:16
I've done the following and it still does not save special characters to the
database.
In calendarscript.js update line 132 to:
var pattern = /[^A-Za-z0-9,()\. '’-]/;
In Default.aspx.cs update line 112 to:
Please advise
Original comment by area51...@gmail.com
on 12 Jan 2015 at 8:35
Seems I made a slight error in my code,
Here is the proper fix,
In calendarscript.js update line 132 to:
var pattern = /[^A-Za-z0-9,()\. '’-]/;
In Default.aspx.cs update line 112 to:
return Regex.IsMatch(str, @"^[a-zA-Z0-9,()\. '’-]*$");
Also updated the description max length by doing the following TSQL query:
ALTER TABLE [event] ALTER COLUMN [description] VARCHAR(500)
This will allow as intended.
Original comment by area51...@gmail.com
on 12 Jan 2015 at 10:17
Original issue reported on code.google.com by
hitg...@gmail.com
on 18 Oct 2013 at 8:37