radTextBox Databindings

8 posts, 0 answers
  1. Nancy
    Nancy avatar
    22 posts
    Member since:
    Jun 2005

    Posted 11 Dec 2008 Link to this post

    More information:  I found the problem to be when the radTextbox is set to multiline.  It works for a single line, but multiline set to true causes it to not display anything. 
    ----------------------------------------------------------------------------------------------------------------------------------------
    I have the following line of code which works for a standard Windows textbox, but not for a radTextbox, which sets DataBindings at run-time (via a business object):

    radTxtDesc.DataBindings.Add(

    "Text", this.ProTemp.Elements, "Desc");

    I do not get an error at runtime, but the radTextbox shows nothing.  I even set the NullText property, but it doesn't show up either.   I am using the textbox within the new DataRepeater ItemTemplate which is part of the Visual Basic Powerpack 3.0.  And as mentioned, the standard windows textbox works, but I really would like to be able to use the radTextbox instead of standard Windows textbox due to the extra features the radTextbox has which I really need.  Any thoughts?

     

     

  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 15 Dec 2008 Link to this post

    Hi Nancy,

    Thank you for reporting the issue, however, I cannot reproduce it using the following code:

    public partial class Form1 : Form 
        { 
            public Form1() 
            { 
                InitializeComponent(); 
            } 
     
            private void Form1_Load(object sender, EventArgs e) 
            { 
                BusinessObject b = new BusinessObject(); 
                b.S = "text text text text text text text text text text"
                this.radTextBox1.DataBindings.Add("Text", b, "S"); 
            } 
        } 
     
        public class BusinessObject 
        { 
            string s; 
     
            public string S 
            { 
                get { return s; } 
                set { s = value; } 
            } 
             
        } 

    Please send us a sample project or a code snippet so we can reproduce the issue. I have tested the code with our latest release.

    If you are not using our latest release, I suggest that you upgrade to it since there are many improvements and bug fixes that justify the time. We will answer the questions you may encounter during the upgrade.

     
    Regards,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Hugo
    Hugo avatar
    8 posts
    Member since:
    Jan 2009

    Posted 25 Jan 2009 Link to this post

    Hello,

    regarding this issue, I was trying to figure out a way to implement a data repeater similar to that on asp.net with telerik controls but have had no luck so far, is there a way to accomplish that? I have seen the component on the "visual basic power pack" but wondering whether telerik has itw onw solution/control (or at least in mind to have it in the future) .

    Thanks.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 27 Jan 2009 Link to this post

    Hi Hugo,

    Thank you for your question.

    I am afraid we have not yet considered implementing a data repeater control, since there has been no demand for it until now. If more people request it we will take appropriate action.

    However, any suggestions for such a control are most welcome.
    What extra features would you like to see in a RadDataRepeater control?

    Please write back if you have other questions.

    Sincerely yours,
    Victor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Hugo
    Hugo avatar
    8 posts
    Member since:
    Jan 2009

    Posted 14 Feb 2009 Link to this post

    Hello,

    That Visual Power packs library works decently but lacks ability for customization. For instance, you cannot change the border of the control nor the separator between data items. So, something like that but customizable would be great.

    Thank you.
  7. Nick
    Admin
    Nick avatar
    767 posts

    Posted 16 Feb 2009 Link to this post

    Hi Hugo,

    Thank you for your feedback. I have updated your Telerik points.

    Regards,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Tony
    Tony avatar
    1 posts
    Member since:
    May 2009

    Posted 21 May 2009 Link to this post

    I am looking to buy a component suite to use with vb2008 and really like what I have seen so far from Telerik. I would also like to see a data repeater but I guess if the power pack control will do the job I can use that. It would be nice to have everything Telerik though for consistent theming etc.


    Please add me to the list of people keen to see a Telerik data repeater
  9. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 25 May 2009 Link to this post

    Hello Tony,

    Thank you for the feedback.

    The DataRepeater that comes with VisualBasic.PowerPacks can be used in a combination with our RadControls for WinForms. I am attaching an example which demonstrates such usage.

    As to the consistent theming, could you please share more details of your experience? This will allow us to focus our theming efforts into the right direction.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for WinForms is Visual Studio 2017 Ready