473,398 Members | 2,404 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,398 software developers and data experts.

Formatted Listbox?

Hi all:

I am working on a ASP.NET project where a search returns 2 lists of data,
and the customer wants the results displayed in 2 separate views. They then
want the ability to click on an item in either list, and have that item move
to the other list.

I am currently using the ListBox control, and it works fine, but I find the
formatting options to be very light and it simply doesn't look very good. I
looked into using a some of the data controls, but I was not able to
determine if I could implement the requirement of being able to move items
between the grid with a mouse click.

Can anyone make a suggestion?

Thanks.

John.
http://mscrmguy.blogspot.com/
Nov 1 '08 #1
3 1710
"John Straumann" <js********@hotmail.comwrote in message
news:48**********************************@microsof t.com...
I am currently using the ListBox control, and it works fine, but I find
the formatting options to be very light and it simply doesn't look very
good.

Can anyone make a suggestion?
Please explain:

a) why you think it simply doesn't look very good;

b) how you would like it to look.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 1 '08 #2
Hi Mark:

If you have a look at this page I have put a couple screens:

http://thestraumanns.mine.nu/listboxes.html

The top screen shows the list boxes and it just looks very plain, I have no
ability (at least none that I can find) to change the borders, add column
headers, look and feel, etc.

The bottom screen shows the Grid view from Dynamics CRM and I'd like to have
something close to this, however as I noted when I was fiddling with the
datagrids I could not see how rows can be made "selectable" with a mouse
click as shown in the screen.
Also, I am not sure if you saw my follow-up note to the popup question:

My apologies as I neglected to mention that the popup
window needs to display a "terms and conditions" document (so a fairly large
amount of text) and then react to the click of the "OK" button. I tried to
put a large string in the code below but it did not work. I use mostly code
behind files, but would it be possible to declare a variable in ASP.NET
script that holds the text, and then use the variable name in the return
confirm?

John.
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:e#**************@TK2MSFTNGP04.phx.gbl...
"John Straumann" <js********@hotmail.comwrote in message
news:48**********************************@microsof t.com...
>I am currently using the ListBox control, and it works fine, but I find
the formatting options to be very light and it simply doesn't look very
good.

Can anyone make a suggestion?

Please explain:

a) why you think it simply doesn't look very good;

b) how you would like it to look.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Nov 1 '08 #3
"John Straumann" <js********@hotmail.comwrote in message
news:AB**********************************@microsof t.com...

[top-posting corrected]
>>I am currently using the ListBox control, and it works fine, but I find
the formatting options to be very light and it simply doesn't look very
good.

Please explain:

a) why you think it simply doesn't look very good;

b) how you would like it to look.

If you have a look at this page I have put a couple screens:

http://thestraumanns.mine.nu/listboxes.html

The top screen shows the list boxes and it just looks very plain, I have
no ability (at least none that I can find) to change the borders, add
column headers, look and feel, etc.
Sounds like you need the <asp:ListView /webcontrol:
http://blogs.msdn.com/mikeormond/arc...-examples.aspx
The bottom screen shows the Grid view from Dynamics CRM and I'd like to
have something close to this, however as I noted when I was fiddling with
the datagrids I could not see how rows can be made "selectable" with a
mouse click as shown in the screen.
GIYF:
http://www.google.co.uk/search?sourc...iew+row+select
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 1 '08 #4

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

Similar topics

17
by: amber | last post by:
Hello. Can someone tell me what I may be doing wrong here? I'm using the code (lboxRP is a listbox): Dim newRPindex As Integer newRPindex = Me.lboxRP.FindString(RP)...
2
by: Steven T. Hatton | last post by:
I'm still not completely sure what's going on with C++ I/O regarding the extractors and inserters. The following document seems a bit inconsistent:...
3
by: Paul T. Rong | last post by:
I have a listbox (of product names) control on my form. I want to pass the selected item (a product name) to a subform, and the product unitprice should apear automatically next to the product name...
8
by: Oddball | last post by:
Ok - I have a ListBox control and I'm ready to write my own DrawItem event handler. What I want to draw as the item is another control. I have created a user control that I would like to list in...
6
by: Chris Leuty | last post by:
I am populating a multiselect Listbox from a dataset, with the content of the listbox filled by one table, and the selections determined from another table. So far, I have been keeping the dataset...
7
by: Dave | last post by:
Hi all, After unsuccessfully trying to make my own dual listbox control out of arraylists, I decided to look for a 3rd party control. I've looked for over a week now and can't find anything but...
3
by: Ali Chambers | last post by:
Hi, I have created a listbox called "dtlist1" on my VB.NET form. I call a procedure as follows: Private Sub openfile(flname As String) dtlist1.Items.Clear() etc..
1
by: Sunray | last post by:
I have a form called the sales form and i have 2 sets of listboxes So what happens is. i add items form the bottom set of list boxes which are bound to a data base to the top set of list boxes which...
5
by: Academia | last post by:
(If you've seen this in the drawing NG, sorry. I inadvertently sent it there.) I have a listbox populated with Objects. The Class has a String field that ToString returns. I assume that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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
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
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...

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.