D
David
Hi,
Further to my earlier post about using dynamic usercontrols (which I have
still yet to solve), I have another problem.
I am creating the UC in the page by LoadControl. The page itself has a
submit button that is inside an AJAX UpdatePanel.
When I submit the page, the contents of the text boxes of the UC don't
appear to be there.
I have made a public sub in my UC. I pass an ID to the sub. This happens
when the submit button on the page is clicked and it works fine (to this
point).
sort of like this...
Page.
button1_click
begin
TravelUC.SaveTravel(ID)
end
UC
public sub SaveTravel(ID as integer)
begin
code to save the details.
end
However, when I am in the SaveTravel sub routine, the values of my text
boxes (or drop down box) are seemingly empty. Why would this be? Any ideas
on how I can fix it?
Thanks.
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
Further to my earlier post about using dynamic usercontrols (which I have
still yet to solve), I have another problem.
I am creating the UC in the page by LoadControl. The page itself has a
submit button that is inside an AJAX UpdatePanel.
When I submit the page, the contents of the text boxes of the UC don't
appear to be there.
I have made a public sub in my UC. I pass an ID to the sub. This happens
when the submit button on the page is clicked and it works fine (to this
point).
sort of like this...
Page.
button1_click
begin
TravelUC.SaveTravel(ID)
end
UC
public sub SaveTravel(ID as integer)
begin
code to save the details.
end
However, when I am in the SaveTravel sub routine, the values of my text
boxes (or drop down box) are seemingly empty. Why would this be? Any ideas
on how I can fix it?
Thanks.
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available