Last post Jan 14, 2018 05:52 AM by bjlau
Jan 05, 2018 09:38 AM|bjlau|LINK
I have a custom control which have an updatepanel in it. In this updatepanel, it only have a literal control which would be used to dynamically generate html code. The trigger control (from page) is assigned to updatepanel on Sub CreateChildControls dynamically.
However when the control is fired (for my case is button click), the literal content in the updatepanel is not updated. I've tested various way (some is rather stupid) but to no avail. Hope I would be able to reach some light thru this forum. Thanks in advances.
Below is the code for my custom control and page: -
Jan 08, 2018 07:33 AM|Cathy Zou|LINK
You could check the link below first:
If you still have problem, Would you please show us with code sample so that we could reproduce your problem ?
Jan 08, 2018 11:54 PM|bjlau|LINK
Thank you very much for the sharing of update panel information. I've tested but it's still not working to update the literal context text.
As per your request, I've shared the source code of both my custom control project (Control.Modal) and asp web project (Web.Modal) in my share folder with link.
Note: in the Web.Modal project, when button btnLaunchControlModal is click, it should change the content of the modal (which would be updated to literal in custom control). However it doesn't reflect although from debug walkthrough, the literal content text
is already updated.
Jan 14, 2018 05:52 AM|bjlau|LINK
I've been cracking my head but still not able to get it work.
Is anyone out there able to share some tips on how to get about with this issue?
I've included the source code in google drive for what i've done so far.
Appreciate a lot for helps