My bulleted list is grabbing the correct text and value. I'm doing a
response.redire ct to Bookcategories. aspx but want to use the
deafultvaluefie ld on the other page called classificationi d, to pull
info from the database that equals classifictionid . It's not catching
the classificationi d. What am I doing wrong?
Here's my code behind page:
Protected Sub BulletedList1_C lick(ByVal sender As Object, ByVal e As
System.Web.UI.W ebControls.Bull etedListEventAr gs) Handles
BulletedList3.C lick
'Dim url
Dim position As Integer = e.Index
Dim li As ListItem =
BulletedList3.I tems(position)
Label1.Text = "You selected = " &
li.Text & _
", with value = " & li.Value
Response.Redire ct("Bookcategor ies.aspx?
classificationi d=" & Request("classi ficationid") & "'")
I
response.redire ct to Bookcategories. aspx but want to use the
deafultvaluefie ld on the other page called classificationi d, to pull
info from the database that equals classifictionid . It's not catching
the classificationi d. What am I doing wrong?
Here's my code behind page:
Protected Sub BulletedList1_C lick(ByVal sender As Object, ByVal e As
System.Web.UI.W ebControls.Bull etedListEventAr gs) Handles
BulletedList3.C lick
'Dim url
Dim position As Integer = e.Index
Dim li As ListItem =
BulletedList3.I tems(position)
Label1.Text = "You selected = " &
li.Text & _
", with value = " & li.Value
Response.Redire ct("Bookcategor ies.aspx?
classificationi d=" & Request("classi ficationid") & "'")
I
Comment