473,387 Members | 1,540 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,387 software developers and data experts.

Javascript listbox item manipulation, and codebehind

Hello,

I have a page with:

* two side-by-side asp:listboxes and two arrow asp:buttons allowing
users to add/remove email addresses between them -- very much like
Outlook, where you have the address book on the left, and you build
the message recipients on the right.
* an asp:button that, when clicked, fires off some code to create and
send the mail message

The moving of entries from side to side is accomplished with some
fairly straightforward javascript code. It's all processed on the
client-- no postbacks.

THE PROBLEM IS, after I've set up the lists, when I click the button
and loop thru the recipients list box to get the list of recipients to
set to MailMessage.To, the loop doesn't recognize that the lists have
changed. It still thinks they're in the state they were when the page
loaded. How can I get the codebehind to recognize the changes that
have taken place on the client side? Can I do it without postbacks?
Thanks.

html:

<%@ Page language="c#" Codebehind="EmailDraft.aspx.cs"
AutoEventWireup="false" Inherits="xx.EmailDraft" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Email Response Draft</title>
<script language="javascript">
function MoveRecipients( lboFrom, lboTo )
{
for ( var i=0; i < lboFrom.options.length; i++ )
{
if ( ( lboFrom.options[i].selected == true ) )
{
strItemToAdd = lboFrom.options[i].text;
lboTo.options[lboTo.length] = new Option(strItemToAdd);
lboFrom.options[i] = null;
i--;
}
}
}
</script>
</HEAD>
<body>
<form id="frmEmailDraft" method="post" runat="server">
<table width="600">
<tr>
<td class="appField">
Address List:<br>
<asp:ListBox id=lboEmailAddresses runat="server" Width="250px"
Height="96px" DataSource="<%# arrEmailAddresses %>"
CssClass="appTextBox" SelectionMode="Multiple">
</asp:ListBox>
</td>
<td>
<input type="button" id="btnMoveTo" value=">" class="buttonstyle"
onclick="MoveRecipients( frmEmailDraft.lboEmailAddresses,
frmEmailDraft.lboRecipients)"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON><br>
<input type="button" id="btnMoveFrom" value="<" class="buttonstyle"
onclick="MoveRecipients(frmEmailDraft.lboRecipient s,
frmEmailDraft.lboEmailAddresses )"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON>
</td>
<td class="appField">
Send To:<br>
<asp:ListBox id="lboRecipients" runat="server" Width="250px"
Height="96px" CssClass="appTextBox" SelectionMode="Multiple"
EnableViewState="False"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="3" class="appLabel" align="right">
<asp:Button id="btnSendEmail" runat="server" Width="75px"
CssClass="buttonstyle" Text="Send E-mail"></asp:Button>&nbsp;
<input class="buttonstyle" id="btnCancel" style="WIDTH: 75px"
onclick="window.close();" type="button" value="Cancel">
</td>
</tr>
</table>
</form>
</body>
</HTML>
c# :

public class EmailDraft : System.Web.UI.Page
{
protected System.Web.UI.WebControls.ListBox lboEmailAddresses;
protected System.Web.UI.WebControls.ListBox lboRecipients;
protected System.Web.UI.WebControls.TextBox txtDraft;
protected System.Web.UI.WebControls.TextBox txtAnnotation;
protected System.Web.UI.WebControls.Button btnSendEmail;
protected string[] arrEmailAddresses = { "a@a.com",
"b@b.com","c@c.com","d@d.com" } ;

private void Page_Load(object sender, System.EventArgs e)
{
lboEmailAddresses.DataBind();
}

#region Web Form Designer generated code
...snip...
#endregion

private void btnSendEmail_Click(object sender, System.EventArgs e)
{
MailMessage mm = new MailMessage();
mm.From = "me@x.com";
for ( int iRcpts = 0; iRcpts < lboRecipients.Items.Count; iRcpts++)
{
mm.To += lboRecipients.Items[iRcpts].Text;
if (iRcpts != lboRecipients.Items.Count - 1) mm.To += ";";
}
mm.Subject = "something";
mm.Body = "something else";
SmtpMail.Send(mm);
}
}
Nov 18 '05 #1
4 5083
a listbox only postbacks its value. your javascript nned to send back the
nw item list data also. the best way is in a hidden field. in c# on the
postback, read the hidden field, and load the list from it.

