473,581 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cascaded menus and multi-select CheckBoxList

There are three parts to this

1.) How do I cascade menus?

2.) And, how do I cascade menus with a multi-select CheckBoxList?

3.) How do I default to all? When no items are selected. (I know how to
detect no box selected . I just don't know how to 'lose' the where statement
if no list box is selected.)

Here are the select statements;

The query for the first menu

select usr ,grpId

from tblgrp

The query for the second menu

select car, carId

from tblCars

where grpI in (@grpId)

Please answer questions 1, 2 and 3.

Thank you,

Doug
Jun 27 '08 #1
6 3490
Hi Doug,

Regarding on the questionsa bout the Menu control, I'd like to confirm some
further things:

1)As for cascading the menu control, do you mean you want to display data
via Menu control and make menu items displayed in different layers? If so,
based on my research, the menu control does support multiple level
menuitems display. And so far there are several means to populate menu
items:

i. use code to programmtically populate the Menu control's Menu items
collection
ii. use databindings setting, and a very common approad is supply a xml
datasource which can map different xml element at different menu level.

#Populating Menu Control in ASP.NET 2.0 - using different data sources
http://www.codeproject.com/KB/menus/...ntrolASP2.aspx

http://quickstart.developerfusion.co...ctrlref/naviga
tion/menu.aspx

Also, for your scenario, it quite depend on your datasource(what are the
original data structure) which will impact how we can associate it with the
menu control
2)And, how do I cascade menus with a multi-select CheckBoxList?
=============== =======
I'm still a bit unclear about this, are you using checkboxlist inside menu
template or would you further clarity how you currrently integrated
checkboxlist with menu control?

3)How do I default to all? When no items are selected. (I know how to
detect no box selected . I just don't know how to 'lose' the where
statement
if no list box is selected.)
=============== =============
for this question, I'm wondering how do you currently execute the select
statement, are you directly execute it via ADO.NET code or use a SQL
DataSource control?

*If using ADO.NET code, I think you can explicitly check whether there is
no item selected and change to use a non-where select statement for that
case.

*If you are using SqlDatasource control. One approach I can think is
putting two different data source control on page(one of them always return
all the records) and you can programmtically assign the proper one to the
Menu or databound control(depend on whether there is element selected).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "dbuchanan" <db*******@news group.nospam>
Subject: Cascaded menus and multi-select CheckBoxList
Date: Wed, 4 Jun 2008 08:20:40 -0400
>There are three parts to this

1.) How do I cascade menus?

2.) And, how do I cascade menus with a multi-select CheckBoxList?

3.) How do I default to all? When no items are selected. (I know how to
detect no box selected . I just don't know how to 'lose' the where
statement
>if no list box is selected.)

Here are the select statements;

The query for the first menu

select usr ,grpId

from tblgrp

The query for the second menu

select car, carId

from tblCars

where grpI in (@grpId)

Please answer questions 1, 2 and 3.

Thank you,

Doug
Jun 27 '08 #2
Steven,

I am sorry, my choice of words was bad. Instead of *menu* I should have said
*control*.

What I am trying to do is have the first of two controls filter what is
displayed in the second control.

For example if in the first CheckBoxList (multi-select) the user selects
'NorthEast' and 'SouthWest' regions then the second CheckBoxList
(multi-select) will display 'Maine', 'New York', 'Nevada' and 'New Mexico'
but will not display 'Oregon' or 'Florida' becuase they are in the
'NorthWest' and 'SouthEast" which were not selected in the first
CheckBoxList.

1.) How do I have the first control supply the parameters for the second
control? I am looking for a good explaination because I am new to aspx. A
link to a very good walk-through - if it is good - would be nice.

Up to now I had set up my controls by using a SqlDataSource. This time I
tried to set my control by putting my queries in a tableAdapter insid my
XSD. While doing this I noticed functionality for setting up parameters. I
would guess thia is how I would set up one contro to be dependant upon
another.

BUT... ( and before setting up parameters)

I tried to run the project to see the controls populate. Instead it crashed
with the error below.

2.) What could I have done wrong?

Thank you,
Doug

=== starr of error ==============
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not set
to an instance of an object.

