C
crjunk
On my web form, I have inserted a UserControl, named ReceivedRecord in
two different places on the form. The first UserControl on the web
form is named ReceivedRecord1. It will record records that are
classified as "New". The second user control on the web form is named
ReceivedRecord2 it will record records that are classified as
"Expanded".
When the user clicks on the SAVE button that is on the UserControl, I
want to be able to determine which UserControl, located on my main web
form, the action took place. I've got all my save code on the
CodeBehind page of the UserControl.
Here is what I basically want to be albe to do:
If "user clicks on button from ReceivedRecord1 from main web form"
then
Row.Item("TYPERECORD") = "NEW"
elseif "user Clicks on button from ReceivedRecord2 from main web form"
then
Row.Item("TYPERECORD") = "EXPANDED"
end if
Thanks!
crjunk
two different places on the form. The first UserControl on the web
form is named ReceivedRecord1. It will record records that are
classified as "New". The second user control on the web form is named
ReceivedRecord2 it will record records that are classified as
"Expanded".
When the user clicks on the SAVE button that is on the UserControl, I
want to be able to determine which UserControl, located on my main web
form, the action took place. I've got all my save code on the
CodeBehind page of the UserControl.
Here is what I basically want to be albe to do:
If "user clicks on button from ReceivedRecord1 from main web form"
then
Row.Item("TYPERECORD") = "NEW"
elseif "user Clicks on button from ReceivedRecord2 from main web form"
then
Row.Item("TYPERECORD") = "EXPANDED"
end if
Thanks!
crjunk