WebUserControl

G

Guest

Hi everyone,

I have WebUserControl on a Webform.
How can I get data from a Function/Property on the Webform and send it,
dynamically, to the WebUserControl ?
<uc:myuc id="myuc_id" sText=<%#GetText()%> data="2" runat="server"/>
.....
GetText()-> function/property on the Webform, returns string and send it to
the WebUserControl -> <%#GetText()%>

It's not working. any idea why ?
Any good link for learning WebUserControl ?

thanx,
Oren
 
G

Guest

is sText declared public in the control?
Why not set it from the codebehind?
What error do you get?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top