Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2006, 07:36 PM
Authorized User
 
Join Date: Apr 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default filtering datalist from within

Hi,
I am able to filter my datalist with dropdownlists etc that are outside the datalist, via controlparameters, filterexpression and sqldatasource. However, I have no idea how to filter it from within the datalist. When a user clicks a text in the datalist, it's in reality a linkbutton and then only the items that match the text of the linkbutton (and that are further included in the external dropdownlists' selections) should be displayed.

Using datalist_itemcommand, I've been able to at least get a response.write when the user clicks a linkbutton, but it's not possible to link this to the filterexpression (or so I think). Eg: A user clicks the date (using one of the linkbuttons) to see only posts from this date. How can I do that with a filterexpression???

I've struggled with it for days now.

Please help me achieve this - it's essential to my solution (and it should be built-in into VWD, and maybe it is)!

Thanks in advance,

Pettrer (VB, VWD Express, SQL Server Express)

Coding is indeed a nine-to-five job; nine pm to five am.
__________________
Coding is indeed a nine-to-five job; nine pm to five am.
 
Old July 20th, 2006, 10:24 AM
Authorized User
 
Join Date: Apr 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try Combobox or DualSelectBox from AspLib component library (http://asplib.net)

 
Old August 11th, 2006, 02:08 PM
Authorized User
 
Join Date: May 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Excellent control.
Do you know free liked control?






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use OR during filtering..... raaj81 Reporting Services 0 July 30th, 2008 05:34 AM
Datalist inside datalist amit.jagtap ASP.NET 2.0 Professional 1 September 4th, 2007 05:03 AM
Filtering Reports davidwes Access 0 February 22nd, 2007 06:50 PM
filtering datalist with linkbuttons pettrer ASP.NET 2.0 Basics 0 July 8th, 2006 03:46 PM
Filtering listboxes Bill Snow VB Databases Basics 0 February 5th, 2004 03:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.