Click here to Skip to main content
15,912,977 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to play video based on some value? Pin
n_gchaitra4-Sep-07 19:16
n_gchaitra4-Sep-07 19:16 
AnswerRe: How to play video based on some value? Pin
Michael Sync4-Sep-07 20:05
Michael Sync4-Sep-07 20:05 
GeneralRe: How to play video based on some value? Pin
n_gchaitra4-Sep-07 21:25
n_gchaitra4-Sep-07 21:25 
QuestionValidation for date with leap year Pin
samerh4-Sep-07 19:12
samerh4-Sep-07 19:12 
AnswerRe: Validation for date with leap year Pin
Sathesh Sakthivel4-Sep-07 19:19
Sathesh Sakthivel4-Sep-07 19:19 
AnswerRe: Validation for date with leap year Pin
Lucky Sheikh4-Sep-07 22:27
Lucky Sheikh4-Sep-07 22:27 
QuestionUrgent Listbox to listbox by using javascript Pin
jayarajmrj4-Sep-07 19:04
jayarajmrj4-Sep-07 19:04 
AnswerRe: Urgent Listbox to listbox by using javascript Pin
varshavmane4-Sep-07 20:12
varshavmane4-Sep-07 20:12 
Use the Following code:



function f_optionMove(s_from, s_to)
{
var e_from = document.getElementById(s_from), e_to = document.getElementById(s_to);//test_form.elements[s_from],e_to = document.forms['test_form'].elements[s_to];
if (!e_from.name)
return alert ("Error: selectbox with name '" + s_from + "' can't be found.");
if (!e_to.name)
return alert ("Error: selectbox with name '" + s_from + "' can't be found.");
var n_moved = 0;

for (var i = 0; i < e_from.options.length; i++)
{
if (e_from.options[i].selected)
{
var name = e_from.options[i].text;
var ID = e_from.options[i].value;
e_from.options[i] = null;
e_to.options[e_to.options.length] = new Option (name,ID);
n_moved++;
}
}
if (n_moved)
e_from.options.length = e_from.options.length;
else
alert("You haven't selected any options");
}

function f_optionMoveAll(s_from, s_to)
{
var e_from = document.getElementById(s_from), e_to = document.getElementById(s_to);
if (!e_from.name)
return alert ("Error: selectbox with name '" + s_from + "' can't be found.");
if (!e_to.name)
return alert ("Error: selectbox with name '" + s_from + "' can't be found.");
var cntDesc = e_from.options.length;
var cntSource = e_to.options.length;
for (var i = 0; i < cntDesc; i++)
{
var name = e_from.options[i].text;
var ID = e_from.options[i].value;
e_to.options[cntSource] = new Option (name,ID);
cntSource++;
}
e_from.options.length = 0;
}







<

table border="0" cellpadding="0" cellspacing="0" style="width: 100%">





<asp:listbox id="lstsource" runat="server" selectionmode="Multiple">
















































<

asp:ListBox ID ="lstdestination" runat="server" SelectionMode ="Multiple">

GeneralRe: Urgent Listbox to listbox by using javascript Pin
jayarajmrj4-Sep-07 21:23
jayarajmrj4-Sep-07 21:23 
GeneralRe: Urgent Listbox to listbox by using javascript Pin
varshavmane4-Sep-07 21:34
varshavmane4-Sep-07 21:34 
AnswerRe: Urgent Listbox to listbox by using javascript Pin
codelinks4-Sep-07 21:54
codelinks4-Sep-07 21:54 
QuestionChange the GridView Row Control on Mouse over Pin
varshavmane4-Sep-07 18:21
varshavmane4-Sep-07 18:21 
QuestionGrid View Pin
seemamltn4-Sep-07 14:09
seemamltn4-Sep-07 14:09 
AnswerRe: Grid View Pin
Christian Graus4-Sep-07 14:57
protectorChristian Graus4-Sep-07 14:57 
AnswerRe: Grid View Pin
N a v a n e e t h4-Sep-07 18:04
N a v a n e e t h4-Sep-07 18:04 
AnswerRe: Grid View Pin
Herman<T>.Instance5-Sep-07 2:15
Herman<T>.Instance5-Sep-07 2:15 
Questionadding a HyperLinkField programmatically question Pin
orsini4-Sep-07 8:55
orsini4-Sep-07 8:55 
QuestionDebug ASP.NET on Vista ? Pin
Christian Graus4-Sep-07 8:53
protectorChristian Graus4-Sep-07 8:53 
AnswerRe: Debug ASP.NET on Vista ? Pin
Christian Graus4-Sep-07 9:33
protectorChristian Graus4-Sep-07 9:33 
GeneralRe: Debug ASP.NET on Vista ? Pin
Michael Sync4-Sep-07 16:52
Michael Sync4-Sep-07 16:52 
JokeRe: Debug ASP.NET on Vista ? Pin
Sathesh Sakthivel4-Sep-07 18:38
Sathesh Sakthivel4-Sep-07 18:38 
Questionhow to avoid postback on button click event in asp.net/javascript? Pin
dreddy74-Sep-07 8:22
dreddy74-Sep-07 8:22 
AnswerRe: how to avoid postback on button click event in asp.net/javascript? Pin
Christian Graus4-Sep-07 8:30
protectorChristian Graus4-Sep-07 8:30 
GeneralRe: how to avoid postback on button click event in asp.net/javascript? Pin
dreddy74-Sep-07 9:49
dreddy74-Sep-07 9:49 
GeneralRe: how to avoid postback on button click event in asp.net/javascript? Pin
Christian Graus4-Sep-07 10:21
protectorChristian Graus4-Sep-07 10:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.