Main Page | Forums | Register | Active Topics | Members | Search
 
Username:
Password:
ASP Calendars Forum >> ASP Calendars >> Support >> A very small bug found!
A very small bug found!
Author Topic
abaharloo999


Beginner

Join Date: 3/31/2008
Posts: 17

Posted: 4/5/2008 8:53:21 AM

hello
i've been working with this calendar in my project and i have faced this small tiny bug:
when an event is made the mouse over works perfectly but when in the description of the event "return" key is pressed in the mouse over doesn't work..
example:
in the /admin/ManageEvents.aspx page when adding a new event we have:
title: something
description:
1-something
2-something
3-something

as you see if in the description section there is a list or the return key is pressed the mouse over doesn't work.

it would be really good if you could tell me how i can fix this bug myself...

thanks

ASPCalendarsAdmin


Administrator

Join Date: 12/12/2007
Posts: 51

Posted: 4/8/2008 5:52:12 AM

The event description was intended to take HTML code, not plain text. If when this situation occurs you notice you get a javascript error because the writetxt function cannot take newline characters.

I would go the butSave_Click event in AdminManageEvents.ascx.vb and do a Search/Replace on all newline characters in the txtDescription box and just remove the newline characters completley before it gets saved to SQL.


  Copyright ASP Calendars DMG Forums 3.1