I am currently bringing my old classic app up to date and i am starting to confuse myself.
I am trying to build flexibilty into the form content.
I have built a base page with Headers & footers using ASCX
Added a little fixed HTML.
What I am trying to do is only show data that the user is authorised to edit.
I have added a chunk of code in the on load to generate the additional elements how do I get them to render? I am just getting the text but no input boxes which makes sense as the fields haven't been processed by the handler.
Copy of HTML from View Source
<table class="" > <tr> <td class="recordheaderlight">Dict(f) : Docket:</td> <td><ww:wwWebTextBox runat="server" id="txtDocket" ControlSource="oudocket.odata.Docket" /></td> </tr> <tr> <td class="recordheaderlight">Dict(f) : Descrip:</td> <td><ww:wwWebTextBox runat="server" id="txtDescrip" ControlSource="oudocket.odata.Descrip" /></td> </tr> <tr> <td class="recordheaderlight">Dict(f) : Ordqty:</td> <td><ww:wwWebTextBox runat="server" id="txtOrdqty" CssClass="number" ControlSource="oudocket.odata.Ordqty" style="text-align: right" /></td> </tr> </table></center>
I think my best approach is probably to process in the classic way generating the HTML on the fly using the new helpers and return that back to browser rather than trying to make the framework do this.
Framework is graet for normal approach I am trying to achieve the impossible ?
Just wondered if anyone had come up with a way of altering framework pages on the fly. Has been a long day and I may have missed something.
Thanks
Mark