Home Search Member List Faq Register Login  
UltimateEditor
Re: Problem with <FieldSet> tag. Script Error

Thread Starter: sundarp   Started: 02-19-2009 3:39 AM   Replies: 6
 Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Problem with <FieldSet> tag. Script Error
 Printable Version    « Previous Thread   Next Thread »
  19 Feb 2009, 3:39 AM
sundarp is not online. Last active: 9/3/2010 2:23:44 AM sundarp

Top 10 Posts
Joined on 12-31-2008
Posts 21
Problem with <FieldSet> tag. Script Error
Hi,

I am using "<FieldSet><Legend>Status<Legend>Testing</FieldSet>" html source in the ultimate editor.

I could get this Element. When I select this Element and hit on "Enter Key" system throws unwanted script error.

Other than this "Enter Key" works fine.

But I have to use this "FieldSet" Element. Could you please guide me to fix it. 

Thanks in advance,
Sundar.P




 

  
  19 Feb 2009, 1:13 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Problem with <FieldSet> tag. Script Error
First, there seems to be a typo in your closing Legend tag, it should be as follows:

<FieldSet><Legend>Status</Legend>Testing</FieldSet>

If you are trying to change the text inside the fieldset in Design mode, you first need to double-click inside the legend or the text inside the fieldset to go into the edit mode. Then, you can replace the text typing keys such as Enter.

  
  04 Mar 2009, 9:30 AM
sundarp is not online. Last active: 9/3/2010 2:23:44 AM sundarp

Top 10 Posts
Joined on 12-31-2008
Posts 21
Re: Problem with <FieldSet> tag. Script Error

I understand about editing of the FieldSet Data by double clicking inside the legend. If user select the "fieldset" element and clicked on Enter key by mistakenly, the editor script throws exception.

Is there anyway can I capture "OnKEYPRESS" event for FieldSet within the Editor.



  
  04 Mar 2009, 12:26 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Problem with <FieldSet> tag. Script Error
You can capture the mouse or keyboard events inside the editor by using the AddEventHandler client-side API method of UltimateEditor. Please refer to cliuent-side programming sample at http://www.karamasoft.com/Samples.aspx?component=UltimateEditor&sample=ClientSideProgramming to see how you can implement it.
  
  04 Mar 2009, 10:55 PM
sundarp is not online. Last active: 9/3/2010 2:23:44 AM sundarp

Top 10 Posts
Joined on 12-31-2008
Posts 21
Re: Problem with <FieldSet> tag. Script Error
I can attach onkeypress event using "AddEventHandler" of the Editor.

In Addition to this I would like to the source element.

This will solve my problem.

  
  05 Mar 2009, 3:54 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: Problem with <FieldSet> tag. Script Error
We fixed the original JavaScript issue with pressing ENTER key on a fieldset generating an error but haven't released a new build yet. We will send you the patch shortly.
  
  05 Mar 2009, 10:23 PM
sundarp is not online. Last active: 9/3/2010 2:23:44 AM sundarp

Top 10 Posts
Joined on 12-31-2008
Posts 21
Re: Problem with <FieldSet> tag. Script Error
Thanks lot.
  
 Page 1 of 1 (7 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Problem with <FieldSet> tag. Script Error

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2010 Karamasoft LLC. All rights reserved.