Hello,
relatively new .net programmer. using vb.net (v2.0)
I have an aspx page that contains 2 user controls (ascx) on it.
the left control is basically navigation hyperlinks, the right control is basically content display depending on what was clicked in the left control.
** trying it this way to avoid using frames **
I was hoping to get some help with was how to pass info to the right control what was selected from the left control (IDs, etc). can you specify a "target" like in frames in the URL of the nav link? not sure how to "call" the right control with data to drive its display.
I'm looking to avoid using the main "page" as the URL in the nav control and then read the query string variables in the content control as I'm trying to avoid doing a full page read/refresh/reload, which leads into my next question...
I'm also looking to have only the right control refresh itself and leave the remainder of the page untouched (as to not disrupt the current state of the nav links control, there is collapsible tree like display there). the nav control is populated by data from a database and fed into a label field (not generated in vb code).
I'm pretty sure the only answer to that question is to use AJAX. so if you happened to know a good link to show how to do this I'd appreciate that too.
thank you for reading this.
relatively new .net programmer. using vb.net (v2.0)
I have an aspx page that contains 2 user controls (ascx) on it.
the left control is basically navigation hyperlinks, the right control is basically content display depending on what was clicked in the left control.
** trying it this way to avoid using frames **
I was hoping to get some help with was how to pass info to the right control what was selected from the left control (IDs, etc). can you specify a "target" like in frames in the URL of the nav link? not sure how to "call" the right control with data to drive its display.
I'm looking to avoid using the main "page" as the URL in the nav control and then read the query string variables in the content control as I'm trying to avoid doing a full page read/refresh/reload, which leads into my next question...
I'm also looking to have only the right control refresh itself and leave the remainder of the page untouched (as to not disrupt the current state of the nav links control, there is collapsible tree like display there). the nav control is populated by data from a database and fed into a label field (not generated in vb code).
I'm pretty sure the only answer to that question is to use AJAX. so if you happened to know a good link to show how to do this I'd appreciate that too.
thank you for reading this.