|
hi all,
I am developing an exam web page, i have a datagrid control with 3 pages. The grid consists of combobox template column of values "yes" or "no". if it is selected"yes" score is 4 if no score is 2, i need to get the total of the score of the 3 pages at once.
ho do i make it work.
Regards.
|
|
|
|
|
If you need to compute the total score for all records, you need to track the state of each record independantly of the grid. If your just storing the information only in the grid, it will be destroyed whenever you redraw it. If you are data binging, this should be relatively strait forward. Whenever the user changes the page, just update the data source the grid is bound to for the currently visible rows before rebinding.
|
|
|
|
|
On press of enter key in multiline text box, cursor doesn’t go to the next line.This problem is with IE and Safari.
Please let me know if there is any solution for this problem
|
|
|
|
|
|
I’m trying to have focus on the multiline text box at the page load by using following javascript code
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "focusLoad", "<script language='javascript'>var control=document.getElementById('" + txtField.ClientID + "');if(control!=null)control.focus();</script>");
But some how the focus is not there in the textbox (cursor is not visible and if tried to type directly on page laod without clicking with mosue on the textbox its not happenening).
Please suggest some solution for this problem.
|
|
|
|
|
You can set defaultfocus[^] Attribute on form.
e.g.
<form id="Form1" defaultfocus="TextBox1" runat="server"></form>
Be careful, there is no Undo Button(Ctrl+Z) in life.
|
|
|
|
|
Hi,
I'am french developper (so sorry for my english), and I don't find a solution for my trouble :
I have a table wich can show for each rows a detail row, placed under the main row. But when this detail row is show, the column size is changed, I don't know why.
Here is a code test wich show the trouble, two same table, and you can see under IE6 or IE7 that the two table doesn't have the same columns size, and when you click on the detail link, the columns size back to normal size.
<html>
<head>
<title>Probleme de decalage des colonnes après affichage des détails</title>
<style type="text/css">
body
{
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
color: Black;
background-color: White;
}
.titreSection
{
font-weight: bold;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
color: #1053bb;
margin-top: 20px;
margin-bottom: 5px;
}
.grid-sollicitation
{
width:100%;
vertical-align:middle;
border-color:#84AFDF;
border-collapse:collapse;
}
.grid-sollicitation TR,
.grid-sollicitation TD
{
border-color:#84AFDF;
}
.grid-sollicitation-header
{
background-color:#84AFDF;
font-size:11px;
font-weight:bold;
color:#000000;
height:30px;
}
.grid-sollicitation-row
{
height:20px;
}
.grid-sollicitation .Id
{
text-align:center;
width:30px;
}
.grid-sollicitation .IdHeader
{
width:30px;
}
.grid-sollicitation .Estampille
{
text-align:center;
width:50px;
}
.grid-sollicitation .EstampilleHeader
{
width:50px;
}
.grid-sollicitation .Date
{
text-align:center;
width:70px;
}
.grid-sollicitation .DateHeader
{
width:70px;
}
.grid-sollicitation .Libelle
{
padding-left: 10px;
width:385px;
font-weight:bold;
}
.grid-sollicitation .LibelleHeader
{
width:385px;
}
.grid-sollicitation .Details
{
text-align:center;
width:50px;
}
.grid-sollicitation .DetailsHeader
{
width:50px;
}
.grid-sollicitation .Tarification
{
text-align:center;
width:100px;
}
.grid-sollicitation .TarificationHeader
{
width:100px;
}
.grid-sollicitation .Souscription
{
text-align:center;
width:80px;
}
.grid-sollicitation .Souscription
{
width:80px;
}
.grid-sollicitation .Statut
{
text-align:center;
color:#1053BB;
font-weight:bold;
width:100px;
}
.grid-sollicitation .StatutHeader
{
width:100px;
}
.grid-sollicitation .Supprimer
{
text-align:center;
width:30px;
}
.grid-sollicitation .SupprimerHeader
{
width:30px;
}
.panelDetails
{
margin:10px;
}
</style>
<script type="text/javascript" language="javascript">
function displayElement(id)
{
elem = document.getElementById(id);
if(elem.style.display == "")
elem.style.display = "none";
else
elem.style.display = "";
}
</script>
</head>
<body>
<div>
<p class="titreSection">Tableau 1</p>
<div>
<table class="grid-sollicitation" cellspacing="0" rules="all" border="1" style="border-collapse:collapse; width: 600px;">
<tr class="grid-sollicitation-header">
<th scope="col">Date</th>
<th scope="col" abbr="Libelle">Thème</th>
<th scope="col">Etat</th>
<th scope="col"> </th>
</tr>
<tr class="grid-sollicitation-row">
<td class="Date">info{1,1}</td>
<td class="Libelle"><a href="javascript:displayElement('trDetails_01');">info{1,2}</a></td>
<td class="Statut">info{1,3}</td>
<td class="Supprimer">X</td>
</tr>
<tr id="trDetails_01" class="grid-sollicitation-row" style="display:none;">
<td colspan="4">
<div class="panelDetails">
Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1
</div>
</td>
</tr>
<tr class="grid-sollicitation-row">
<td class="Date">info{2,1}</td>
<td class="Libelle"><a href="javascript:displayElement('trDetails_02');">info{2,2}</a></td>
<td class="Statut">info{2,3}</td>
<td class="Supprimer">X</td>
</tr>
<tr id="trDetails_02" class="grid-sollicitation-row" style="display:none" >
<td colspan="4">
<div class="panelDetails">
Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2
</div>
</td>
</tr>
<tr class="grid-sollicitation-row">
<td class="Date">info{3,1}</td>
<td class="Libelle"><a href="javascript:displayElement('trDetails_03');">info{3,2}</a></td>
<td class="Statut">info{3,3}</td>
<td class="Supprimer">X</td>
</tr>
<tr id="trDetails_03" class="grid-sollicitation-row" style="display:none">
<td colspan="4">
<div class="panelDetails">
Madame test prenom a effectué la demande d'information suivante :
<br /><br />
Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Deta
</div>
</td>
</tr>
</table>
</div>
</div>
<div>
<p class="titreSection">Tableau 2</p>
<div>
<table class="grid-sollicitation" cellspacing="0" rules="all" border="1" style="border-collapse:collapse; width: 600px;">
<tr class="grid-sollicitation-header">
<th scope="col">Date</th>
<th scope="col" abbr="Libelle">Thème</th>
<th scope="col">Etat</th>
<th scope="col"> </th>
</tr>
<tr class="grid-sollicitation-row">
<td class="Date">info{1,1}</td>
<td class="Libelle"><a href="javascript:displayElement('trDetails_11');">info{1,2}</a></td>
<td class="Statut">info{1,3}</td>
<td class="Supprimer">X</td>
</tr>
<tr id="tr1" class="grid-sollicitation-row">
<td colspan="4">
<div class="panelDetails">
Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1 Détails 1
</div>
</td>
</tr>
<tr class="grid-sollicitation-row">
<td class="Date">info{2,1}</td>
<td class="Libelle"><a href="javascript:displayElement('trDetails_12');">info{2,2}</a></td>
<td class="Statut">info{2,3}</td>
<td class="Supprimer">X</td>
</tr>
<tr id="tr2" class="grid-sollicitation-row" style="display:none" >
<td colspan="4">
<div class="panelDetails">
Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2 Détails 2
</div>
</td>
</tr>
<tr class="grid-sollicitation-row">
<td class="Date">info{3,1}</td>
<td class="Libelle"><a href="javascript:displayElement('trDetails_13');">info{3,2}</a></td>
<td class="Statut">info{3,3}</td>
<td class="Supprimer">X</td>
</tr>
<tr id="tr3" class="grid-sollicitation-row" style="display:none">
<td colspan="4">
<div class="panelDetails">
Madame test prenom a effectué la demande d'information suivante :
<br /><br />
Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Detail du message Deta
</div>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>
just copy/paste the code in a "test.html" file, and see the trouble.
|
|
|
|
|
Try
<br />
<div class="panelDetails" style="width:550px"><br />
Your content here<br />
</div><br />
I found problem with width id div. I solved the problem for me
Check it out
|
|
|
|
|
Thanks, it work,
But in my real code, the table width is 100%, so the div can not have a fixed width.
Maybe playing with margin/padding can solve the trouble with dynamic table width.
|
|
|
|
|
belfaigore wrote: But in my real code, the table width is 100%
yes, but columns of the tables are in pixels.
|
|
|
|
|
Only the third column is auto ; the others columns need to have a fixed width, and the column 3 resize in function of the table size; so the table can have width to 100%.
|
|
|
|
|
Hi,
When i try to open the joomla website in web getting the error
'Cannot instantiate non-existent class: database in /includes/joomla.php '
error showing the line
$database = new database( $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix );
the database connections that i set in the configuration file is correct.
can anyone help me to solve this problem?
Bunch of thanks in advance
Rasma
www.rasma.cjb.in
|
|
|
|
|
Hi all - I wonder if you could help me with this weird error...
I have some rather simple mailing code:
mysteryMail.asp
<form action="mysteryMail.asp" method="get">
Subject: <input type="text" name="subject" width = "200" value="Paste Subject Here" />
<br /><br />
Body: <input type="text" name="body" width = "200" value="Paste Mail Body Here" />
<br /><br />
<input type="submit" value="Send Away!" />
</form>
<%
if (Request.QueryString("body") <> "") then
Server.ScriptTimeout = "50000"
dim theMail
set theMail = Server.CreateOBject("JMail.Message")
theMail.Logging = true
theMail.From = "validFrom@domain.com"
theMail.AddRecipient "validTo@domain.com"
theMail.Subject = "Test Mail"
theMail.HTMLBody = Request.QueryString("body")
theMail.Silent = true
theMail.Send("validMailingServerIP")
Response.Write("<h1>Mailing Complete.</h1>")
end if
%>
Now, the script works perfectly - Unless in the following mysterious occasion (Not intended as advertising - It seems to be VERY specific conditions).
Subject:
Doesn't Really Matter
Body:
<table border="0" width="641" bgcolor="#000000"> <tbody><tr> <td><img src="http://www.esaworld.co.za/images/stories/newsletters/platinum%20annoucement/header.gif" border="0" /></td> </tr> <tr> <td height="700" background="http://www.esaworld.co.za/images/stories/newsletters/platinum annoucement/backgrd.gif"><font style="font-family: Verdana,Arial,Helvetica,sans-serif" color="#ffffff"><strong style="font-size: 11px">Hi Everyone</strong></font><br /><font style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px" color="#749bf8"><br />Now that everyone has settled in after the first month of 2009, I’m sure all the calendars are already planned</font>.<p> </p><p style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px"><font color="#ffffff">ESA is proud to announce that 2009 will yet be another big leap forward in angling taking our sport to new levels.<br /><br /> <br /><br />The ESA Platinum Bass Series promises to be the Biggest and most Prestigious Series South Africa has ever seen in Angling,<br /><br />with events that will cater for the whole family and especially the serious and the angler who just love their sport.<br /><br />The events will have lots to offer with kids play areas, beer gardens, stalls, huge pools of prize money, spectacular events,<br /><br /> live entertainment and some serious Angling action!!!</font><br /><br /> <br /><br /><font color="#749bf8"><strong>LIMITED SPACE AVAILABLE!! To Register – Go to <a href="/">www.esaworld.co.za</a></strong></font><br /><br /><strong><font color="zzzzzzz">
Now, that DOESN'T work (Giving a 'The system cannot find the file specified. ' Error (The fact that's it's incomplete code should be irrelevant, as you'll see if you read on)
Although, if you replace the
<font color="zzzzzzz">
with a:
<font color="z">
it works perfectly
Any help would be GREATLY appreciated!!!!
-= Reelix =-
|
|
|
|
|
HI!
I spend most of the day trying to figure out why it didnt work in firefox. here is a link to website
http://www.danfegrocers.com.au/mycart.aspx?catId=9
the update link works in IE but not in firefox. not sure why. the code behind script
For intI = 0 To Convert.ToInt16(Session.Count() - 1)
'Get the number of rows and columns selected by the user.
Dim numrows As Integer = Convert.ToInt16(Session.Count())
Dim numcells As Integer = 4
query = "SELECT * FROM product WHERE prodId=" & Session.Keys(intI)
objConn = New SqlConnection(dbPath)
cmd = New SqlCommand(query, objConn)
If objConn.State = ConnectionState.Closed Then
objConn.Open()
End If
showCart = cmd.ExecuteReader()
'Dim cell As HtmlTableCell
Dim cell1 As New HtmlTableCell
Dim cell2 As New HtmlTableCell
Dim cell3 As New HtmlTableCell
Dim cellAmount As New HtmlTableCell
Dim cellAction As New HtmlTableCell
Dim confcell1 As New HtmlTableCell
Dim confcell2 As New HtmlTableCell
Dim confcell3 As New HtmlTableCell
Dim confcellAmount As New HtmlTableCell
If showCart.Read() Then
' Iterate through the rows.
' Create a new row and add it to the Rows collection.
row = New HtmlTableRow
confrow = New HtmlTableRow
' Provide a different background color for alternating rows.
' Iterate through the cells of a row.
cell1.Controls.Add(New LiteralControl(showCart.GetValue(1)))
cell2.Controls.Add(New LiteralControl("<input type='text' name='txt" & intI & "' value='" & Session(intI) & "' maxlength='2' size='2' /> <a href='#' onclick=""javascript:upThis(document.Form1.txt" & intI & ".value," & showCart.GetValue(0) & ");"">Update</a>"))
cell3.Controls.Add(New LiteralControl("$" & FormatNumber(CDbl(showCart.GetValue(4)), 2)))
cellAmount.Controls.Add(New LiteralControl("$" & FormatNumber(CDbl(showCart.GetValue(4)) * CDbl(Session(intI)), 2)))
cellAction.Controls.Add(New LiteralControl("<a href='catalogue.aspx?Actn=Del&delItemId=" & showCart.GetValue(0) & "'>Delete</a>"))
confcell1.Controls.Add(New LiteralControl(showCart.GetValue(1)))
confcell2.Controls.Add(New LiteralControl(Session(intI)))
confcell3.Controls.Add(New LiteralControl("$" & FormatNumber(CDbl(showCart.GetValue(4)), 2)))
confcellAmount.Controls.Add(New LiteralControl("$" & FormatNumber(CDbl(showCart.GetValue(4)) * CDbl(Session(intI)), 2)))
row.Cells.Insert(0, cell1)
row.Cells.Insert(1, cell2)
row.Cells.Insert(2, cell3)
row.Cells.Insert(3, cellAmount)
row.Cells.Insert(4, cellAction)
confrow.Cells.Insert(0, confcell1)
confrow.Cells.Insert(1, confcell2)
confrow.Cells.Insert(2, confcell3)
confrow.Cells.Insert(3, confcellAmount)
Table1.Rows.Add(row)
Table2.Rows.Add(confrow)
' summing amount of all the products added in the cart content
strTotal = strTotal + FormatNumber(CDbl(showCart.GetValue(4)) * CDbl(Session(intI)), 2)
Cache("strTotal") = strTotal
showCart.Close()
Else
'do nothing
End If
' closing recordset
objConn.Close()
please help. also the style falls apart in firefox not sure why.
|
|
|
|
|
Hi,
so first of all change the script-tag for javascript to this:
<script type="text/javascript">
This will ensure that the function is found.
And ensure that setting the url ends with a semicolon in your javascript.
Btw. Firefox offers a great tool called "error console" (filed under extras), great for checking errors with javascript.
Let me know if this helped you.
Regards
Sebastian
|
|
|
|
|
Hi ,
I want to parse XML values in javascript. The problem is if XML values does not have either of '&' char, thing working nicely.
<DataSet>
<Row>
<NDOCUMENTID>499</NDOCUMENTID>
<TDESCRIPTION>my god</TDESCRIPTION>
<TDISPLAYNAME>my god</TDISPLAYNAME>
<TTITLE>my god</TTITLE>
<NPARENT_DOC_ID>0</NPARENT_DOC_ID>
<NPARENT_FOLDER_ID>496</NPARENT_FOLDER_ID>
</Row>
<Row>
<NDOCUMENTID>501</NDOCUMENTID>
<TDESCRIPTION>Level 2Folder</TDESCRIPTION>
<TDISPLAYNAME>Level 2Folder</TDISPLAYNAME>
<TTITLE>Level 2Folder</TTITLE>
<NPARENT_DOC_ID>0</NPARENT_DOC_ID>
<NPARENT_FOLDER_ID>500</NPARENT_FOLDER_ID>
</Row>
</DataSet>
but if '&' is present then 'selectNodes' function does not select any row.
<DataSet>
<Row>
<NDOCUMENTID>499</NDOCUMENTID>
<TDESCRIPTION>my & god</TDESCRIPTION>
<TDISPLAYNAME>my god</TDISPLAYNAME>
<TTITLE>my god</TTITLE>
<NPARENT_DOC_ID>0</NPARENT_DOC_ID>
<NPARENT_FOLDER_ID>496</NPARENT_FOLDER_ID>
</Row>
<Row>
<NDOCUMENTID>501</NDOCUMENTID>
<TDESCRIPTION>Level 2Folder</TDESCRIPTION>
<TDISPLAYNAME>Level 2Folder</TDISPLAYNAME>
<TTITLE>Level 2Folder</TTITLE>
<NPARENT_DOC_ID>0</NPARENT_DOC_ID>
<NPARENT_FOLDER_ID>500</NPARENT_FOLDER_ID>
</Row>
</DataSet>
Any help is appreciated. Thanks in advance.
follong is my javascript code which I am using for parsing XML.
<script language="javascript" type="text/javascript">
var callerWindow = this.opener;
var sXML = document.getElementById("idAllFolders").value;
alert(sXML);
var objSelection;
var sFolderName, sFolderID;
var objFolderNodes;
var nSelectedValue = 0;
var objXML = new ActiveXObject("MSXML2.DomDocument");
objSelection = document.getElementById("selFolders1")
objXML.loadXML(sXML);
try
{
objFolderNodes = objXML.selectNodes("//DataSet/Row[NPARENT_FOLDER_ID = '496']");
alert("objFolderNodes.length :"+objFolderNodes.length);
}
catch(e)
{
}
</script>
Thanks,
Arindam D Tewary
|
|
|
|
|
hi,
I am a novice in ASP.NET AJAX.I downloaded AJAX CONTROL TOOLKIT.It runs on IE.However on mozilla it doesn't give the requisite result.
Any help would be appreciated.
|
|
|
|
|
Hi,
could be. I think since ASP.NET is released by Microsoft they focused on IE. As far as I know there are some things that work not so good with Firefox. But please be more specific with "doesn't give the expected result". What do you want to achieve?
Regards
Sebastian
|
|
|
|
|
hi,
First of all I am sorry that I was not specific.I had 2 panels.The first Panel has an Image Button.Clicking on the image button the second panel opens.when we again click on the first panel,the second panel closes.In IE it is working absolutely fine.However when i click on the image button in firefox,nothing happens.The second panel to which the collapsible property is attached doesent collapses neither expands.I enabled JS in FIre Fox.No result
Any help
|
|
|
|
|
hi all,
I developing webApplication using ASP.Net with C#,here I made Javascript Function for Popup window...Its working fine in Google crome But its saying error with IE like Runtime erroe object expected..plz help me anybody knows...Thanks
Raaj
|
|
|
|
|
Raj could you sent me the detail code
|
|
|
|
|
HOw to insert a button to a cell in a gridview that autogenerate column=true.?Can any one help pleasee
|
|
|
|
|
so entries in our app.config cannot be used in app.xml in WPF apps? can we just cut and paste entries from app.config into app.xaml? What about third party support from say log4met/nhibernate and spring.net?
Sorry new to WPF
Thanks
dev
modified on Saturday, January 31, 2009 11:41 PM
|
|
|
|
|
man... don't like this, app.config going legacy so soon?
[^]
What sort of sweet is app.xaml giving us now that we need to ditch good old xaml
dev
|
|
|
|
|
still trying to catch up on WPF and silverlight, just wondering if I can write on set of XAML for WPF windows client sever app, and use that same XAML to port that application to a web application? Is that the idea behind XAML? That you only need to define user interface ONCE using xaml, and you can render it to both windows client app + (WPF Browser app) web app version?
Thanks!
dev
modified on Saturday, January 31, 2009 11:44 PM
|
|
|
|
|