When a button is pushed on the page, JS in the page does a callback to the server.
At the server, the app builds a menu table and sends it back to the client.
JS then makes it visible and the user can click on it.
This all works fine.
However, I saw something that might make this easier to work on.
Right now I'm building the menu table in vb at the server by piecing together HTML strings.
I saw a piece of syntax at another post that looks like this.
Dim oTbl As New Table()
oTbl.Width = "650"
Relative newbie that I am, I'd never seen this before. Now looking at it, I assume there are ways to add rows and cells and click events and the whole works.
My questions are:
Q1: is that a valid assumption? (that is, can I add rows, cells, content, click events using that type of syntax)
Q2: is there a way to get the table thus created turned into a raw HTML string that I can send back to the client using my callback routines?
I appreciate that AJAX, ATLAS and submits are other ways to get the table to the page, but I'm using callbacks now and I have to send the raw html to the page.
Any help with this would be appreciated.