Adding more data to page
-
This is pretty simple... i have an aspx page with 2 controls - a button and a dropdownlist. i want the user to choose something from the list and press the button in order to execute the chosen operation and retrive the HTML result. it is working fine, but what i want to do, is sending to the client the new page (the result of the operation he chose) but to still keep these controls where they are (i want the results to be displayed beneath these controls. what is the best way to do that? Thanks.
-
This is pretty simple... i have an aspx page with 2 controls - a button and a dropdownlist. i want the user to choose something from the list and press the button in order to execute the chosen operation and retrive the HTML result. it is working fine, but what i want to do, is sending to the client the new page (the result of the operation he chose) but to still keep these controls where they are (i want the results to be displayed beneath these controls. what is the best way to do that? Thanks.
You can use any number of controls to do this. I suggest using a div tag like
-
You can use any number of controls to do this. I suggest using a div tag like
I would recommend using which renders as a div but has more strongly typed methods. Also, while it contains no data I would set it to not be visible. i.e. under your current HTML Then when you get the data back use: pnlData.innerHTML = YourHTMLString; pnlData.Visible = true; in your code behind.