-- bruce (sqlwork.com)
"Bob P." <qu****@yahoo.com> wrote in message
news:fb**************************@posting.google.c om...
Hello,

I have a page with:

* two side-by-side asp:listboxes and two arrow asp:buttons allowing
users to add/remove email addresses between them -- very much like
Outlook, where you have the address book on the left, and you build
the message recipients on the right.
* an asp:button that, when clicked, fires off some code to create and
send the mail message

The moving of entries from side to side is accomplished with some
fairly straightforward javascript code. It's all processed on the
client-- no postbacks.

THE PROBLEM IS, after I've set up the lists, when I click the button
and loop thru the recipients list box to get the list of recipients to
set to MailMessage.To, the loop doesn't recognize that the lists have
changed. It still thinks they're in the state they were when the page
loaded. How can I get the codebehind to recognize the changes that
have taken place on the client side? Can I do it without postbacks?
Thanks.

html:

<%@ Page language="c#" Codebehind="EmailDraft.aspx.cs"
AutoEventWireup="false" Inherits="xx.EmailDraft" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Email Response Draft</title>
<script language="javascript">
function MoveRecipients( lboFrom, lboTo )
{
for ( var i=0; i < lboFrom.options.length; i++ )
{
if ( ( lboFrom.options[i].selected == true ) )
{
strItemToAdd = lboFrom.options[i].text;
lboTo.options[lboTo.length] = new Option(strItemToAdd);
lboFrom.options[i] = null;
i--;
}
}
}
</script>
</HEAD>
<body>
<form id="frmEmailDraft" method="post" runat="server">
<table width="600">
<tr>
<td class="appField">
Address List:<br>
<asp:ListBox id=lboEmailAddresses runat="server" Width="250px"
Height="96px" DataSource="<%# arrEmailAddresses %>"
CssClass="appTextBox" SelectionMode="Multiple">
</asp:ListBox>
</td>
<td>
<input type="button" id="btnMoveTo" value=">" class="buttonstyle"
onclick="MoveRecipients( frmEmailDraft.lboEmailAddresses,
frmEmailDraft.lboRecipients)"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON><br>
<input type="button" id="btnMoveFrom" value="<" class="buttonstyle"
onclick="MoveRecipients(frmEmailDraft.lboRecipient s,
frmEmailDraft.lboEmailAddresses )"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON>
</td>
<td class="appField">
Send To:<br>
<asp:ListBox id="lboRecipients" runat="server" Width="250px"
Height="96px" CssClass="appTextBox" SelectionMode="Multiple"
EnableViewState="False"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="3" class="appLabel" align="right">
<asp:Button id="btnSendEmail" runat="server" Width="75px"
CssClass="buttonstyle" Text="Send E-mail"></asp:Button>&nbsp;
<input class="buttonstyle" id="btnCancel" style="WIDTH: 75px"
onclick="window.close();" type="button" value="Cancel">
</td>
</tr>
</table>
</form>
</body>
</HTML>
c# :

public class EmailDraft : System.Web.UI.Page
{
protected System.Web.UI.WebControls.ListBox lboEmailAddresses;
protected System.Web.UI.WebControls.ListBox lboRecipients;
protected System.Web.UI.WebControls.TextBox txtDraft;
protected System.Web.UI.WebControls.TextBox txtAnnotation;
protected System.Web.UI.WebControls.Button btnSendEmail;
protected string[] arrEmailAddresses = { "a@a.com",
"b@b.com","c@c.com","d@d.com" } ;

private void Page_Load(object sender, System.EventArgs e)
{
lboEmailAddresses.DataBind();
}

#region Web Form Designer generated code
...snip...
#endregion

private void btnSendEmail_Click(object sender, System.EventArgs e)
{
MailMessage mm = new MailMessage();
mm.From = "me@x.com";
for ( int iRcpts = 0; iRcpts < lboRecipients.Items.Count; iRcpts++)
{
mm.To += lboRecipients.Items[iRcpts].Text;
if (iRcpts != lboRecipients.Items.Count - 1) mm.To += ";";
}
mm.Subject = "something";
mm.Body = "something else";
SmtpMail.Send(mm);
}
}

