473,416 Members | 1,557 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

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 3471
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****@microsoft.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*******@newsgroup.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.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:
Line 931: this.Adapter.SelectCommand = this.CommandCollection[0];
Line 932: if ((this.ClearBeforeFill == true)) {
Line 933: dataTable.Clear();
Line 934: }
Line 935: int returnValue = this.Adapter.Fill(dataTable);
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\websiterlftirekingdomcoursecompletionreport\ 7697443b\2ec251ca\App_Code.9o1brfaa.0.cs
Line: 933

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
ControlsDataSetTableAdapters.CourseGroupsTableAdap ter.FillSelectCourseGroups(CourseGroupsDataTable
dataTable) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
ASP.NET
Files\websiterlftirekingdomcoursecompletionreport\ 7697443b\2ec251ca\App_Code.9o1brfaa.0.cs:933

[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Objec t target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) +72
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks) +358
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +17
System.Web.UI.WebControls.ObjectDataSourceView.Inv okeMethod(ObjectDataSourceMethod
method, Boolean disposeInstance, Object& instance) +676
System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteSelect(DataSourceSelectArguments
arguments) +2664
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +65
System.Web.UI.WebControls.ListControl.PerformSelec t() +32
System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +99
System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +92
System.Web.UI.WebControls.BaseDataBoundControl.OnP reRender(EventArgs e)
+33
System.Web.UI.WebControls.ListControl.OnPreRender( EventArgs e) +31
System.Web.UI.WebControls.CheckBoxList.OnPreRender (EventArgs e) +38
System.Web.UI.Control.PreRenderRecursiveInternal() +148
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4436


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET
Version:2.0.50727.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(result set)
will rely on the first control(checkboxlist'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.Items)
{
if(item.Selected == 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****@microsoft.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*******@newsgroup.nospam>
References: <uj**************@TK2MSFTNGP03.phx.gbl>
<g5**************@TK2MSFTNGHUB02.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.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:
Line 931: this.Adapter.SelectCommand =
this.CommandCollection[0];
>Line 932: if ((this.ClearBeforeFill == true)) {
Line 933: dataTable.Clear();
Line 934: }
Line 935: int returnValue = this.Adapter.Fill(dataTable);
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
ASP.NET
>Files\websiterlftirekingdomcoursecompletionreport \7697443b\2ec251ca\App_Cod
e.9o1brfaa.0.cs
>Line: 933

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
ControlsDataSetTableAdapters.CourseGroupsTableAdap ter.FillSelectCourseGroups
(CourseGroupsDataTable
>dataTable) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
ASP.NET
Files\websiterlftirekingdomcoursecompletionreport \7697443b\2ec251ca\App_Cod
e.9o1brfaa.0.cs:933
>
[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Objec t target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) +72
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture,
Boolean
>skipVisibilityChecks) +358
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +17
System.Web.UI.WebControls.ObjectDataSourceView.Inv okeMethod(ObjectDataSource
Method
>method, Boolean disposeInstance, Object& instance) +676
System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteSelect(DataSourceSelec
tArguments
>arguments) +2664
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +65
System.Web.UI.WebControls.ListControl.PerformSelec t() +32
System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +99
System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +92
System.Web.UI.WebControls.BaseDataBoundControl.OnP reRender(EventArgs e)
+33
System.Web.UI.WebControls.ListControl.OnPreRender( EventArgs e) +31
System.Web.UI.WebControls.CheckBoxList.OnPreRender (EventArgs e) +38
System.Web.UI.Control.PreRenderRecursiveInternal() +148
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4436


---------------------------------------------------------------------------
-----
>Version Information: Microsoft .NET Framework Version:2.0.50727.832;
ASP.NET
>Version:2.0.50727.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****@microsoft.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(result
set)
>will rely on the first control(checkboxlist'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.Items)
{
if(item.Selected == 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****@microsoft.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*******@newsgroup.nospam>
References: <uj**************@TK2MSFTNGP03.phx.gbl>
<g5**************@TK2MSFTNGHUB02.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.NullReferenceException: Object reference not
set
>>to an instance of an object.

Source Error:
Line 931: this.Adapter.SelectCommand =
this.CommandCollection[0];
>>Line 932: if ((this.ClearBeforeFill == true)) {
Line 933: dataTable.Clear();
Line 934: }
Line 935: int returnValue = this.Adapter.Fill(dataTable);
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
ASP.NET
>>Files\websiterlftirekingdomcoursecompletionrepor t\7697443b\2ec251ca\App_Co
d
>e.9o1brfaa.0.cs
>>Line: 933

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
ControlsDataSetTableAdapters.CourseGroupsTableAda pter.FillSelectCourseGroup
s
>(CourseGroupsDataTable
>>dataTable) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary
ASP.NET
Files\websiterlftirekingdomcoursecompletionrepor t\7697443b\2ec251ca\App_Co
d
>e.9o1brfaa.0.cs:933
>>
[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Objec t target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) +72
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture,
Boolean
>>skipVisibilityChecks) +358
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
+17
>>
System.Web.UI.WebControls.ObjectDataSourceView.In vokeMethod(ObjectDataSourc
e
>Method
>>method, Boolean disposeInstance, Object& instance) +676
System.Web.UI.WebControls.ObjectDataSourceView.Ex ecuteSelect(DataSourceSele
c
>tArguments
>>arguments) +2664
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +65
System.Web.UI.WebControls.ListControl.PerformSelec t() +32
System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +99
System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +92
System.Web.UI.WebControls.BaseDataBoundControl.OnP reRender(EventArgs
e)
>>+33
System.Web.UI.WebControls.ListControl.OnPreRender( EventArgs e) +31
System.Web.UI.WebControls.CheckBoxList.OnPreRender (EventArgs e) +38
System.Web.UI.Control.PreRenderRecursiveInternal() +148
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Control.PreRenderRecursiveInternal() +233
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4436


--------------------------------------------------------------------------
-
>-----
>>Version Information: Microsoft .NET Framework Version:2.0.50727.832;
ASP.NET
>>Version:2.0.50727.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****@microsoft.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*******@newsgroup.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
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...
9
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...
1
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...
21
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...
11
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...
1
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...
4
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...
4
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...
3
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...
11
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.