doubt in user control

Posted by Amisha under ASP.NET on 1/3/2012 | Points: 10 | Views : 748 | Status : [Member] | Replies : 4
I have four user control(suppose test1,tes2,te3,te4) palced in a single user control.
In that particular user control page i want to write a javascript to access individual control of the suer controls
Exa:
test1:textBox.value

How to do this




Responses

Posted by: Vuyiswamb on: 1/3/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
You need to do this on the Server side. and create the Properties that you can access from the hosting control

http://www.dotnetcurry.com/ShowArticle.aspx?ID=155

Thank you for posting at Dotnetfunda
[Administrator]

Amisha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amisha on: 1/3/2012 [Member] Starter | Points: 25

Up
0
Down
i want it in javascript only

Amisha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 1/3/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

You can use the Client id for getting the value in java script.



Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Amisha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amisha on: 1/3/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Blessy
U specified client id..but hw to do that..atlest giv som example

Amisha, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response