Nov 18 '05 #2
Hello Bob P.,

Look at this control... It does all this for you...

http://www.metabuilders.com/Tools/DualList.aspx

--
Matt Berther
http://www.mattberther.com
Hello,

I have a page with:

* two side-by-side asp:listboxes and two arrow asp:buttons allowing
users to add/remove email addresses between them -- very much like
Outlook, where you have the address book on the left, and you build
the message recipients on the right.
* an asp:button that, when clicked, fires off some code to create and
send the mail message
The moving of entries from side to side is accomplished with some
fairly straightforward javascript code. It's all processed on the
client-- no postbacks.

THE PROBLEM IS, after I've set up the lists, when I click the button
and loop thru the recipients list box to get the list of recipients to
set to MailMessage.To, the loop doesn't recognize that the lists have
changed. It still thinks they're in the state they were when the page
loaded. How can I get the codebehind to recognize the changes that
have taken place on the client side? Can I do it without postbacks?
Thanks.

html:

<%@ Page language="c#" Codebehind="EmailDraft.aspx.cs"
AutoEventWireup="false" Inherits="xx.EmailDraft" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Email Response Draft</title>
<script language="javascript">
function MoveRecipients( lboFrom, lboTo )
{
for ( var i=0; i < lboFrom.options.length; i++ )
{
if ( ( lboFrom.options[i].selected == true ) )
{
strItemToAdd = lboFrom.options[i].text;
lboTo.options[lboTo.length] = new Option(strItemToAdd);
lboFrom.options[i] = null;
i--;
}
}
}
</script>
</HEAD>
<body>
<form id="frmEmailDraft" method="post" runat="server">
<table width="600">
<tr>
<td class="appField">
Address List:<br>
<asp:ListBox id=lboEmailAddresses runat="server" Width="250px"
Height="96px" DataSource="<%# arrEmailAddresses %>"
CssClass="appTextBox" SelectionMode="Multiple">
</asp:ListBox>
</td>
<td>
<input type="button" id="btnMoveTo" value=">" class="buttonstyle"
onclick="MoveRecipients( frmEmailDraft.lboEmailAddresses,
frmEmailDraft.lboRecipients)"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON><br>
<input type="button" id="btnMoveFrom" value="<" class="buttonstyle"
onclick="MoveRecipients(frmEmailDraft.lboRecipient s,
frmEmailDraft.lboEmailAddresses )"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON>
</td>
<td class="appField">
Send To:<br>
<asp:ListBox id="lboRecipients" runat="server" Width="250px"
Height="96px" CssClass="appTextBox" SelectionMode="Multiple"
EnableViewState="False"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="3" class="appLabel" align="right">
<asp:Button id="btnSendEmail" runat="server" Width="75px"
CssClass="buttonstyle" Text="Send E-mail"></asp:Button>&nbsp;
<input class="buttonstyle" id="btnCancel" style="WIDTH: 75px"
onclick="window.close();" type="button" value="Cancel">
</td>
</tr>
</table>
</form>
</body>
</HTML>
c# :

