This is a migrated thread and some comments may be shown as answers.
radTextBox Databindings
7 Answers 153 Views
This is a migrated thread and some comments may be shown as answers.
Nancy
Top achievements
Rank 1
Nancy asked on 11 Dec 2008, 11:15 PM
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?

 

 

7 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 15 Dec 2008, 03:11 PM
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.
0
Hugo
Top achievements
Rank 1
answered on 26 Jan 2009, 05:42 AM
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.
0
Victor
Telerik team
answered on 27 Jan 2009, 12:53 PM
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.
0
Hugo
Top achievements
Rank 1
answered on 15 Feb 2009, 03:25 AM
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.
0
Nick
Telerik team
answered on 16 Feb 2009, 05:28 PM
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.
0
Tony
Top achievements
Rank 1
answered on 21 May 2009, 05:59 AM
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
0
Nikolay
Telerik team
answered on 25 May 2009, 11:51 AM
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.
Asked by
Nancy
Top achievements
Rank 1
Answers by
Nick
Telerik team
Hugo
Top achievements
Rank 1
Victor
Telerik team
Tony
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or