Textbox Enlarge its Parent Window(RadWindow)

7 posts, 1 answers
  1. yue ke
    yue ke avatar
    4 posts
    Member since:
    Mar 2010

    Posted 15 Apr 2010 Link to this post

            I meet an  annoyance  thing. for example ,I want to achieve this effect. The contents of the Grid  change  with the change of the RadWindow,for example ,when i  Widen the RadWindow ,the textbox of the Grid will  be pulled large,and the other Controls(for example  Button) will be slide and not change  shape .but ,there is a problem,when the content of centain row in the textbox is so much ,it will enlarge its Parent window(RadWindow) automaticly ,when the content of the centain line is less, the RadWindow will  smaller automaticly,I want RadWindow to change ,it can be changed, Instead of automaticly changing with the content of centain line in  the textbox , hope someone help me solve the problem ,thank you .
  2. Answer
    Pana
    Admin
    Pana avatar
    748 posts

    Posted 17 Apr 2010 Link to this post

    Hi Yue Ke,

    I have no idea what are you talking about but I have the feeling that setting Width and Height on the RadWindow before you Show() it will do the work. The window will be resizable meaning the user will be able to grab the border and drag it around while changing the content inside will not resize the window since it has fixed Width and Height.

    Check the attached project. If you type in the Auto-Resizable window before you manually resize it (by dragging its border) it will get longer as you type. While the User-Only-Resizable will not.

    If this is not the desired behavior please do not hesitate to ask us again.

    All the best,
    Panayot
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. yue ke
    yue ke avatar
    4 posts
    Member since:
    Mar 2010

    Posted 17 Apr 2010 Link to this post

    thank you .
    But this is not the answer that I want .the folllowing  Attaches  additional project screenshots.The datas in the textbox  are  read from the database ,   the width and the height of  the textbox  are set to automatically , when the content of the certain row  in the textbox are too longer,it will enlarge the RadWindow. Please compare these few screenshots carefully ,Maybe  you will know what I say .
    I am looking forward to your good news.
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 21 Apr 2010 Link to this post

    Hello yue ke,

    Can you tell me:

    1) How does it work now?
    2) How do you want it to work?

    3) At the moment does the window changes its size when the database text is large/small?
    4) Do you want the window to change its size when the database text is large/small?

    5) Do you want the user to be able to resize the window by dragging its border?

    Please replay me soon because the problem seems to be easily solved once we understand what is the desired effect.

    Regards,
    Panayot
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. yue ke
    yue ke avatar
    4 posts
    Member since:
    Mar 2010

    Posted 23 Apr 2010 Link to this post

    Hello.
    thank you  being attention to my question.
    1)  as the  three screenshots  of the last time , when I click on the Navigation key( for example First,previous,next,last),the record of the database is too much , the textbox  will enlarge the RadWindow; or else, the RadWindow will change small .
    2) I want it does not change with the content of the  textbox ,that is to say ,when I drag its border , the radwindow can change size;or else ,it can not change size Automaticly.
    3)the data of the database ,some is small,some is large .
    4)the data of the database ,some is small,some is large .
    5)Yes,I hope that.

    these are  my answers .
    thank you .
  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 23 Apr 2010 Link to this post

    Hi yue ke,

    Set the Width and Height properties on the RadWindow. This will prevent it from changing its size when you click "Previous" and "Next" and the data record updates with small or large text. The user will be able to resize the RadWindow.

    All the best,
    Panayot
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. yue ke
    yue ke avatar
    4 posts
    Member since:
    Mar 2010

    Posted 23 Apr 2010 Link to this post

    Hello.
    thank you .
    when I have free time , I will try.
Back to Top
DevCraft banner