public class EmailDraft : System.Web.UI.Page
{
protected System.Web.UI.WebControls.ListBox lboEmailAddresses;
protected System.Web.UI.WebControls.ListBox lboRecipients;
protected System.Web.UI.WebControls.TextBox txtDraft;
protected System.Web.UI.WebControls.TextBox txtAnnotation;
protected System.Web.UI.WebControls.Button btnSendEmail;
protected string[] arrEmailAddresses = { "a@a.com",
"b@b.com","c@c.com","d@d.com" } ;
private void Page_Load(object sender, System.EventArgs e)
{
lboEmailAddresses.DataBind();
}
#region Web Form Designer generated code
...snip...
#endregion
private void btnSendEmail_Click(object sender, System.EventArgs e)
{
MailMessage mm = new MailMessage();
mm.From = "me@x.com";
for ( int iRcpts = 0; iRcpts < lboRecipients.Items.Count; iRcpts++)
{
mm.To += lboRecipients.Items[iRcpts].Text;
if (iRcpts != lboRecipients.Items.Count - 1) mm.To += ";";
}
mm.Subject = "something";
mm.Body = "something else";
SmtpMail.Send(mm);
}
}


Nov 18 '05 #3
Hi

Did you select all in the listbox before posting... else it wont be sent

for(i=0;i<lbox.options.length;i++)
{
lbox.options[i].selected = true;
}
And use multiple

--
Best Regards
Vidar Petursson
==============================
Microsoft Visual: Scripting MVP 2000-2004
http://www.icysoft.com/
http://www.deus-x.com/ Instant e-commerce
http://www.microsoft.com/technet/scriptcenter/
Playground: http://213.190.104.211/ ( IE 5.5+ only )
2B||!2B=?
No matter where you go there you are
==============================
"Bob P." <qu****@yahoo.com> wrote in message
news:fb**************************@posting.google.c om...
Hello,

I have a page with:

* two side-by-side asp:listboxes and two arrow asp:buttons allowing
users to add/remove email addresses between them -- very much like
Outlook, where you have the address book on the left, and you build
the message recipients on the right.
* an asp:button that, when clicked, fires off some code to create and
send the mail message

The moving of entries from side to side is accomplished with some
fairly straightforward javascript code. It's all processed on the
client-- no postbacks.

THE PROBLEM IS, after I've set up the lists, when I click the button
and loop thru the recipients list box to get the list of recipients to
set to MailMessage.To, the loop doesn't recognize that the lists have
changed. It still thinks they're in the state they were when the page
loaded. How can I get the codebehind to recognize the changes that
have taken place on the client side? Can I do it without postbacks?
Thanks.

html:

<%@ Page language="c#" Codebehind="EmailDraft.aspx.cs"
AutoEventWireup="false" Inherits="xx.EmailDraft" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Email Response Draft</title>
<script language="javascript">
function MoveRecipients( lboFrom, lboTo )
{
for ( var i=0; i < lboFrom.options.length; i++ )
{
if ( ( lboFrom.options[i].selected == true ) )
{
strItemToAdd = lboFrom.options[i].text;
lboTo.options[lboTo.length] = new Option(strItemToAdd);
lboFrom.options[i] = null;
i--;
}
}
}
</script>
</HEAD>
<body>
<form id="frmEmailDraft" method="post" runat="server">
<table width="600">
<tr>
<td class="appField">
Address List:<br>
<asp:ListBox id=lboEmailAddresses runat="server" Width="250px"
Height="96px" DataSource="<%# arrEmailAddresses %>"
CssClass="appTextBox" SelectionMode="Multiple">
</asp:ListBox>
</td>
<td>
<input type="button" id="btnMoveTo" value=">" class="buttonstyle"
onclick="MoveRecipients( frmEmailDraft.lboEmailAddresses,
frmEmailDraft.lboRecipients)"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON><br>
<input type="button" id="btnMoveFrom" value="<" class="buttonstyle"
onclick="MoveRecipients(frmEmailDraft.lboRecipient s,
frmEmailDraft.lboEmailAddresses )"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON>
</td>
<td class="appField">
Send To:<br>
<asp:ListBox id="lboRecipients" runat="server" Width="250px"
Height="96px" CssClass="appTextBox" SelectionMode="Multiple"
EnableViewState="False"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="3" class="appLabel" align="right">
<asp:Button id="btnSendEmail" runat="server" Width="75px"
CssClass="buttonstyle" Text="Send E-mail"></asp:Button>&nbsp;
<input class="buttonstyle" id="btnCancel" style="WIDTH: 75px"
onclick="window.close();" type="button" value="Cancel">
</td>
</tr>
</table>
</form>
</body>
</HTML>
c# :

