Hi ,

I have a label control which is on web form (.aspx) and a button which is inside usercontrol , i want to change the label text on button click.
OR

on button click inside the user control change the text of label which is out side the user control.

Thanks in Advance
:)

Recommended Answers

All 3 Replies

Add an OnClick function (JavaScript) to the item ID.
Once the user is clicking something on the page, it's no longer the server's problem. You have to change it client side.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.