Source Error:
Line 931: this.Adapter.Se lectCommand = this.CommandCol lection[0];
Line 932: if ((this.ClearBef oreFill == true)) {
Line 933: dataTable.Clear ();
Line 934: }
Line 935: int returnValue = this.Adapter.Fi ll(dataTable);
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\websiterl ftirekingdomcou rsecompletionre port\7697443b\2 ec251ca\App_Cod e.9o1brfaa.0.cs
Line: 933

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
ControlsDataSet TableAdapters.C ourseGroupsTabl eAdapter.FillSe lectCourseGroup s(CourseGroupsD ataTable
dataTable) in c:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
Files\websiterl ftirekingdomcou rsecompletionre port\7697443b\2 ec251ca\App_Cod e.9o1brfaa.0.cs :933

[TargetInvocatio nException: Exception has been thrown by the target of an
invocation.]
System.RuntimeM ethodHandle._In vokeMethodFast( Object target, Object[]
arguments, SignatureStruct & sig, MethodAttribute s methodAttribute s,
RuntimeTypeHand le typeOwner) +0
System.RuntimeM ethodHandle.Inv okeMethodFast(O bject target, Object[]
arguments, Signature sig, MethodAttribute s methodAttribute s,
RuntimeTypeHand le typeOwner) +72
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityC hecks) +358
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflecti on.MethodBase.I nvoke(Object obj, Object[] parameters) +17
System.Web.UI.W ebControls.Obje ctDataSourceVie w.InvokeMethod( ObjectDataSourc eMethod
method, Boolean disposeInstance , Object& instance) +676
System.Web.UI.W ebControls.Obje ctDataSourceVie w.ExecuteSelect (DataSourceSele ctArguments
arguments) +2664
System.Web.UI.W ebControls.List Control.OnDataB inding(EventArg s e) +65
System.Web.UI.W ebControls.List Control.Perform Select() +32
System.Web.UI.W ebControls.Base DataBoundContro l.DataBind() +99
System.Web.UI.W ebControls.Base DataBoundContro l.EnsureDataBou nd() +92
System.Web.UI.W ebControls.Base DataBoundContro l.OnPreRender(E ventArgs e)
+33
System.Web.UI.W ebControls.List Control.OnPreRe nder(EventArgs e) +31
System.Web.UI.W ebControls.Chec kBoxList.OnPreR ender(EventArgs e) +38
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +148
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint) +4436


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.832; ASP.NET
Version:2.0.507 27.832
=== end of error ==============

Jun 27 '08 #3
Hi Doug,

If you're not quite familar with ASP.NET Data Access and DataBound control
model, I suggest you have a look at the Data Access tutorial on ASP.NET
official site:

#Data Access Tutorials
http://www.asp.net/learn/data-access/

the tutorial contains many very good and typical samples.

Also, for your scenario, since your second control's datasource(resu lt set)
will rely on the first control(checkbo xlist's selected items). I would
suggest you manually use code to check all the selected items in the first
CheckBoxList control e.g.

============
foreach (ListItem item in CheckBoxList1.I tems)
{
if(item.Selecte d == true)
//append to query parameter
}
============

After that, you also programmtically use ADO.NET SqlCommand to execute
command and get the DataReader or DataSet and bind it to DataGrid/Gridview
control. How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "dbuchanan" <db*******@news group.nospam>
References: <uj************ **@TK2MSFTNGP03 .phx.gbl>
<g5************ **@TK2MSFTNGHUB 02.phx.gbl>
>Subject: Re: Cascaded menus and multi-select CheckBoxList
Date: Thu, 5 Jun 2008 02:30:33 -0400
>Steven,

I am sorry, my choice of words was bad. Instead of *menu* I should have
said
>*control*.

What I am trying to do is have the first of two controls filter what is
displayed in the second control.

For example if in the first CheckBoxList (multi-select) the user selects
'NorthEast' and 'SouthWest' regions then the second CheckBoxList
(multi-select) will display 'Maine', 'New York', 'Nevada' and 'New Mexico'
but will not display 'Oregon' or 'Florida' becuase they are in the
'NorthWest' and 'SouthEast" which were not selected in the first
CheckBoxList .

1.) How do I have the first control supply the parameters for the second
control? I am looking for a good explaination because I am new to aspx. A
link to a very good walk-through - if it is good - would be nice.

Up to now I had set up my controls by using a SqlDataSource. This time I
tried to set my control by putting my queries in a tableAdapter insid my
XSD. While doing this I noticed functionality for setting up parameters. I
would guess thia is how I would set up one contro to be dependant upon
another.