public class EmailDraft : System.Web.UI.Page
{
protected System.Web.UI.WebControls.ListBox lboEmailAddresses;
protected System.Web.UI.WebControls.ListBox lboRecipients;
protected System.Web.UI.WebControls.TextBox txtDraft;
protected System.Web.UI.WebControls.TextBox txtAnnotation;
protected System.Web.UI.WebControls.Button btnSendEmail;
protected string[] arrEmailAddresses = { "a@a.com",
"b@b.com","c@c.com","d@d.com" } ;

private void Page_Load(object sender, System.EventArgs e)
{
lboEmailAddresses.DataBind();
}

#region Web Form Designer generated code
...snip...
#endregion

private void btnSendEmail_Click(object sender, System.EventArgs e)
{
MailMessage mm = new MailMessage();
mm.From = "me@x.com";
for ( int iRcpts = 0; iRcpts < lboRecipients.Items.Count; iRcpts++)
{
mm.To += lboRecipients.Items[iRcpts].Text;
if (iRcpts != lboRecipients.Items.Count - 1) mm.To += ";";
}
mm.Subject = "something";
mm.Body = "something else";
SmtpMail.Send(mm);
}
}

Nov 18 '05 #4
Thanks for all your help. I tried having all the options selected
before posting but it didn't seem to do the trick.

I wound up populating a hidden field, using Javascript, by iterating
through the contents of the 2nd listbox. That worked nicely.

Thanks again.
"Vidar Petursson" <th**************************@icysoft.com> wrote in message news:<eJ**************@TK2MSFTNGP10.phx.gbl>...
Hi

Did you select all in the listbox before posting... else it wont be sent

for(i=0;i<lbox.options.length;i++)
{
lbox.options[i].selected = true;
}
And use multiple

--
Best Regards
Vidar Petursson
==============================
Microsoft Visual: Scripting MVP 2000-2004
http://www.icysoft.com/
http://www.deus-x.com/ Instant e-commerce
http://www.microsoft.com/technet/scriptcenter/
Playground: http://213.190.104.211/ ( IE 5.5+ only )
2B||!2B=?
No matter where you go there you are
==============================
"Bob P." <qu****@yahoo.com> wrote in message
news:fb**************************@posting.google.c om...
Hello,

I have a page with:

* two side-by-side asp:listboxes and two arrow asp:buttons allowing
users to add/remove email addresses between them -- very much like
Outlook, where you have the address book on the left, and you build
the message recipients on the right.
* an asp:button that, when clicked, fires off some code to create and
send the mail message

The moving of entries from side to side is accomplished with some
fairly straightforward javascript code. It's all processed on the
client-- no postbacks.

THE PROBLEM IS, after I've set up the lists, when I click the button
and loop thru the recipients list box to get the list of recipients to
set to MailMessage.To, the loop doesn't recognize that the lists have
changed. It still thinks they're in the state they were when the page
loaded. How can I get the codebehind to recognize the changes that
have taken place on the client side? Can I do it without postbacks?
Thanks.

html:

