Separit Captcha textboxlabel from Captchatextbox

3 posts, 0 answers
  1. DevMohamed
    DevMohamed avatar
    4 posts
    Member since:
    Aug 2006

    Posted 27 Nov 2014 Link to this post

    Hello there

    i want to move and control position of textboxlabel under its textbox without effect the lay out of the Captcha its self like attached file
  2. Slav
    Slav avatar
    1355 posts

    Posted 02 Dec 2014 Link to this post


    You can reference the client-side object of RadCaptcha via the $find method
    var captcha = $find("<%=RadCaptcha1.ClientID %>");
    then use the get_textBox() and textBoxLabel() methods of this object to retrieve the elements of the textbox and the textbox label:
    var captchaTextBox = captcha.get_textBox();
    var captchaTextBoxLabel = captcha.textBoxLabel();

    After this is done you can use these elements to manipulate their styles and postilion in the DOM as required in your scenario.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. DevMohamed
    DevMohamed avatar
    4 posts
    Member since:
    Aug 2006

    Posted 03 Dec 2014 in reply to Slav Link to this post

    Dear Slav

    Thanks for your replay 

    i have discover the solution it so simple just add </br></br> to the Label Text like this :

    CaptchaTextBoxLabel="</br></br>أدخل الرمز المرئي دون مراعاة حالة الأحرف"
Back to Top