2 Checkboxes in a view

hello,

I have a view with a number of rows. What i’m trying to do is place a checkbox in the first two columns of the view. These are ‘New’ and ‘Delete’. These checkboxes aren’t supposed to trigger an agent, simply use for info.

I have used the following code in the first column however when the view is opend in the Web i am left with a small red cross (like an ‘image cannot be displayed logo’) here is the code:

“[” + “<input type="checkbox" name="New" value="” + @Text(@DocumentUniqueId) + “">]”

Any suggestions?

Subject: 2 Checkboxes in a view

How does your code look into the browser (do a view source) ?

It will probably help you find what’s wrong.

You can also post the source of your page, if you want more help.

Renaud

Subject: RE: 2 Checkboxes in a view

Hi,

Here is the code from the view source:

DanielsRequests

.computedFieldLook {font: 8pt Arial; border-style: none; color: #6E6E6E;background-color:white;}

.computedFieldLook2 {font: 8pt Arial; color: #6E6E6E;background-color: white;}

.backgroundChange {font: 8pt Arial; background-color: white; color: #6E6E6E; font-weight: normal;}

.backgroundChange2 {font: 10pt Arial; background-color: white; color: #6E6E6E; font-weight: normal;}

.backgroundChange3 {font: 10pt Arial; background-color: white; color: #6E6E6E; font-weight: normal;}

.stdText {color: #6E6E6E; font-weight: normal; font: 8pt Arial;}

.stdResText {color: #6E6E6E; font-weight: normal; font: 8pt Arial;}

.stdResTextBold {color: #6E6E6E; font-weight: bold; font: 8pt Arial;}

.manText {color:red; font-weight: normal; font: 8pt Arial;}

.computedResFieldLook {font: 8pt Arial; border-style: none; color: #6E6E6E;background-color: white;}

.computedResFieldLookBold {font: 8pt Arial; border-style: none; color: #6E6E6E;background-color: white; font-weight: bold;}

.stdTextBold {color: #6E6E6E; font: 8pt Arial; font-weight: bold;}

.titleText {color: #6E6E6E; font: 10pt Arial; font-weight: bold;}

.titleResText {color: #6E6E6E; font: 8pt Arial; font-weight: bold;}

.titleResText2 {color: #FF0000; font: 8pt Arial; font-weight: bold;}

.Room {display: in-line}

h2{color: #6E6E6E; font-weight: bold; font: 8pt Arial;}

.pageNumber{color:#FF0000; font-weight:bold; font:10pt Arial;}

.tabs { text-decoration: none; color: #6E6E6E; font: 10pt Arial; font-weight: bold;}

A.tabs { text-decoration: none; color: #6E6E6E; font: 10pt Arial; font-weight: bold;}

.tabSelected { text-decoration: none; color: white; font: 10pt Arial; font-weight: bold;}

#tab1{position:absolute;top:90;left:20;}

#tab2{position:absolute;top:90;left:20; visibility:hidden}

#tab3{position:absolute;top:90;left:20; visibility:hidden}

Text{width:460px ; border-style:solid ; border-width:1px ; border-color:#437C5B ; background-color:lightblue; scrollbar-base-color:#437C5B;scrollbar-arrow-color:yellow;scrollbar-darkshadow-color:yellow;

color:black ; font-size:12 ; font-family:arial ; font-weight:bold }


NE Requests


No New FirstName LastName Global ID Username Date Requested Delete
1TEST1TEST1testtest111123/12/2008 15:15:471
2KanagarajMarappanTC2RN0045z00144906/11/2008 06:07:132
3PrakashSubramaniTC2RN0036z00133719/09/2008 06:49:243
4ThenarasuThirunavukkarasuTC2RN0037z00115319/09/2008 06:48:164
5VijLakshmanaperumalTC2RN0035z00116118/09/2008 11:21:555
6SURESHSEENIDURAITBDz00100712/08/2008 06:08:196
7SHAILENDRAVANEETBDz00066112/08/2008 06:06:437

Subject: RE: 2 Checkboxes in a view

It looks suspiciously like the columns are set to “Display values as icons”.

Subject: RE: 2 Checkboxes in a view

Hi,

The columns were set to “Display values as icons”. This was unchecked. Then tested, the checkboxes appear as hoped however, when a box is checked and the page is refreshed or the view is accessed a couple of minutes later the boxes are all unchecked?

Is there anyway for a box that is checked to remain checked? I included a save button (@Command([FileSave])) on the form however when this is clicked the Internet Explore “The website cannot display the page” error is displayed.