<%@ Page language="c#" Codebehind="EmailDraft.aspx.cs"
AutoEventWireup="false" Inherits="xx.EmailDraft" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Email Response Draft</title>
<script language="javascript">
function MoveRecipients( lboFrom, lboTo )
{
for ( var i=0; i < lboFrom.options.length; i++ )
{
if ( ( lboFrom.options[i].selected == true ) )
{
strItemToAdd = lboFrom.options[i].text;
lboTo.options[lboTo.length] = new Option(strItemToAdd);
lboFrom.options[i] = null;
i--;
}
}
}
</script>
</HEAD>
<body>
<form id="frmEmailDraft" method="post" runat="server">
<table width="600">
<tr>
<td class="appField">
Address List:<br>
<asp:ListBox id=lboEmailAddresses runat="server" Width="250px"
Height="96px" DataSource="<%# arrEmailAddresses %>"
CssClass="appTextBox" SelectionMode="Multiple">
</asp:ListBox>
</td>
<td>
<input type="button" id="btnMoveTo" value=">" class="buttonstyle"
onclick="MoveRecipients( frmEmailDraft.lboEmailAddresses,
frmEmailDraft.lboRecipients)"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON><br>
<input type="button" id="btnMoveFrom" value="<" class="buttonstyle"
onclick="MoveRecipients(frmEmailDraft.lboRecipient s,
frmEmailDraft.lboEmailAddresses )"
style="WIDTH: 72px; HEIGHT: 19px" size="20"></BUTTON>
</td>
<td class="appField">
Send To:<br>
<asp:ListBox id="lboRecipients" runat="server" Width="250px"
Height="96px" CssClass="appTextBox" SelectionMode="Multiple"
EnableViewState="False"></asp:ListBox>
</td>
</tr>
<tr>
<td colspan="3" class="appLabel" align="right">
<asp:Button id="btnSendEmail" runat="server" Width="75px"
CssClass="buttonstyle" Text="Send E-mail"></asp:Button>&nbsp;
<input class="buttonstyle" id="btnCancel" style="WIDTH: 75px"
onclick="window.close();" type="button" value="Cancel">
</td>
</tr>
</table>
</form>
</body>
</HTML>
c# :

public class EmailDraft : System.Web.UI.Page
{
protected System.Web.UI.WebControls.ListBox lboEmailAddresses;
protected System.Web.UI.WebControls.ListBox lboRecipients;
protected System.Web.UI.WebControls.TextBox txtDraft;
protected System.Web.UI.WebControls.TextBox txtAnnotation;
protected System.Web.UI.WebControls.Button btnSendEmail;
protected string[] arrEmailAddresses = { "a@a.com",
"b@b.com","c@c.com","d@d.com" } ;

private void Page_Load(object sender, System.EventArgs e)
{
lboEmailAddresses.DataBind();
}

#region Web Form Designer generated code
...snip...
#endregion

private void btnSendEmail_Click(object sender, System.EventArgs e)
{
MailMessage mm = new MailMessage();
mm.From = "me@x.com";
for ( int iRcpts = 0; iRcpts < lboRecipients.Items.Count; iRcpts++)
{
mm.To += lboRecipients.Items[iRcpts].Text;
if (iRcpts != lboRecipients.Items.Count - 1) mm.To += ";";
}
mm.Subject = "something";
mm.Body = "something else";
SmtpMail.Send(mm);
}
}

Nov 18 '05 #5

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

Similar topics

5
by: Allan M. | last post by:
I have a series of select boxes that must be populated client side, because they interact with each other. The design specification calls for these boxes to be updated without having to make a...
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...
3
by: Joey | last post by:
Hi, I'm trying to add a default item to my listbox but when I do it tells me that it's not defined, could someone tell me the syntax I need to use to get the listbox control to display a default...
6
by: Steve | last post by:
Hi, I open up a webform (vb.net) and populate a listbox control on the Page load event. If I click on (select) and item from the listbox I want to write the value of the selected item to a...
1
by: Steven M | last post by:
Hello!!! I dont know what is the problem!!! I am desperate!!! I want to put enabled = false a button when in ListBox has selected more than a item. this is the javascript. it dosen't...
3
by: Baren | last post by:
Hi! I have a generalized Stored Procedure to get the listbox items in a datareader.Then i am binding the datareader to the listbox. For different pages and different conditions i need to hide...
0
by: Wyatt70 | last post by:
I'm attempting to implement a javascript popup calendar in a DataGrid. The calendar will be used to insert a date into a textbox. I keep getting a "System.NullReferenceException: Object reference...
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...
16
by: kirankumarn | last post by:
I want to read xml which is stored in hidden field using javascript
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.