ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 24th, 2008, 10:00 AM
tqbrd tqbrd is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Posts: 1 tqbrd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 31 m 57 sec
Reputation Power: 0
ASP 1.0 - Pass Dynamic Fields & Values To ASP page in Querystring

Hi,

I have a search page with a table with dynamic checkboxes and text boxes.

Each table row has a dynamic check box and text box.
Each table row can be clicked to view an edit page.

I need to be able to select a checkbox(es) and enter a value in a text box(es) and then click the table row to view the edit page.
On returning from the edit page I need the check box(es) to remain ticked and the text box value(s) to remain.

Can anyone help please?

checkbox name: blnOutOfStock id:blnOutOfStock1044550
textbox name: datETA1044550

I have included my code to dynamically create the checkbox/textboxes.

<tr align="left" valign="center" class="RowHead" >
<th><a href="javascript:SetSort('Line Number', frmEnquiryView)">Line Number</a></th>
<th><a href="javascript:SetSort('Part Number', frmEnquiryView)">Part Number</a></th>
<th><a href="javascript:SetSort('Description', frmEnquiryView)">Description</a></th>
<th><a href="javascript:SetSort('Qty', frmEnquiryView)">Qty</a></th>
<th><a href="javascript:SetSort('Unit Price', frmEnquiryView)">Unit Price</a></th>
<th><a href="javascript:SetSort('Line Cost', frmEnquiryView)">Line Cost</a></th>
<th><a href="javascript:SetSort('Out Of Stock', frmEnquiryView)">Out Of Stock</a></th>
<th><a href="javascript:SetSort('ETA', frmEnquiryView)">ETA</a></th>
</tr>
<tr class="RowDark" onMouseOver="this.className = this.className+'Selected';" onMouseOut="this.className = 'RowDark';">
<td onclick="ViewDetails(frmEnquiryView,'frmEnquiryLineEdit.asp ?strSessionID={33E8D5B3-DE70-4957-9DD0-AB985A8D88C7}&lActionID=1&lEnquiryID=20451965&lEnquiryLineID=1044550');" >
1
<td onclick="ViewDetails(frmEnquiryView,'frmEnquiryLineEdit.asp ?strSessionID={33E8D5B3-DE70-4957-9DD0-AB985A8D88C7}&lActionID=1&lEnquiryID=20451965&lEnquiryLineID=1044550');" >
CA.DWI/222
<td onclick="ViewDetails(frmEnquiryView,'frmEnquiryLineEdit.asp ?strSessionID={33E8D5B3-DE70-4957-9DD0-AB985A8D88C7}&lActionID=1&lEnquiryID=20451965&lEnquiryLineID=1044550');" >
WINTERHALTER GS501 BREAK TANK VENT PIPE
<td onclick="ViewDetails(frmEnquiryView,'frmEnquiryLineEdit.asp ?strSessionID={33E8D5B3-DE70-4957-9DD0-AB985A8D88C7}&lActionID=1&lEnquiryID=20451965&lEnquiryLineID=1044550');" >
2
<td onclick="ViewDetails(frmEnquiryView,'frmEnquiryLineEdit.asp ?strSessionID={33E8D5B3-DE70-4957-9DD0-AB985A8D88C7}&lActionID=1&lEnquiryID=20451965&lEnquiryLineID=1044550');" >
19.00
<td onclick="ViewDetails(frmEnquiryView,'frmEnquiryLineEdit.asp ?strSessionID={33E8D5B3-DE70-4957-9DD0-AB985A8D88C7}&lActionID=1&lEnquiryID=20451965&lEnquiryLineID=1044550');" >
38.00
<td >
<input type="checkbox" name="blnOutOfStock" id="blnOutOfStock1044550" value="1044550" onclick="changeControlsForOutOfStock(frmEnquiryView,'104455 0');" />
</td>
<td >
<input type="text" name="datETA1044550" size="8" value="" maxlength="8" class="textBox" />
&nbsp;<img id='etaIMG1044550' src="../images/cal.gif" onclick="javascript:displayETACal(this.id, 'datETA1044550', true, '1044550');"
</td>
</tr>
</table>

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > ASP 1.0 - Pass Dynamic Fields & Values To ASP page in Querystring


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap