|
ASP.NET does no such conversion. If you mean you have XML data and want to show it as HTML, an XSLT transform is the best way to do it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Can you please explain how to implement that in webform.
VanithaVasu
|
|
|
|
|
The webform is irrelevant. It shows the HTML. You need to do the XSLT transform in your C# or VB.NET code, it is not related to ASP.NET.
http://www.google.com.au/search?sourceid=navclient&ie=UTF-8&rlz=1T4ADBS_enAU225AU226&q=C%23+XSLT[^]
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi all
I have number 4.63767582045e+005
how can i convert to double number ??
|
|
|
|
|
It is a double, by definition. Try rewording your question, do you mean how do you show it without scientific notation ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All...
We have done a project called e-banking...we are unable to debug it in another machine....It is throwing an exception in web.config file as stated below...
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level...
This error can be caused by a virtual directory not being configured as an application in IIS.
Can any one help us out.... plllllzzzzz
Thanks in advance
Regards
Nanda Kumar
Abhishek
|
|
|
|
|
|
I never heard of that.... Can you show us your code that crash IE while printing? we can test it in our side..
|
|
|
|
|
Here is my code, with the css, it crashes in IE 6
<br />
<br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<br />
<script>var page_load_time_start = new Date();</script><script>var serverLoadTimeInfo ='<a title="Start:12/18/2007 8:38:12 AMEnd:12/18/2007 8:38:12 AM" style="cursor:help">0.0<a>';</script><script>var serverLoadTimeForCalc = parseFloat(0.0);</script><script src='/templates/includes/nav_javascript.js'></script><link rel='stylesheet' href='/Templates/master.css' type='text/css' /><script>email='jim.polewaczyk@philips.com';</script><script>IsDelegate = 'false';</script><script>security='0';</script><script>startPageVar='root';</script><script>serverLoad='12/18/2007 8:38:12 AM';</script><script>nav_flag='true';</script><script>xApp=parseInt('244');</script><script>intelliAccess='0';</script><script>cServer='http://localhost';</script><script src='/templates/includes/lib.js' type='text/javascript'></script><script src='/_includes/cookies.js' type='text/javascript'></script><script src='/business/service_metrics/navigation.js'></script><script src='/Templates/includes/site_data.js' type='text/javascript'></script><script type='text/javascript'>_page.startPage(startPageVar)</script><br />
<br />
<br />
<head id="Head1"><title><br />
SOLAAR<br />
</title><link rel="stylesheet" href="css/style.css" type="text/css" /><br />
<script type="text/javascript"><br />
<br />
</script><br />
<br />
<style type="text/css"><br />
body<br />
{<br />
font-size: 8pt; <br />
max-width:950px;<br />
width:950px;<br />
<br />
}<br />
<br />
.setWidth<br />
{<br />
width:100%;<br />
}<br />
<br />
.breadcrumbs<br />
{<br />
font-size:100%;<br />
<br />
}<br />
.questions<br />
{<br />
margin-top: 10px;<br />
font-size: 100%;<br />
<br />
width: 950px;<br />
max-width:950px;<br />
position: relative;<br />
height: auto;<br />
padding-bottom:5px;<br />
border-bottom:solid 1px;<br />
<br />
}<br />
.pageSettings<br />
{<br />
font-size:100%;<br />
<br />
}<br />
<br />
td label<br />
{<br />
white-space:nowrap;<br />
<br />
}<br />
<br />
<br />
.lastQuestion<br />
{<br />
margin-top: 10px;<br />
font-size: 100%;<br />
<br />
width: 950px;<br />
max-width:950px;<br />
position: relative;<br />
height: auto;<br />
padding-bottom:5px;<br />
<br />
}<br />
<br />
.errorImage<br />
{<br />
vertical-align:top;<br />
width:5%;<br />
display:inline;<br />
}<br />
.whiteBackground<br />
{<br />
background-color:White;<br />
}<br />
<br />
.silverBackground<br />
{<br />
<br />
background-color:Silver;<br />
}<br />
<br />
.gxrquestion<br />
{<br />
display: block;<br />
padding-bottom: 10px;<br />
float:left;<br />
}<br />
<br />
.alternate-question<br />
{<br />
}<br />
<br />
.questionContainer<br />
{<br />
width: 950px;<br />
max-width:950px;<br />
height: auto;<br />
float:left;<br />
min-height:20px;<br />
}<br />
<br />
.answer<br />
{<br />
padding-left: 20px;<br />
}<br />
<br />
fieldset<br />
{<br />
<br />
width: 950px;<br />
max-width:950px;<br />
border-width:0px;<br />
<br />
padding-top:20px;<br />
<br />
}<br />
<br />
.nowrap<br />
{<br />
white-space: nowrap;<br />
}<br />
<br />
.fieldsetQuestion<br />
{<br />
<br />
display: block;<br />
background: #efefef;<br />
float: left;<br />
margin-bottom: 15px;<br />
width: 50%;<br />
border-width: 0px;<br />
}<br />
<br />
<br />
.QuestionWhiteBackGround<br />
{<br />
<br />
display: block;<br />
background: #FFFFFF;<br />
float: left;<br />
margin-bottom: 15px;<br />
width: 50%;<br />
border-width: 0px;<br />
}<br />
<br />
<br />
.clearBoth<br />
{<br />
clear: both;<br />
}<br />
<br />
.legendClass<br />
{<br />
font-weight: bold;<br />
font-size: 100%;<br />
background: #99bdff;<br />
width: 950px;<br />
max-width:950px;<br />
position:relative;<br />
}<br />
<br />
.fieldPicture<br />
{<br />
<br />
float: right;<br />
vertical-align: top;<br />
width: 50%;<br />
height: 100%;<br />
background-color: #ffffff;<br />
text-align: center;<br />
<br />
}<br />
<br />
.fieldButton<br />
{<br />
<br />
float: right;<br />
border-width:0px;<br />
vertical-align: bottom;<br />
width: 50%;<br />
height: 100%;<br />
background-color: #ffffff;<br />
text-align: right;<br />
<br />
<br />
}<br />
<br />
<br />
<br />
.buttonBlock<br />
{<br />
display:inline;<br />
vertical-align:bottom;<br />
padding-right:5px;<br />
}<br />
<br />
.alignImage<br />
{<br />
<br />
}<br />
<br />
.shrinkImageHeight<br />
{<br />
position: relative;<br />
top: 0px;<br />
<br />
}<br />
<br />
.firstImage<br />
{<br />
<br />
<br />
}<br />
<br />
.expandCollapseLink<br />
{<br />
<br />
<br />
<br />
}<br />
<br />
.displayBlock<br />
{<br />
display: block;<br />
}<br />
<br />
.bgblue1<br />
{<br />
background: #99bdff;<br />
}<br />
<br />
.bgblue2<br />
{<br />
background: #d9e6ff;<br />
}<br />
<br />
.bgblue3<br />
{<br />
background: #eef4fc;<br />
}<br />
<br />
.bggrey<br />
{<br />
background: #efefef;<br />
}<br />
<br />
.bgpink1<br />
{<br />
background: #ffe6e7;<br />
}<br />
<br />
#questionsContainer<br />
{<br />
display: inline;<br />
position:relative;<br />
left:15px;<br />
}<br />
#projectInfoContainer<br />
{<br />
display: block;<br />
position:relative;<br />
left:13px;<br />
background: #efefef;<br />
margin-bottom:15px;<br />
}<br />
<br />
#projectManagerInfoContainer<br />
{<br />
display: inline;<br />
position:relative;<br />
left:15px;<br />
}<br />
#OMInfoContainer<br />
{<br />
display: inline;<br />
position:relative;<br />
left:15px;<br />
<br />
}<br />
<br />
#documentHistoryContainer<br />
{<br />
display: block;<br />
position:relative;<br />
left:15px;<br />
padding-bottom:15px;<br />
}<br />
<br />
#OMSpecialistContainer<br />
{<br />
display: inline;<br />
position:relative;<br />
left:15px;<br />
}<br />
<br />
.imgClass<br />
{<br />
border-width: 0px;<br />
margin-left:5px;<br />
vertical-align:middle;<br />
}<br />
<br />
.projectHistoryInfoBlock<br />
{<br />
display:block;<br />
width:950px;<br />
max-width:950px;<br />
padding-bottom:5px;<br />
min-height:20px;<br />
<br />
<br />
}<br />
<br />
<br />
.documentHistoryBlock<br />
{<br />
display:block;<br />
width:950px;<br />
max-width:950px;<br />
padding-bottom:5px;<br />
min-height:20px;<br />
<br />
}<br />
<br />
.setPadding<br />
{<br />
<br />
position:relative;<br />
top:10px; <br />
}<br />
.OMInfoBlock<br />
{<br />
display:block;<br />
width:950px;<br />
max-width:950px;<br />
padding-bottom:5px;<br />
min-height:20px;<br />
<br />
}<br />
<br />
.projectHistoryLineItems<br />
{<br />
display:block;<br />
width:75%;<br />
font-size: 100%;<br />
height: auto;<br />
<br />
<br />
<br />
}<br />
<br />
.OMInfoLineItems<br />
{<br />
display:block;<br />
width:75%;<br />
font-size: 100%;<br />
height: auto;<br />
<br />
<br />
<br />
}<br />
<br />
.projectManagerInfoLineItems<br />
{<br />
display:block;<br />
width:45%;<br />
font-size: 100%;<br />
height: auto;<br />
margin-top:5px;<br />
<br />
<br />
<br />
}<br />
<br />
<br />
<br />
.formLeft<br />
{<br />
<br />
width:55%;<br />
text-align:left;<br />
float:left;<br />
<br />
}<br />
<br />
.bold<br />
{<br />
<br />
font-weight:bold; <br />
}<br />
.greyBackground<br />
{<br />
background: #efefef;<br />
<br />
}<br />
.formRight<br />
{<br />
float:right;<br />
text-align:left;<br />
width:45%;<br />
<br />
<br />
}<br />
<br />
<br />
.error <br />
{<br />
font-weight: bold;<br />
color: #f00;<br />
}<br />
<br />
.errorBox<br />
{<br />
border: solid 1px #000000; <br />
background-color: #E6E6E6;<br />
padding: 1em 1em 1em 1em;<br />
margin-top:5px;<br />
width:950px;<br />
margin-left:5px;<br />
margin-bottom:5px;<br />
}<br />
<br />
.success<br />
{<br />
font-weight: bold;<br />
color: #3c0;<br />
padding: 5px;<br />
}<br />
<br />
.gridmed-footer{<br />
Font-Size: 8pt;<br />
font-family:Verdana, Arial, Helvetica, sans-serif;<br />
font-weight:bold;<br />
text-align:Center;<br />
color:#3D3DB6;<br />
background-color:#E8EBFD;<br />
vertical-align:Middle;<br />
}<br />
<br />
<br />
<br />
<br />
<br />
<br />
.gridmed-header-questionnaire{<br />
Font-Size: 10pt;<br />
font-family:Verdana, Arial, Helvetica, sans-serif;<br />
font-weight:bold;<br />
text-align:Center;<br />
color:#000000;<br />
background-color:#E8EBFD;<br />
vertical-align:Middle;<br />
}<br />
.gridmed-item-questionnaire{<br />
font-size: 10pt;<br />
font-family:Verdana, Arial, Helvetica, sans-serif;<br />
text-align:Left;<br />
color:#000000;<br />
background-color:#F2F2F2;<br />
vertical-align:Middle;<br />
}<br />
<br />
.oneHundredPercent<br />
{<br />
width:100%;<br />
<br />
}<br />
.gridmed-altitem-questionnaire{<br />
Font-Size: 10pt;<br />
font-family:Verdana, Arial, Helvetica, sans-serif;<br />
text-align:Left;<br />
color:Black;<br />
background-color:#E7EFFF;<br />
vertical-align:Middle;<br />
<br />
}<br />
.outputScreenColor<br />
{<br />
background-color:Yellow;<br />
font-weight:bolder;<br />
color:Black;<br />
<br />
<br />
}<br />
.emailMessage<br />
{<br />
background-color:#E7EFFF; <br />
<br />
}<br />
.gridView<br />
{<br />
width:800px;<br />
margin-top:10px;<br />
<br />
}<br />
<br />
.gridmed-selitem-questionnaire{<br />
Font-Size: 10pt;<br />
font-family:Arial;<br />
font-weight:Bold;<br />
text-align:Center;<br />
color:White;<br />
background-color:#9471DE;<br />
vertical-align:Middle;<br />
}<br />
<br />
.gridmed-Litem-questionnaire{<br />
font-size: 10pt;<br />
font-family:Verdana, Arial, Helvetica, sans-serif;<br />
text-align:Left;<br />
color:#3D3DB6;<br />
background-color:#F2F2F2;<br />
vertical-align:Middle;<br />
}<br />
<br />
.gridmed-Laltitem-questionnaire{<br />
Font-Size: 10pt;<br />
font-family:Arial;<br />
text-align:Center;<br />
color:Black;<br />
background-color:#E7EFFF;<br />
vertical-align:Middle;<br />
}<br />
<br />
.displayBlock<br />
{<br />
margin-top:5px;<br />
display:block;<br />
<br />
<br />
}<br />
</style><br />
</head><br />
<body ><br />
<form name="form1" method="post" action="Default2.aspx" id="form1"><br />
<div><br />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTYyMTc3ODExNg9kFgICAw9kFgICAQ9kFgICEQ9kFiACAQ8QZGQWAWZkAgwPEGRkFgFmZAIXDxBkZBYBZmQCIg8QZGQWAQIDZAIkDxBkZBYBAgRkAiYPEGRkFgECBGQCKA8QZGQWAQIDZAIqDxBkZBYBAgNkAiwPEGRkFgFmZAIuDxBkZBYBAgJkAjAPEGRkFgECBWQCMg8QZGQWAQICZAI0DxBkZBYBAgJkAjYPEGRkFgECAmQCOw8QZGQWAWZkAj0PEGRkFgFmZGRd5SDJ+SotoNtvFDz3u2JG4+Pegg==" /><br />
</div><br />
<br />
<div><br />
<br />
<div id="pnlMain" class="pageSettings"><br />
<br />
<div class="breadcrumbs"><br />
<span class="nav2">You are here: <a href="/departmental/index.aspx" class="nav3">Departmental</a><br />
- <a href="/departmental/site_planning/index.aspx" class="nav3">Site Planning</a>-<br />
<a class="nav3" href="/departmental/site_planning/project_info/index.aspx">Project Info</a><br />
- GXR Order Questionnaire </span><br />
</div><br />
<div class="subtitle" style="padding-top:5px;"><br />
GXR Order Questionnaire </div><br />
<div id="errorDiv" class="error"></div><br />
<div class="projectHistoryInfoBlock clearBoth"><br />
<fieldset ><br />
<legend class="legendClass"><a href="javascript:displaydivider('projectInfoContainer','imgProjectInfo');" rel="projectInfoContainer" class="expandCollapseLink"><br />
<img class="imgClass" src="images/collapse.gif" id="imgProjectInfo" /></a> Project<br />
Information </legend><br />
<div id="projectInfoContainer" class="greyBackground setPadding"><br />
<div class="projectHistoryLineItems"><br />
<label class="formLeft bold"><br />
Order Number:<br />
</label><br />
<span id="lblOrderNumber" class="formRight"></span><br />
</div><br />
<div class="projectHistoryLineItems"><br />
<label class="formLeft clearBoth bold"><br />
Site Planning Project Number:<br />
</label><br />
<span id="lblProject" class="formRight clearBoth">Please enter in the project number of your latest drawing.</span><br />
<a id="aProjectPDF" class="formRight clearBoth"></a><br />
</div><br />
<div class="projectHistoryLineItems"><br />
<label class="formLeft clearBoth bold"><br />
Customer Name:<br />
</label><br />
<span id="lblCustomerName" class="formRight clearBoth"></span><br />
</div><br />
<div class="projectHistoryLineItems"><br />
<label class="formLeft clearBoth bold"><br />
Project Manager:<br />
</label><br />
<span id="lblProjectManagerName" class="formRight clearBoth"></span><br />
</div><br />
<div class="projectHistoryLineItems"><br />
<label class="formLeft clearBoth bold"><br />
Project Manager Phone No.:<br />
</label><br />
<span id="lblPMPhoneNo" class="formRight clearBoth"></span><br />
</div><br />
</div><br />
</fieldset><br />
</div><br />
<!--end of project Info Container --><br />
<br />
<div class="questionContainer clearBoth"><br />
<div><br />
<fieldset><br />
<legend class="legendClass"><a href="javascript:displaydivider('questionsContainer','imgOrderQuestionnaire');" rel="questionsContainer" class="expandCollapseLink"><br />
<img class="imgClass" src="images/collapse.gif" id="imgOrderQuestionnaire" /></a><br />
Order Questionnaire <span id="lblVersion"></span></legend><br />
<div id="questionsContainer" disabled="disabled"><br />
<br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<div class="gxrquestion"><br />
<label><br />
1.Separation of Ceiling Rails:</label><br />
<div class="answer"><br />
<table id="rblQuestion_1" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_1_0" type="radio" name="rblQuestion_1" value="0" checked="checked" disabled="disabled" /><label for="rblQuestion_1_0">No</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_1_1" type="radio" name="rblQuestion_1" value="1" disabled="disabled" /><label for="rblQuestion_1_1">Yes (If yes, please explain.)</label></span></td><br />
</tr><br />
</table><br />
<br />
<input name="txtFeet_1" type="text" maxlength="2" disabled="disabled" id="txtFeet_1" style="width:40px;" />'<br />
<input name="txtInches_1" type="text" maxlength="4" disabled="disabled" id="txtInches_1" style="width:60px;" />'' =<br />
<input name="txtMM_1" type="text" maxlength="5" id="txtMM_1" disabled="disabled" style="background-color:Silver;width:80px;" />mm <br />
<br />
</div><br />
</div><br />
<div class="gxrquestion"><br />
<label class="displayBlock"><br />
2.Reduction of Rails (Ceiling CS Rails CS2/4):</label><br />
<label><br />
(Default rail length: 4300 mm)</label><br />
<div class="answer"><br />
<table id="rblQuestion_2" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_2_0" type="radio" name="rblQuestion_2" value="0" checked="checked" disabled="disabled" /><label for="rblQuestion_2_0">No</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_2_1" type="radio" name="rblQuestion_2" value="1" disabled="disabled" /><label for="rblQuestion_2_1">Yes (If yes, please explain.)</label></span></td><br />
</tr><br />
</table><label class="displayBlock">Reduction Amount (mm):</label><br />
<br />
<input name="txtFeet_2" type="text" maxlength="2" disabled="disabled" id="txtFeet_2" style="width:40px;" />'<br />
<input name="txtInches_2" type="text" maxlength="4" disabled="disabled" id="txtInches_2" style="width:60px;" />'' =<br />
<input name="txtMM_2" type="text" maxlength="5" id="txtMM_2" disabled="disabled" style="background-color:Silver;width:80px;" />mm <br />
<br />
</div><br />
</div><br />
<div class="gxrquestion"><br />
<label class="displayBlock"><br />
3.Reduction of Rails (longitudinal carriage CS2/4):</label><br />
<label class="displayBlock"><br />
CS2: Maximum 600mm (100mm Rear, 500mm Front)</label><br />
<label><br />
CS4: Maximum 1400mm (500mm Rear, 900mm Front)</label><br />
<div class="answer"><br />
<table id="rblQuestion_3" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_3_0" type="radio" name="rblQuestion_3" value="0" checked="checked" disabled="disabled" /><label for="rblQuestion_3_0">No</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_3_1" type="radio" name="rblQuestion_3" value="1" disabled="disabled" /><label for="rblQuestion_3_1">Yes (If yes, please explain.)</label></span></td><br />
</tr><br />
</table><label class="displayBlock">Reduction Amount (mm):</label><br />
<br />
<input name="txtFeet_3" type="text" maxlength="2" disabled="disabled" id="txtFeet_3" style="width:40px;" />'<br />
<input name="txtInches_3" type="text" maxlength="4" disabled="disabled" id="txtInches_3" style="width:60px;" />'' =<br />
<input name="txtMM_3" type="text" maxlength="5" id="txtMM_3" disabled="disabled" style="background-color:Silver;width:80px;" />mm <br />
<br />
</div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture"><br />
<img style="display: block;" class="alignImage firstImage" src="images\bucky_ceiling.jpg"><br />
<br />
</div><br />
</div><br />
<br />
<div class="questions clearBoth"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
4.FRQ3110 Ceiling Height:</label><br />
<div class="answer"><br />
<table id="rblQuestion_4" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_4_0" type="radio" name="rblQuestion_4" value="0" disabled="disabled" /><label for="rblQuestion_4_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_4_1" type="radio" name="rblQuestion_4" value="1" disabled="disabled" /><label for="rblQuestion_4_1">NRDQ096 (Unknown)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_4_2" type="radio" name="rblQuestion_4" value="2" disabled="disabled" /><label for="rblQuestion_4_2">NRDQ022 (Ceiling height more than 3m (Tube arm down.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_4_3" type="radio" name="rblQuestion_4" value="3" checked="checked" disabled="disabled" /><label for="rblQuestion_4_3">NRDQ021 (Normal Ceiling Height (Tube arm up.))</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
<img style="display: block; position: relative;" class="alignImage firstImage"<br />
src="images\reduction_rails.gif"><br />
</div><br />
</div><br />
<div class="questions clearBoth"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
5.FRQ3121 Cable generator(ME) - ceiling(MU):</label><br />
<div class="answer"><br />
<table id="rblQuestion_5" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_5_0" type="radio" name="rblQuestion_5" value="0" disabled="disabled" /><label for="rblQuestion_5_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_5_1" type="radio" name="rblQuestion_5" value="1" disabled="disabled" /><label for="rblQuestion_5_1">NRDQ099 (Unknown)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_5_2" type="radio" name="rblQuestion_5" value="2" disabled="disabled" /><label for="rblQuestion_5_2">NRDQ033 (Length, 10m (32.8 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_5_3" type="radio" name="rblQuestion_5" value="3" disabled="disabled" /><label for="rblQuestion_5_3">NRDQ034 (Length, 12m (39.4 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_5_4" type="radio" name="rblQuestion_5" value="4" checked="checked" disabled="disabled" /><label for="rblQuestion_5_4">NRDQ035 (Length, 14m (45.9 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_5_5" type="radio" name="rblQuestion_5" value="5" disabled="disabled" /><label for="rblQuestion_5_5">NRDQ036 (Length, 30m (98.4 ft.) (special version))</label></span></td><br />
</tr><br />
</table><br />
</div><br />
</div><br />
<div class="gxrquestion"><br />
<label><br />
6.FRQ3101 Cable generator(ME) - Operating Panel (PBC):</label><br />
<div class="answer"><br />
<table id="rblQuestion_6" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_6_0" type="radio" name="rblQuestion_6" value="0" disabled="disabled" /><label for="rblQuestion_6_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_6_1" type="radio" name="rblQuestion_6" value="1" disabled="disabled" /><label for="rblQuestion_6_1">NRDQ095 (Unknown)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_6_2" type="radio" name="rblQuestion_6" value="2" disabled="disabled" /><label for="rblQuestion_6_2">NRDQ005 (Length, 10m (32.8 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_6_3" type="radio" name="rblQuestion_6" value="3" disabled="disabled" /><label for="rblQuestion_6_3">NRDQ006 (Length, 20m (65.6 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_6_4" type="radio" name="rblQuestion_6" value="4" checked="checked" disabled="disabled" /><label for="rblQuestion_6_4">NRDQ007 (Length, 30m (98.4 ft.))</label></span></td><br />
</tr><br />
</table><br />
</div><br />
</div><br />
<div class="gxrquestion"><br />
<label><br />
7.FRQ3120 Cable generator(ME) - table (MS):</label><br />
<div class="answer"><br />
<table id="rblQuestion_7" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_7_0" type="radio" name="rblQuestion_7" value="0" disabled="disabled" /><label for="rblQuestion_7_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_7_1" type="radio" name="rblQuestion_7" value="1" disabled="disabled" /><label for="rblQuestion_7_1">NRDQ098 (Unknown)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_7_2" type="radio" name="rblQuestion_7" value="2" disabled="disabled" /><label for="rblQuestion_7_2">NRDQ083 (Length, 6m (19.7 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_7_3" type="radio" name="rblQuestion_7" value="3" checked="checked" disabled="disabled" /><label for="rblQuestion_7_3">NRDQ084 (Length, 10m (32.8 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_7_4" type="radio" name="rblQuestion_7" value="4" disabled="disabled" /><label for="rblQuestion_7_4">NRDQ085 (Length, 20m (65.6 ft.))</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<div class="gxrquestion"><br />
<label><br />
8.FRQ3122 Cable generator(ME) - wallstand (BVS):</label><br />
<div class="answer"><br />
<table id="rblQuestion_8" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_8_0" type="radio" name="rblQuestion_8" value="0" disabled="disabled" /><label for="rblQuestion_8_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_8_1" type="radio" name="rblQuestion_8" value="1" disabled="disabled" /><label for="rblQuestion_8_1">NRDQ100 (Unknown)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_8_2" type="radio" name="rblQuestion_8" value="2" disabled="disabled" /><label for="rblQuestion_8_2">NRDQ076 (Length, 14m (45.9 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_8_3" type="radio" name="rblQuestion_8" value="3" checked="checked" disabled="disabled" /><label for="rblQuestion_8_3">NRDQ077 (Length, 18m (59 ft.))</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_8_4" type="radio" name="rblQuestion_8" value="4" disabled="disabled" /><label for="rblQuestion_8_4">NRDQ079 (Length, 22m (72.2 ft.))</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture"><br />
<img class="alignImage shrinkImageHeight" src="images\CablingGenerator.gif"><br />
</div><br />
</div><br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
9.FRQ3114 Cable length for Diamentor:</label><br />
<div class="answer"><br />
<table id="rblQuestion_9" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_9_0" type="radio" name="rblQuestion_9" value="0" checked="checked" disabled="disabled" /><label for="rblQuestion_9_0">None</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
</div><br />
</div><br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
10.FRQ3154 Grids in table TH2/TF:</label><br />
<div class="answer"><br />
<table id="rblQuestion_10" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_10_0" type="radio" name="rblQuestion_10" value="0" disabled="disabled" /><label for="rblQuestion_10_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_10_1" type="radio" name="rblQuestion_10" value="1" disabled="disabled" /><label for="rblQuestion_10_1">NRDQ061 grid 36/12/110</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_10_2" type="radio" name="rblQuestion_10" value="2" checked="checked" disabled="disabled" /><label for="rblQuestion_10_2">NRDQ062 grid 36/8/110</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
</div><br />
</div><br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
11.FRQ3105 Grids in Bucky Diagnost VS wallstand; VE/VT ACL4:</label><br />
<div class="answer"><br />
<table id="rblQuestion_11" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_11_0" type="radio" name="rblQuestion_11" value="0" disabled="disabled" /><label for="rblQuestion_11_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_11_1" type="radio" name="rblQuestion_11" value="1" disabled="disabled" /><label for="rblQuestion_11_1">NRDQ070 grid 36/12/140</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_11_2" type="radio" name="rblQuestion_11" value="2" disabled="disabled" /><label for="rblQuestion_11_2">NRDQ071 grid 36/12/110</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_11_3" type="radio" name="rblQuestion_11" value="3" disabled="disabled" /><label for="rblQuestion_11_3">NRDQ072 grid 36/12/180</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_11_4" type="radio" name="rblQuestion_11" value="4" disabled="disabled" /><label for="rblQuestion_11_4">NRDQ073 grid 36/8/110</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_11_5" type="radio" name="rblQuestion_11" value="5" checked="checked" disabled="disabled" /><label for="rblQuestion_11_5">NRDQ074 grid 36/8/140</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
</div><br />
</div><br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
12.FRQ3109 Operation side of wallstand (BVS):</label><br />
<div class="answer"><br />
<table id="rblQuestion_12" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_12_0" type="radio" name="rblQuestion_12" value="0" disabled="disabled" /><label for="rblQuestion_12_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_12_1" type="radio" name="rblQuestion_12" value="1" disabled="disabled" /><label for="rblQuestion_12_1">NRDQ009 Operation from right side (b)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_12_2" type="radio" name="rblQuestion_12" value="2" checked="checked" disabled="disabled" /><label for="rblQuestion_12_2">NRDQ008 Operation from left side (a)</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
<img style="width: 50%;" class="alignImage" src="images\BVS.gif"><br />
</div><br />
</div><br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
13.FRQ3151 Orientation of wallstand (BVS) filmplane with respect to the table (MS):</label><br />
<div class="answer"><br />
<table id="rblQuestion_13" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_13_0" type="radio" name="rblQuestion_13" value="0" disabled="disabled" /><label for="rblQuestion_13_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_13_1" type="radio" name="rblQuestion_13" value="1" disabled="disabled" /><label for="rblQuestion_13_1">NRDQ011 Transverse to tabletop (b)</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_13_2" type="radio" name="rblQuestion_13" value="2" checked="checked" disabled="disabled" /><label for="rblQuestion_13_2">NRDQ010 Parallel to tabletop (a)</label></span></td><br />
</tr><br />
</table></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
<img style="width: 50%;" class="alignImage" src="images\BVS3.gif"><br />
</div><br />
</div><br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
14.FMS0003 - Mains Voltage:</label><br />
<div class="answer"><br />
<table id="rblQuestion_14" border="0"><br />
<tr><br />
<td><span disabled="disabled"><input id="rblQuestion_14_0" type="radio" name="rblQuestion_14" value="0" disabled="disabled" /><label for="rblQuestion_14_0">None</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_14_1" type="radio" name="rblQuestion_14" value="1" disabled="disabled" /><label for="rblQuestion_14_1">NMSA609 190 - 360 V</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_14_2" type="radio" name="rblQuestion_14" value="2" checked="checked" disabled="disabled" /><label for="rblQuestion_14_2">NMSA604 415 - 480 V</label></span></td><br />
</tr><tr><br />
<td><span disabled="disabled"><input id="rblQuestion_14_3" type="radio" name="rblQuestion_14" value="3" disabled="disabled" /><label for="rblQuestion_14_3">NMSA611 Other (if other, please explain.)</label></span></td><br />
</tr><br />
</table><br />
<textarea name="txtQuestion_14" rows="2" cols="20" disabled="disabled" id="txtQuestion_14" style="height:50px;width:300px;"></textarea></div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
</div><br />
</div><br />
<br />
<br />
<br />
<br />
<div class="questions"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
15.FMS0001 Country of Delivery:</label><br />
<div class="answer"><br />
<select name="ddlCountry" disabled="disabled" id="ddlCountry"><br />
<option selected="selected" value="NMSA018 (United States of America)">NMSA018 (United States of America)</option><br />
<option value="Canada">Canada</option><br />
<br />
</select><br />
</div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
</div><br />
</div><br />
<br />
<br />
<br />
<div class="lastQuestion"><br />
<div class="fieldsetQuestion"><br />
<br />
<div class="gxrquestion"><br />
<label><br />
16.FMS0002 Language of Usage:</label><br />
<div class="answer"><br />
<select name="ddlLanguage" disabled="disabled" id="ddlLanguage"><br />
<option selected="selected" value="English">English</option><br />
<br />
</select><br />
</div><br />
</div><br />
<br />
</div><br />
<div class="fieldPicture clearBoth"><br />
</div><br />
</div><br />
<br />
<br />
<br />
<br />
<div class="lastQuestion"><br />
<div id="divLast" class="QuestionWhiteBackGround"><br />
<div class="QuestionWhiteBackGround"><br />
<div class="gxrquestion"><br />
<br />
<label><br />
<br />
</label><br />
<div class="answer "><br />
<br />
</div><br />
<br />
</div><br />
</div><br />
</div><br />
<div class="fieldButton clearBoth" style="display:none;" ><br />
<div class="buttonBlock"><br />
<input type="submit" name="btnSave" value="Save" disabled="disabled" id="btnSave" /></div><br />
<div class="buttonBlock"><br />
<input type="submit" name="btnReset" value="Reset" disabled="disabled" id="btnReset" /></div><br />
<div class="buttonBlock"><br />
<input type="submit" name="btnSubmitToOMG" value="Submit to OMG" disabled="disabled" id="btnSubmitToOMG" /><br />
</div><br />
</div><br />
</div><br />
<br />
<br />
<br />
</div><br />
</fieldset><br />
</div><br />
</div><br />
<!-- end of question container --><br />
<br />
</div><br />
</div><br />
<br />
<div><br />
<br />
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWUgLC0JQyAq+3vnICsLe+cgK/2JScDAKcm62KDwLcgPSNBQLc496TCwLQt75yAs+3vnICwNiUnAwCmZutig8C9+mRow8Ci6iF1AwC0be+cgLOt75yAsHYlJwMApqbrYoPApLTr7gJAqaRo+kGAtK3vnICzbe+cgLMt75yAs+3vnICwtiUnAwC07e+cgLMt75yAs23vnICzre+cgLPt75yAsi3vnICw9iUnAwC1Le+cgLLt75yAsq3vnICybe+cgLIt75yAsTYlJwMAtW3vnICyre+cgLLt75yAsi3vnICybe+cgLF2JScDAKmt75yArm3vnICuLe+cgK7t75yArq3vnICttiUnAwCp7e+cgK32JScDAKvt/50ArC3/nQCsbf+dAK/2NSaDAKvt/J0ArC38nQCsbfydAKyt/J0ArO38nQCtLfydAK/2NiaDAKvt+Z0ArC35nQCsbfmdAK/2MyaDAKvt/p0ArC3+nQCsbf6dAK/2NCaDAKvt+50ArC37nQCsbfudAKyt+50Ar/YxJoMAoeG3bkPAtPJh+UHAteD9RYC/tD4ng0CnLe4kgwCoLew/QoCpp2FqAVL4LkvaWbuT9KCr2wbsx0RMf+xFg==" /><br />
</div></form><br />
</body><br />
</html><br />
<span class='p-footer'><hr/></span><div id='page_footer' align='center' style='font-size:10px;color:#666666;size:14px;'><div>Owner: <a target='_blank' style='font-size:10px;color:#666666;size:14px;cursor:hand;' href='http:
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
|
|
|
|
|
I don't think this crash is caused by DIV only. there are a lot of things.
1) You shouldn't put <span> after </html>.
2) You shouldn't put the script tag between html tag and head tag.
3) The best way is that you should validate the html page with XHTML validator or other validators.
I removed the span block after /html, script blocks and CSS block then it works without crashing.. so I believe that DIV might not be a problem..
|
|
|
|
|
Hi Michael,
I found out the problem actually. I am not sure why this caused the problem in my code, in the divs with the class fieldsetQuestion and then fieldsetPicture, I had them both each at width:50%, I changed them to below 50% and now it doesnt crash anymore. Thanks a lot for your help though!
|
|
|
|
|
I am currently using RSS.NET to complete a project. Does anyone of you know if there are RSS feed out there that contain geolocation for each entry of the feed? like GEORSS? I found a lot of information about it, but I could find any news feed that has it.
Thanks ahead of time
T
|
|
|
|
|
Can anyone lend me a hand here? Thanks
T
|
|
|
|
|
avengerzx9 wrote: oes anyone of you know if there are RSS feed out there that contain geolocation for each entry of the feed? like GEORSS?
AFAIK, the most of RSS doesn't have this because the most of blogs/sites used to use English version only.. I heard that Flickr and Google has GEORSS.. so, you can find out their feeds.
|
|
|
|
|
Hi I have 3 level datagrid.
dg1
dg2
dg3
I am having problem firing event from dg2 to dg3. I have a function in dg2 for itemcommand which should rebind the data in dg3 but its not happening so upto dg1 and dg2 is fine. could someone help me resolve it. I think i need to handle postback events to make it work but not sure how in below code.
Hi!
I am trying to display a three level datagrid drill down. dont know what i am doing wrong. its not working on the third drill down as its not calling itemcommand event on the second datagrid.
also, there is a massive amout of text inviewstate. I want an efficient drill down. how could this be achieved. below are my codes for readability. please someone point me to correct direction.
aspx
&lt;form id="Form1" method="post" runat="server"&gt;
&lt;asp:DataGrid id="gvPropertyAssetCapexSummary" DataKeyField="buildingcomponentid" runat="server" Width="472px" BorderColor="Tan" BorderWidth="1px" BackColor="LightGoldenrodYellow" CellPadding="2" GridLines="None" ForeColor="Black" AutoGenerateColumns="False"&gt;
&lt;SelectedItemStyle ForeColor="GhostWhite" BackColor="DarkSlateBlue" &gt;&lt;/SelectedItemStyle&gt;
&lt;AlternatingItemStyle BackColor="PaleGoldenrod"&gt;&lt;/AlternatingItemStyle&gt;
&lt;HeaderStyle Font-Bold="True" BackColor="Tan" Font-Names="verdana" Font-Size="8pt"&gt;&lt;/HeaderStyle&gt;
&lt;ItemStyle Font-Names="verdana" Font-Size="8pt"/&gt;
&lt;FooterStyle BackColor="Tan"&gt;&lt;/FooterStyle&gt;
&lt;Columns&gt;
&lt;asp:BoundColumn DataField="buildingcomponentid" HeaderText="buildingcomponentid" Visible="false"&gt;&lt;/asp:BoundColumn&gt;
&lt;asp:TemplateColumn&gt;
&lt;HeaderStyle Width="9px"&gt;&lt;/HeaderStyle&gt;
&lt;ItemTemplate&gt;
&lt;asp:ImageButton id="btnExpandJob" runat="server" Width="9px" Height="9px" ImageUrl="/Images/Plus.gif" CommandName="ExpandJob"&gt;&lt;/asp:ImageButton&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;
&lt;asp:TemplateColumn&gt;
&lt;ItemTemplate&gt;
&lt;asp:PlaceHolder ID="ExpandJob" Runat="server" Visible="False"&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td &gt;&amp;nbsp;&lt;/td&gt;
&lt;td colspan="3"&gt;
&lt;asp:DataGrid id="gvPropertyAssetCapexJob" DataKeyField="CapExJobNo" runat="server" Width="100%" BorderColor="Tan" BorderWidth="1px" BackColor="LightGoldenrodYellow" CellPadding="2" GridLines="None" ForeColor="Black" AutoGenerateColumns="False"&gt;
&lt;SelectedItemStyle ForeColor="GhostWhite" BackColor="DarkSlateBlue"&gt;&lt;/SelectedItemStyle&gt;
&lt;AlternatingItemStyle BackColor="PaleGoldenrod"&gt;&lt;/AlternatingItemStyle&gt;
&lt;HeaderStyle Font-Bold="True" BackColor="Tan" Font-Names="verdana" Font-Size="8pt"&gt;&lt;/HeaderStyle&gt;
&lt;ItemStyle Font-Names="verdana" Font-Size="8pt"/&gt;
&lt;FooterStyle BackColor="Tan"&gt;&lt;/FooterStyle&gt;
&lt;Columns&gt;
&lt;asp:BoundColumn DataField="CapExJobNo" HeaderText="CapExJobNo" Visible="false"&gt;&lt;/asp:BoundColumn&gt;
&lt;asp:TemplateColumn&gt;
&lt;HeaderStyle Width="9px"&gt;&lt;/HeaderStyle&gt;
&lt;ItemTemplate&gt;
&lt;asp:ImageButton id="btnExpandJobDetail" runat="server" Width="9px" Height="9px" ImageUrl="/Images/Plus.gif" CommandName="ExpandJobDetail"&gt;&lt;/asp:ImageButton&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;
&lt;asp:TemplateColumn&gt;
&lt;ItemTemplate&gt;
&lt;asp:PlaceHolder ID="ExpandJobDetail" Runat="server" Visible="False"&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td colspan="3"&gt;
&lt;asp:DataGrid DataSource='&lt;%# getJobDetail(DataBinder.Eval(Container, "DataItem.CapExJobNo")) %&gt;' id="gvPropertyAssetCapexJobDetail" runat="server" Width="100%" BorderColor="Tan" BorderWidth="1px" BackColor="LightGoldenrodYellow" CellPadding="2" GridLines="None" ForeColor="Black" AutoGenerateColumns="False"&gt;
&lt;SelectedItemStyle ForeColor="GhostWhite" BackColor="DarkSlateBlue"&gt;&lt;/SelectedItemStyle&gt;
&lt;AlternatingItemStyle BackColor="PaleGoldenrod"&gt;&lt;/AlternatingItemStyle&gt;
&lt;HeaderStyle Font-Bold="True" BackColor="Tan"&gt;&lt;/HeaderStyle&gt;
&lt;FooterStyle BackColor="Tan"&gt;&lt;/FooterStyle&gt;
&lt;Columns&gt;
&lt;asp:BoundColumn DataField="AssetDescription" HeaderText="Asset Description"&gt;&lt;/asp:BoundColumn&gt;
&lt;/Columns&gt;
&lt;PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"&gt;&lt;/PagerStyle&gt;
&lt;/asp:DataGrid&gt;
&lt;/asp:PlaceHolder&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;
&lt;/Columns&gt;
&lt;PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"&gt;&lt;/PagerStyle&gt;
&lt;/asp:DataGrid&gt;
&lt;/asp:PlaceHolder&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;
&lt;/Columns&gt;
&lt;PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"&gt;&lt;/PagerStyle&gt;
&lt;/asp:DataGrid&gt;
vb
Public Partial Class testfunc
Inherits System.Web.UI.Page
Private domainid As Integer
Private locationid As Integer
Private buildingcomponentid As Integer
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Dim mydal As New clsDAL
domainid = 1204111332
locationid = 27195
buildingcomponentid = 0
If Not IsPostBack Then
Try
Dim dtPropertyCapex As DataSet = mydal.getAssetsCapexByProperty(domainid, buildingcomponentid, locationid)
If Not dtPropertyCapex Is Nothing Then
gvPropertyAssetCapexSummary.DataSource = dtPropertyCapex
gvPropertyAssetCapexSummary.DataBind()
End If
Catch ee As Exception
mydal.UpdateErrorLog(ee.Message, ee.TargetSite.Name.ToString())
Throw ee
End Try
Try
Catch ex As Exception
End Try
End If
End Sub
Private Sub gvPropertyAssetCapexSummary_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles gvPropertyAssetCapexSummary.ItemCommand
Select Case e.CommandName
Case "ExpandJob"
Dim img As ImageButton
img = e.Item.Cells(1).FindControl("btnExpandJob")
If img.ImageUrl = "/Images/Plus.gif" Then
img.ImageUrl = "/Images/Minus.gif"
Else
img.ImageUrl = "/Images/Plus.gif"
End If
Dim exp As PlaceHolder
exp = e.Item.Cells(1).FindControl("ExpandJob")
Dim dgjob As DataGrid
dgjob = CType(e.Item.FindControl("gvPropertyAssetCapexJob"), DataGrid)
If (Not dgjob Is Nothing) Then
dgjob.DataSource = getJob(e.Item.Cells(0).Text)
dgjob.DataBind()
End If
exp.Visible = Not exp.Visible
End Select
End Sub
Public Function getJob(ByVal BCId As Integer) As DataSet
Dim myDal As New clsDAL
Dim dsPropertyAssetCapexSummary As DataSet
domainid = 1204111332
locationid = 27195
dsPropertyAssetCapexSummary = myDal.getCapitalExpenditureJob(domainid, BCId, locationid)
dsPropertyAssetCapexSummary = dsPropertyAssetCapexSummary
Return dsPropertyAssetCapexSummary
End Function
Private Sub gvPropertyAssetCapexJob_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs)
Select Case e.CommandName
Case "ExpandJobDetail"
Dim img As ImageButton
img = e.Item.Cells(1).FindControl("btnExpandJobDetail")
If img.ImageUrl = "/Images/Plus.gif" Then
img.ImageUrl = "/Images/Minus.gif"
Else
img.ImageUrl = "/Images/Plus.gif"
End If
Dim exp As PlaceHolder
exp = e.Item.Cells(1).FindControl("ExpandJobDetail")
Dim dgjobdetail As DataGrid
dgjobdetail = CType(e.Item.FindControl("gvPropertyAssetCapexJob"), DataGrid)
If (Not dgjobdetail Is Nothing) Then
dgjobdetail.DataSource = getJobDetail(e.Item.Cells(0).Text)
dgjobdetail.DataBind()
End If
exp.Visible = Not exp.Visible
End Select
End Sub
Public Function getJobDetail(ByVal CapexJObNo As Integer) As DataSet
Dim myDal As New clsDAL
Dim dsPropertyAssetCapexSummary As DataSet
domainid = 1204111332
locationid = 27195
buildingcomponentid = 0
dsPropertyAssetCapexSummary = myDal.getCapitalExpenditureJobDetail(domainid, buildingcomponentid, locationid, CapexJObNo)
Return dsPropertyAssetCapexSummary
End Function
End Class
thanks in advance.
|
|
|
|
|
whats the nature of difficulty of my problem I posted every where no one is answering.
|
|
|
|
|
Maybe no one knows or wants to bother reading through all that code.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I just added that code for reference. isnt it post clear? I want to have a three level drill down that is made up of 3 datagrids. My problem is i cant bind the third grid based on the postback of second grid but i can successfully bind second grid based on postback of first datagrid.
can you please help?
|
|
|
|
|
Hi I am building a web application which will have up to 20 pages/categories of product, now instead of creating a page for each page, i would like to create a generic page which would do the bulk of the work for me, the page would have an image relating to the category and an overview of the category, all this will be coming from the database. Can i achieve this and if so please give me a few tips,
|
|
|
|
|
pmillio wrote: Can i achieve this and if so please give me a few tips,
I think you can use GridView, Repeater or Datalist with paging for that.
|
|
|
|
|
Good day!
I've got an issue when viewing some asp.net pages in internet explorer 7. The i've got some 3 dropdowns that capture a date (month, day, year). Problem is that IE7 displays this page with the dropdowns looking like their height was set to 0.5px. Quite an annoying experience, such that you cant even find the down arrow to click on that opens the dropdown.
However, some other pages with databound dropdowns are displayed normally.
How do I get the former drop downs to behave themselves. Is it a meta tag or what?
Pls assist me.
Live in fragments no longer. Only connect.
modified on Wednesday, December 19, 2007 7:10:23 AM
|
|
|
|
|
I think you might use some global CSS for dropdown or font.. If you are familiar with Firebug, you can check which CSS is styling to which element in very easy way.
|
|
|
|
|
when im running my page im getting the message below
The report you requested requires further information.<br />
<br />
--------------------------------------------------------------------------------<br />
ds1 <br />
Server name: <br />
Database name: <br />
User name: <br />
Password: <br />
Use Integrated Security
** im using DataSet to fill report
Sarfarj Ahmed
|
|
|
|
|
|
Is is somehow possible to add a script using UpdatePanel?
My problem is that I have a DataGrid containg 2 couloms with 1 TextBox in each.
On the first TextBox there is an OnTextChangeEvent with an AutoPostBack="true",
and in this function I add scripts to set focus, and select the text on the next
TextBox as in:
private void OnSubscriptionFromValueChanged(object sender, System.EventArgs e)<br />
{<br />
TextBox tb = (TextBox)sender;<br />
DataGridItem dgi = (DataGridItem)tb.Parent.Parent;<br />
TextBox tbToFocus = (TextBox)dgi.FindControl("tbToValue");<br />
Page.ClientScript.RegisterStartupScript(GetType(), "focus", "<script>document.getElementById('" + tbToFocus.UniqueID + "').focus();</script>");<br />
Page.ClientScript.RegisterStartupScript(GetType(), "select", <script>document.getElementById('" + tbToFocus.UniqueID + "').select();</script>");<br />
..<br />
...<br />
.... <br />
}
This works fine.
But then I added an UpdatePanel around the DataGrid, as in
<br />
asp:UpdatePanel ID="upSubscription" runat="server"> <br />
<ContentTemplate> <br />
<asp:datagrid id="dgSubscription" runat="server" CssClass="grid" AllowPaging="False" CellPadding="0"<br />
GridLines="Vertical" AutoGenerateColumns="False" ShowFooter="true" OnItemCreated="dgSubscription_ItemCreated"><br />
asp:TemplateColumn HeaderText="From value" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="150px"><br />
ItemTemplate><br />
asp:TextBox id="tbFromValue" runat="server" AutoPostBack="true" CssClass="tbStyle0" Text='<%#DataBinder.Eval(Container.DataItem, "decFromValue").ToString()%>'> <br />
</asp:TextBox><br />
/ItemTemplate><br />
/asp:TemplateColumn><br />
<asp:TemplateColumn HeaderText="To value" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="150px"><br />
ItemTemplate><br />
asp:TextBox id="tbToValue" runat="server" AutoPostBack="true" CssClass="tbStyle0" Text='<%#DataBinder.Eval(Container.DataItem, "decToValue").ToString()%>'> <br />
</asp:TextBox> <br />
</ItemTemplate><br />
<br />
/asp:TemplateColumn><br />
asp:datagrid><br />
/ContentTemplate><br />
/asp:UpdatePanel> <br />
Now the focus and the select is lost, since the page only updated the DataGrid, and the
Page.ClientScript.RegisterStartupScript(GetType(), "focus", "&lt;script&gt;document.getElementById('" + tbToFocus.UniqueID + "').focus();&lt;/script&gt;");<br />
Page.ClientScript.RegisterStartupScript(GetType(), "select", "&lt;script&gt;document.getElementById('" + tbToFocus.UniqueID + "').select();&lt;/script&gt;");<br /> wasn't reggisterd at the Page.
Does anyone know a way around this?
Like creating a ScriptManager inside a UpdatePanel (thus that wan't work, as the ScriptManger has to be before a
control that uses scrips). I'm usint .Net 2.0 in Visual Studio 2005 enviroment.
Thanks
Thomas
|
|
|
|
|