BUT... ( and before setting up parameters)

I tried to run the project to see the controls populate. Instead it
crashed
>with the error below.

2.) What could I have done wrong?

Thank you,
Doug

=== starr of error ==============
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not set
to an instance of an object.

Source Error:
Line 931: this.Adapter.Se lectCommand =
this.CommandCol lection[0];
>Line 932: if ((this.ClearBef oreFill == true)) {
Line 933: dataTable.Clear ();
Line 934: }
Line 935: int returnValue = this.Adapter.Fi ll(dataTable);
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
>Files\websiter lftirekingdomco ursecompletionr eport\7697443b\ 2ec251ca\App_Co d
e.9o1brfaa.0.cs
>Line: 933

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
ControlsDataSet TableAdapters.C ourseGroupsTabl eAdapter.FillSe lectCourseGroup s
(CourseGroupsDa taTable
>dataTable) in c:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
Files\websiter lftirekingdomco ursecompletionr eport\7697443b\ 2ec251ca\App_Co d
e.9o1brfaa.0.cs :933
>
[TargetInvocatio nException: Exception has been thrown by the target of an
invocation.]
System.RuntimeM ethodHandle._In vokeMethodFast( Object target, Object[]
arguments, SignatureStruct & sig, MethodAttribute s methodAttribute s,
RuntimeTypeHan dle typeOwner) +0
System.RuntimeM ethodHandle.Inv okeMethodFast(O bject target, Object[]
arguments, Signature sig, MethodAttribute s methodAttribute s,
RuntimeTypeHan dle typeOwner) +72
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture,
Boolean
>skipVisibility Checks) +358
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflecti on.MethodBase.I nvoke(Object obj, Object[] parameters) +17
System.Web.UI.W ebControls.Obje ctDataSourceVie w.InvokeMethod( ObjectDataSourc e
Method
>method, Boolean disposeInstance , Object& instance) +676
System.Web.UI.W ebControls.Obje ctDataSourceVie w.ExecuteSelect (DataSourceSele c
tArguments
>arguments) +2664
System.Web.UI.W ebControls.List Control.OnDataB inding(EventArg s e) +65
System.Web.UI.W ebControls.List Control.Perform Select() +32
System.Web.UI.W ebControls.Base DataBoundContro l.DataBind() +99
System.Web.UI.W ebControls.Base DataBoundContro l.EnsureDataBou nd() +92
System.Web.UI.W ebControls.Base DataBoundContro l.OnPreRender(E ventArgs e)
+33
System.Web.UI.W ebControls.List Control.OnPreRe nder(EventArgs e) +31
System.Web.UI.W ebControls.Chec kBoxList.OnPreR ender(EventArgs e) +38
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +148
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesB eforeAsyncPoint , Boolean includeStagesAf terAsyncPoint) +4436


---------------------------------------------------------------------------
-----
>Version Information: Microsoft .NET Framework Version:2.0.507 27.832;
ASP.NET
>Version:2.0.50 727.832
=== end of error ==============

Jun 27 '08 #4
Hi Doug,

Have you got any progress or does my further suggetion help you some?

Please feel free to let me know if there is anything else we can help.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization : Microsoft
Date: Fri, 06 Jun 2008 07:28:22 GMT
Subject: Re: Cascaded menus and multi-select CheckBoxList
>Hi Doug,

If you're not quite familar with ASP.NET Data Access and DataBound control
model, I suggest you have a look at the Data Access tutorial on ASP.NET
official site:

#Data Access Tutorials
http://www.asp.net/learn/data-access/

the tutorial contains many very good and typical samples.

