How to initialize a ASP.NET User Control With parameter? -


For example, I have a labeled user control (SSCX), I will use the user control in my aspx. Page.

How do I cross a string value on the Essex page, so that in the beginning it can be displayed in the Essex page label?

add it ...

  whatever the public string (Return label.text;} set {label.Text = value}}}  

Then from the page you are putting it for your esx control, you will ... usercontrol.Whatever = "Text to display";

Or anyway, the ASPX and a property of the page.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -