I tried your suggestions and it didn't work
Protected Sub DataSource_Selecting(ByVal
Dim AnyID As String
AnyID = Request.Cookies("Data")("I
End Sub
However, this works when I hard coded it
<SelectParameters>
<asp:CookieParameter CookieName="Data.ID" Value"17" Name="AnyID" Type="Int32" />
</SelectParameters>
Main Topics
Browse All Topics





by: dacITPosted on 2009-10-28 at 17:14:21ID: 25689515
Try this to test:
1- Make the DataSource CookieParameter a regular parameter
2- Handle the DataSource Selecting event
3- Get the data from the cookie and assign it to the parameter in that event.
Then you can see if you actually get a value from the cookie and assigning it to the DataSource manually might help you find the problem.