Also, for your scenario, since your second control's datasource(resu lt
set)
>will rely on the first control(checkbo xlist's selected items). I would
suggest you manually use code to check all the selected items in the first
CheckBoxList control e.g.

============
foreach (ListItem item in CheckBoxList1.I tems)
{
if(item.Selecte d == true)
//append to query parameter
}
============

After that, you also programmtically use ADO.NET SqlCommand to execute
command and get the DataReader or DataSet and bind it to DataGrid/Gridview
control. How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microso ft.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ault.aspx#noti
f
>ications.

============== =============== =============== ======
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>>From: "dbuchanan" <db*******@news group.nospam>
References: <uj************ **@TK2MSFTNGP03 .phx.gbl>
<g5*********** ***@TK2MSFTNGHU B02.phx.gbl>
>>Subject: Re: Cascaded menus and multi-select CheckBoxList
Date: Thu, 5 Jun 2008 02:30:33 -0400
>>Steven,

I am sorry, my choice of words was bad. Instead of *menu* I should have
said
>>*control*.

What I am trying to do is have the first of two controls filter what is
displayed in the second control.

For example if in the first CheckBoxList (multi-select) the user selects
'NorthEast' and 'SouthWest' regions then the second CheckBoxList
(multi-select) will display 'Maine', 'New York', 'Nevada' and 'New
Mexico'
>>but will not display 'Oregon' or 'Florida' becuase they are in the
'NorthWest' and 'SouthEast" which were not selected in the first
CheckBoxLis t.

1.) How do I have the first control supply the parameters for the second
control? I am looking for a good explaination because I am new to aspx. A
link to a very good walk-through - if it is good - would be nice.

Up to now I had set up my controls by using a SqlDataSource. This time I
tried to set my control by putting my queries in a tableAdapter insid my
XSD. While doing this I noticed functionality for setting up parameters.
I
>>would guess thia is how I would set up one contro to be dependant upon
another.

BUT... ( and before setting up parameters)

I tried to run the project to see the controls populate. Instead it
crashed
>>with the error below.

2.) What could I have done wrong?

Thank you,
Doug

=== starr of error ==============
Object reference not set to an instance of an object.
Description : An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.NullRefe renceException: Object reference not
set
>>to an instance of an object.

Source Error:
Line 931: this.Adapter.Se lectCommand =
this.CommandCo llection[0];
>>Line 932: if ((this.ClearBef oreFill == true)) {
Line 933: dataTable.Clear ();
Line 934: }
Line 935: int returnValue = this.Adapter.Fi ll(dataTable);
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
>>Files\website rlftirekingdomc oursecompletion report\7697443b \2ec251ca\App_C o
d
>e.9o1brfaa.0.c s
>>Line: 933

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instance of an
object.]
ControlsDataSe tTableAdapters. CourseGroupsTab leAdapter.FillS electCourseGrou p
s
>(CourseGroupsD ataTable
>>dataTable) in c:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
Files\website rlftirekingdomc oursecompletion report\7697443b \2ec251ca\App_C o
d
>e.9o1brfaa.0.c s:933
>>
[TargetInvocatio nException: Exception has been thrown by the target of an
invocation.]
System.RuntimeM ethodHandle._In vokeMethodFast( Object target, Object[]
arguments, SignatureStruct & sig, MethodAttribute s methodAttribute s,
RuntimeTypeHa ndle typeOwner) +0
System.RuntimeM ethodHandle.Inv okeMethodFast(O bject target, Object[]
arguments, Signature sig, MethodAttribute s methodAttribute s,
RuntimeTypeHa ndle typeOwner) +72
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture,
Boolean
>>skipVisibilit yChecks) +358
System.Reflecti on.RuntimeMetho dInfo.Invoke(Ob ject obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflecti on.MethodBase.I nvoke(Object obj, Object[] parameters)
+17
>>
System.Web.UI. WebControls.Obj ectDataSourceVi ew.InvokeMethod (ObjectDataSour c
e
>Method
>>method, Boolean disposeInstance , Object& instance) +676
System.Web.UI. WebControls.Obj ectDataSourceVi ew.ExecuteSelec t(DataSourceSel e
c
>tArguments
>>arguments) +2664
System.Web.UI.W ebControls.List Control.OnDataB inding(EventArg s e) +65
System.Web.UI.W ebControls.List Control.Perform Select() +32
System.Web.UI.W ebControls.Base DataBoundContro l.DataBind() +99
System.Web.UI.W ebControls.Base DataBoundContro l.EnsureDataBou nd() +92
System.Web.UI.W ebControls.Base DataBoundContro l.OnPreRender(E ventArgs
e)
>>+33
System.Web.UI.W ebControls.List Control.OnPreRe nder(EventArgs e) +31
System.Web.UI.W ebControls.Chec kBoxList.OnPreR ender(EventArgs e) +38
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +148
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.C ontrol.PreRende rRecursiveInter nal() +233
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStages BeforeAsyncPoin t, Boolean includeStagesAf terAsyncPoint) +4436


--------------------------------------------------------------------------
-
>-----
>>Version Information: Microsoft .NET Framework Version:2.0.507 27.832;
ASP.NET
>>Version:2.0.5 0727.832
=== end of error ==============


Jun 27 '08 #5
Steve,

Your direction and link excellent.

Thank you,
Doug
Jun 27 '08 #6
Thanks for your reply Doug,

I'm glad that the suggestion help you.

Have a nice day!

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "dbuchanan" <db*******@news group.nospam>
Subject: Re: Cascaded menus and multi-select CheckBoxList
Date: Tue, 10 Jun 2008 23:03:20 -0400
>
Steve,

Your direction and link excellent.

Thank you,
Doug
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1663
by: gscott66 | last post by:
How do you create dropdown menus / links like Macromedia sign-in page (top of page..ie, Home / Products / ...)? I have a client that wants the sub-menus/links to drop on a left Nav bar. She has several single topic categories and a couple of multi-topic categories? Is it a CSS thing or can DreamWeaver do it alone? Any advice will help. ...
9
2435
by: Jan Wieck | last post by:
Dear community, for some reason the post I sent yesterday night still did not show up on the mailing lists. I have set up some links on the developers side under http://developer.postgresql.org/~wieck/slony1.html The concept will be the base for some of my work as a Software Engineer here at Afilias USA INC. in the near future. Afilias is...
1
1500
by: Michael Blackney | last post by:
I've been looking into cascaded macros and I can't seem to find if what I'm doing is portable. I want to do something like: #define THREE_ONES 1,1,1 #define ONE_TWO_THREE 1,2,3 #define JOIN_LISTS(a,b) JOIN_LISTS_PROCESSED(a,b) #define JOIN_LISTS_PROCESSED(a1,b1,c1,a2,b2,c2) a1+a2,b1+b2,c1+c2 so that the statement:
21
3042
by: firewood | last post by:
What to do? Should a menu system be constructed in JavaScript or CSS? A typical problem: Using PHP/MySQL or other server side db/scripting, one generates an array of categories and subcategories for site content that must be displayed in a menu system on the browser. Of course, the menu should show up properly in all modern browsers, but...
11
3857
by: yb | last post by:
hi, i've searched for a css-only menu (that works with javascript disabled) and haven't found any. are there any known solutions for this problem ... either multi-level, or one-level ... or vertical / horizontal? must also work in internet explorer
1
1339
by: bobmct | last post by:
Anyone: As a non-js programmer (but incorporater of js code into my perl/php/html sites) I am attempting to create vertical self expanding menu (when the user cursors over a selection it will popup an additional set of selections if there are any). All my searching has brought me to a free version from www.gurtom.com, especially their...
4
2069
by: ApexData | last post by:
I have a 15 LookUp Tables tied to 15 ComboBoxes. Some of the Tables contain 3 to 10 Recs, and a couple contain up to 50 Recs. 1- Is it a CommonPractice to link the field that gets the ComboBox result, to the Lookup Table to ensure Referential Integrity and Cascaded Updates? 2- Also, should the LookupTable PrimaryKey be an AutoKey or the...
4
5158
by: Gomez | last post by:
Hi, I'm Gomez and I am NOT a programmer - I am just a lowly graphic designer so please take pity on me and try not to laugh at what I'm about to ask. I am building a multi channel presentation in Power Point that will be distributed on CD. The self starting presentation links to other PPTs, videos, PDFs, etc and what I am trying to do is avoid...
3
2618
by: EnigmaticSource | last post by:
Currently, I am designing a site using CSS driven vertical menus, it works well in everything but MSIE. The menus seem to work well enough, except that they float behind the images, but above the text. The problem does not occur in Firefox, Konqueror, or Opera. I'm a bit lost for what the cause could be. Demonstration URL:...
11
2309
by: seangibson | last post by:
Sorry, I've been posting alot of questions regarding cascaded combo boxes here but each time I solve one problem I seem to be faced with a new. This time here's the problem: I've got the combo boxes more or less working but they don't refresh. I'm only allowed one chance to choose the value in the first combo box. If I try to change it to...
0
7876
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7804
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7910
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8180
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6563
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1409
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1144
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.