Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Problem with focus in fckeditor
November 06, 2009
I'm using FckEditor 2.6.4 as follows:
%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<FCKeditorV2:FCKeditor ID="txtareaDetailedDes" BasePath="~/FCKeditor/fckeditor/"
runat="server" Width="500px" Height="250px" FontNames="Arial;Calibri;Times New Roman">
<asp:TextBox runat="server" ID="txtDetailedDesc" Width="0" BackColor="white" BorderStyle="None"
<asp:RequiredFieldValidator ID="rfvDetailedDes" runat="server" ValidationGroup="Submit"
SetFocusOnError="true" ControlToValidate="txtareaDetailedDes" Display="None"
ErrorMessage="Please Enter some text in Editor"></asp:RequiredFieldValidator>
<ajaxToolkit:ValidatorCalloutExtender ID="vceDetailedDes" runat="server" TargetControlID="rfvDetailedDes"
<asp:Button ID="btnSubmit" Text="Submit" runat="server" ValidationGroup="Submit" />
when clicking on submit button required field validation is fired, but im not able to get focus on to the editor. i need to get focus i.e. control should go to that editor when validation is fired.
because in my actual application im having lot of controls and vertically screen is scrolled, so when user clicks on submit button, even validation is fired, user not able to find that validation, since editor control is at upper position, unless user scrolls up, he is not able to see the calloutextender.
please give me the solution for this. ultimately when validation is fired, user should be able to find callout extender without scroll up or down, i.e. focus should go to that editor control automatically.
Posted Date: March 30, 2010 Points: 5
To post reply
Related Questions Related Questions
Windows application Form Focus in C#.NET
page_load event problem
DATAGRID NULL ITEM REPLACE PROBLEM
Problem with login control
problem of explorer
SWF file problem
Crystal Report Problem
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend