Hi,
I try to filter my data in a datalist using linkbuttons that are in the list (in fact, all values in the list are linkbuttons for the purpose of filtering). It should be done via postback, and I have other controls on the page that work just fine with this (using filterexpression to filter them).
However, I can't find any info on how to go from the user clicking the linkbutton in the datalist to do the actual fitering. I've tried to do an onclick event that goes to a sub that checks for type of linkbutton and its value, thereafter to set two hiddenfields to these values and then try to insert the hiddenfields' values in the filterexpression via filterparameters. I couldn't get this to work, and I guess it's not the right way anyhow. So I tried a datalist_itemcommand sub but don't know what to write.
Any help is very welcome! (
VB, VWD Express, Asp.Net 2.0)
Pettrer
Coding is indeed a nine-to-five job; nine pm to five am.