G
Guest
Hi
I am upgrading an ASP site where the content is being pulled from a database. On the ASP site the DB content included form tags and other html controls. I want to replace these with a user control but am not sure how to get the controls rendered correctly at runtime. If I output the content as text, it will not realise that the tags are actually user controls and will just render them as text as this content will not be parsed
Essentially I think I need to sort of re-load the page or in some way get the server to re-parse it? Does anyone have any ideas on how to do this. I am aware of the LoadControl command but to use this requires me to do a manual parsing of the DB content using string manipulation or regular expressions both of which are fairly dodgy. Any better ideas
Thanks
I am upgrading an ASP site where the content is being pulled from a database. On the ASP site the DB content included form tags and other html controls. I want to replace these with a user control but am not sure how to get the controls rendered correctly at runtime. If I output the content as text, it will not realise that the tags are actually user controls and will just render them as text as this content will not be parsed
Essentially I think I need to sort of re-load the page or in some way get the server to re-parse it? Does anyone have any ideas on how to do this. I am aware of the LoadControl command but to use this requires me to do a manual parsing of the DB content using string manipulation or regular expressions both of which are fairly dodgy. Any better ideas
Thanks