C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






How can I get the text box.text property of my usercontrol textbox


Posted Date: 12 Aug 2008      Total Responses: 2

Posted By: Anu.A.Palavila       Member Level: Gold     Points: 1




I had created a numeric textbox using windows control library and when I added the text box in my form I cannot get the textbox.text property, How can I get the text box.text property of my usercontrol textbox





Responses

Author: Sabu C Alex    12 Aug 2008Member Level: GoldRating:     Points: 1

hai anu

create a property in usercontrol to get the value from textbox



Author: Nagarajan    12 Aug 2008Member Level: GoldRating:     Points: 3

Create a public property in your usercontrol / customControl, wrapping the numeric textbox's text property

inside the usercontrol

public string Text
{
get
{
return nTextBox.Text;
}
set
{
nTextBox.Text = value;
}
}



Post Reply
You must Sign In to post a response.
Next : Doubt in Combobox
Previous : Important
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use