How to pass value user control to user control
-
Hi All, I have two web user controls on the same web form. When I click a button from one user control, I want to pass a message to the second user control and display it. How can I do it? How can I notify one user control of changes in another user control on the same web form? Thanks.
Praveen Kumar.R
-
Hi All, I have two web user controls on the same web form. When I click a button from one user control, I want to pass a message to the second user control and display it. How can I do it? How can I notify one user control of changes in another user control on the same web form? Thanks.
Praveen Kumar.R
define property in user control and then pass value in webusercontrol tag that appears on the webform in tag u will find that defined property
-
Hi All, I have two web user controls on the same web form. When I click a button from one user control, I want to pass a message to the second user control and display it. How can I do it? How can I notify one user control of changes in another user control on the same web form? Thanks.
Praveen Kumar.R
Just an idea, but maybe you can raise an event in the first user control, handle it in the aspx page and then set a property or execute a method in the second user control from within the eventhandler in the aspx page