Click here to Skip to main content
15,918,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Renamning Files Pin
Suresh Pirsquare24-Aug-06 23:54
Suresh Pirsquare24-Aug-06 23:54 
GeneralRe: Renamning Files Pin
Suresh Pirsquare24-Aug-06 23:57
Suresh Pirsquare24-Aug-06 23:57 
GeneralRe: Renamning Files [modified] Pin
Suresh Pirsquare25-Aug-06 0:01
Suresh Pirsquare25-Aug-06 0:01 
GeneralRe: Renamning Files Pin
kirthikirthi25-Aug-06 0:10
kirthikirthi25-Aug-06 0:10 
GeneralRe: Renamning Files [modified] Pin
Suresh Pirsquare25-Aug-06 0:26
Suresh Pirsquare25-Aug-06 0:26 
GeneralRe: Renamning Files Pin
kirthikirthi25-Aug-06 1:23
kirthikirthi25-Aug-06 1:23 
GeneralRe: Renamning Files Pin
Suresh Pirsquare25-Aug-06 1:43
Suresh Pirsquare25-Aug-06 1:43 
QuestionHow to count listbox items in codebehind when i add item using Javascript! Pin
Chetan.visodiya24-Aug-06 2:15
Chetan.visodiya24-Aug-06 2:15 
Hi!

In facts, my problem is to access the info in the server side! If i use ListBox.Items... It is not working but I really have two rows in my listbox... Look this:

This is my javascript code:

First i select the item in listbox1 then click on add button so add seleccted item into listbox2 and remove selected item from listbox1 using javascript.



function fctAjoutAssigne()
{

var mylist = document.getElementById("ListBox1")
var mylist2 = document.getElementById("ListBox2")
mylist2.options[mylist2.length]= new Option(mylist.options[mylist.selectedIndex].text,mylist.options[mylist.selectedIndex].value);
mylist.remove(mylist.selectedIndex)
}


and at last i click on save button. code of save button is :

For i = 0 To ListBox2.Items.Count - 1
strAssignation &= ListBox2.Items(i).Value & ","
strNomAssigne &= ListBox2.Items(i).Text & ";"
Next

But ListBox2.Items.Count = 0
even If I have two items in my list...

Amazing...

if you know then tell me how to fix this.

chetan patel
AnswerRe: How to count listbox items in codebehind when i add item using Javascript! Pin
alexfromto24-Aug-06 3:38
alexfromto24-Aug-06 3:38 
AnswerRe: How to count listbox items in codebehind when i add item using Javascript! Pin
ToddHileHoffer24-Aug-06 5:08
ToddHileHoffer24-Aug-06 5:08 
QuestionHow to access secure aspx pages? Pin
chhabrni24-Aug-06 2:10
chhabrni24-Aug-06 2:10 
AnswerRe: How to access secure aspx pages? Pin
Not Active24-Aug-06 2:38
mentorNot Active24-Aug-06 2:38 
GeneralRe: How to access secure aspx pages? Pin
chhabrni28-Aug-06 2:56
chhabrni28-Aug-06 2:56 
QuestionAccess to Notepad Pin
aaraaayen24-Aug-06 1:52
aaraaayen24-Aug-06 1:52 
AnswerRe: Access to Notepad Pin
Guffa24-Aug-06 2:55
Guffa24-Aug-06 2:55 
GeneralRe: Access to Notepad Pin
aaraaayen24-Aug-06 17:51
aaraaayen24-Aug-06 17:51 
Questionclosing all window when parent window is closed in a web application Pin
purshi_alur24-Aug-06 1:41
purshi_alur24-Aug-06 1:41 
QuestionHow can I determine which HyperLink has pushed a user? Pin
HilSoft24-Aug-06 1:11
HilSoft24-Aug-06 1:11 
AnswerRe: How can I determine which HyperLink has pushed a user? Pin
minhpc_bk24-Aug-06 19:52
minhpc_bk24-Aug-06 19:52 
QuestionWorking with Administrative windows permission. Pin
chnikhil23-Aug-06 23:56
chnikhil23-Aug-06 23:56 
AnswerRe: Working with Administrative windows permission. Pin
Paddy Boyd24-Aug-06 0:44
Paddy Boyd24-Aug-06 0:44 
QuestionShow data in datagrid footer Pin
ypsyong23-Aug-06 23:38
ypsyong23-Aug-06 23:38 
AnswerRe: Show data in datagrid footer Pin
_AK_23-Aug-06 23:45
_AK_23-Aug-06 23:45 
GeneralRe: Show data in datagrid footer Pin
ypsyong23-Aug-06 23:56
ypsyong23-Aug-06 23:56 
GeneralRe: Show data in datagrid footer Pin
_AK_24-Aug-06 0:02
_AK_24-Aug-06 0:02 

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.