Spell check for multiple text box in server side via toolbar in master page

10 posts, 0 answers
  1. Chuanbo
    Chuanbo avatar
    32 posts
    Member since:
    Jul 2007

    Posted 22 Feb 2008 Link to this post

    Hi,
    I have seen the demo for check multiple textbox on client side. but we need to put the RadSpell check on toolbar of the Master Page.

    and for every content page, i would set the ControlToCheck property dynamically by programme, but this only support single control, how to support multiple text control to check?

    another question associated with this is that, since i am using RadToolBar, i want to set the spell check as an image button. but when I set the ButtonType as ImageButton, it doenst work.

    thanks in advance.
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 26 Feb 2008 Link to this post

    Hi Chuanbo,

    The ControlToCheck property allows the spellchecker to spellcheck only one element on time.
    If you want to spellcheck multiple elements on time then please review the solution provided in the following live example: Checking Multiple Controls. The solution is client-side based and if needed you can output the JavaScript code from the server by using the Page.RegisterStartupScript method.

    In regards to your second question: The ButtonType = ImageButton will render the spellcheck button as image on the page. However, you want to add a spellcheck button on the RadToolBar control which is different scenario. You need to add a custom button to the RadToolBar, to hide the spellchecker with ButtonType="None" and in the onclick event of the RadToolBar button to fire the spellchecker with:

           var spell = GetRadSpell('<%= spell1.ClientID %>');
           spell.startSpellCheck();


    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Chuanbo
    Chuanbo avatar
    32 posts
    Member since:
    Jul 2007

    Posted 27 Feb 2008 Link to this post

    thanks,this helps. I will keep update we when implement the feature accorrding to your tips
  5. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 28 Feb 2008 Link to this post

    You are welcome, Chuanbo.

    Let me know if you encounter any problems with our controls.


    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Robert Strazzarino
    Robert Strazzarino avatar
    41 posts
    Member since:
    Jan 2006

    Posted 06 May 2008 Link to this post

    I'd like to request that you add another property to the RadSpell called "ControlsToCheck" which lets you comma separate a few textbox ID's.  You could make it flag a compile time error if both properties "ControlToCheck" and "ControlsToCheck" are filled.  I don't want to have all of that client code all over the place in my application, I would like to be able to just list a few textboxes and have the control handle everything. (This should definitely be possible.) Thanks!
  7. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 10 May 2008 Link to this post

    Hi Robert,

    Thank you for your nice feature request.

    I logged it in our ToDo list and we will consider its implementation for one of the future spell versions. We do appreciate your feedback and updated your Telerik points.


    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Martin
    Martin avatar
    1 posts
    Member since:
    Oct 2006

    Posted 17 Jun 2008 Link to this post

    "I'd like to request that you add another property to the RadSpell called "ControlsToCheck" which lets you comma separate a few textbox ID's.  You could make it flag a compile time error if both properties "ControlToCheck" and "ControlsToCheck" are filled.  I don't want to have all of that client code all over the place in my application, I would like to be able to just list a few textboxes and have the control handle everything. (This should definitely be possible.) Thanks!"

    I would like that property too! Would be a lot easier!!!
  9. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 20 Jun 2008 Link to this post

    Hi,

    We will do our best to include this functionality in the next official RadControls release (Q2 2008), which is scheduled for the end of July.

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. tom
    tom avatar
    8 posts
    Member since:
    May 2008

    Posted 15 Jul 2008 Link to this post

    great...another user anxiously waiting for this feature

    all the best
    -tom
  11. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 18 Jul 2008 Link to this post

    Hello,

    I have just tested the current internal build of RadControls for ASP.NET AJAX and I saw that the ControlsToCheck property is already present and working. The property accepts an array of IDs - either server-side or client-side html controls. The public RadControls Q2 2008 release should be out sometime next week.

    Kind regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017