G
Guest
Hi All,
I am trying to build a user control that is used on each page of my site.
The user control contains a datalist of links. The list of links (and
associated information) is grabbed from the database.
I am trying to make it so a click of a button (link) fires the ItemCommand
function button which grabs the CommandArgument(URL) for the button and
redirects to that page. However, all it is doing right now is posting back
to itself (the default page). The ItemCommand code is in the UC VB code.
Am I doing something wrong? It is trying to fire the ItemCommand Code in
the VB for the default page? Can anyone help me make this work?
Thank you for any help,
Phil Lamey
I am trying to build a user control that is used on each page of my site.
The user control contains a datalist of links. The list of links (and
associated information) is grabbed from the database.
I am trying to make it so a click of a button (link) fires the ItemCommand
function button which grabs the CommandArgument(URL) for the button and
redirects to that page. However, all it is doing right now is posting back
to itself (the default page). The ItemCommand code is in the UC VB code.
Am I doing something wrong? It is trying to fire the ItemCommand Code in
the VB for the default page? Can anyone help me make this work?
Thank you for any help,
Phil Lamey