Click here to Skip to main content
15,891,943 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhelp Pin
lakshmii_n13-Jun-07 3:54
lakshmii_n13-Jun-07 3:54 
AnswerRe: help Pin
leckey13-Jun-07 8:18
leckey13-Jun-07 8:18 
QuestionAdding References?? Pin
macca2413-Jun-07 3:50
macca2413-Jun-07 3:50 
AnswerRe: Adding References?? Pin
Jay_se13-Jun-07 3:55
Jay_se13-Jun-07 3:55 
GeneralRe: Adding References?? Pin
macca2413-Jun-07 4:32
macca2413-Jun-07 4:32 
GeneralRe: Adding References?? Pin
Manas Bhardwaj13-Jun-07 4:50
professionalManas Bhardwaj13-Jun-07 4:50 
QuestionTable from two columns [modified] Pin
Senseicads13-Jun-07 3:49
Senseicads13-Jun-07 3:49 
QuestionSelectedIndexChange of a checkedListbox Pin
Rajiya13-Jun-07 3:43
Rajiya13-Jun-07 3:43 
Hi,

I want to handle the selectedindexchanged event of a checkedListbox in the client side using javascript. I was initially handling it in the server side but it goes to page load so want to handle it in the client side.
How to do it?
Below is my server side code for handling it:
Private Sub cbxEmpResponse_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbxEmpResponse.SelectedIndexChanged
Dim ii As Integer
Dim iflag As Integer = 0
Dim ijflag As Integer = 0
If cbxSelectAll.Checked = True Then
For ii = 0 To cbxEmpResponse.Items.Count - 1
If cbxEmpResponse.Items(ii).Selected = False Then
iflag = 1
End If
Next
End If
If iflag = 1 Then
cbxSelectAll.Checked = False
End If
If cbxSelectAll.Checked = False Then
For ii = 0 To cbxEmpResponse.Items.Count - 1
If cbxEmpResponse.Items(ii).Selected = False Then
ijflag = 1
End If
Next
End If
If ijflag = 0 Then
cbxSelectAll.Checked = True
End If
End Sub

Want to convert it in the client side code.

Plz help

Thanks,
Riz

Riz
AnswerRe: SelectedIndexChange of a checkedListbox Pin
Venkatesh Mookkan13-Jun-07 16:29
Venkatesh Mookkan13-Jun-07 16:29 
QuestionGet Values from Grid Pin
BINOVAR13-Jun-07 3:15
BINOVAR13-Jun-07 3:15 
AnswerRe: Get Values from Grid Pin
Fatbuddha 113-Jun-07 5:10
Fatbuddha 113-Jun-07 5:10 
QuestionShare Point Pin
alexfromto13-Jun-07 3:11
alexfromto13-Jun-07 3:11 
QuestionList Yahoo And hotmail mails Pin
Ptiwari313-Jun-07 2:59
Ptiwari313-Jun-07 2:59 
QuestionDisable Delete Key in Keyboard. Pin
Rahul8313-Jun-07 2:44
Rahul8313-Jun-07 2:44 
QuestionScroll Problem in Div Pin
Panchal Hardik13-Jun-07 2:39
Panchal Hardik13-Jun-07 2:39 
Questionhow to disable caching of cookies in RoleManager in web.config Pin
yogita charhate13-Jun-07 2:35
yogita charhate13-Jun-07 2:35 
QuestionLocalization problem inside asp:FormView Pin
Stas13-Jun-07 1:48
Stas13-Jun-07 1:48 
QuestionHow to use images in a static web page ? [modified] Pin
Sankara Narayana13-Jun-07 1:44
Sankara Narayana13-Jun-07 1:44 
AnswerRe: How to use images in a static web page ? Pin
Sylvester george13-Jun-07 2:06
Sylvester george13-Jun-07 2:06 
QuestionScript Function - lastIndexOf() Pin
gauthee13-Jun-07 1:05
gauthee13-Jun-07 1:05 
AnswerRe: Script Function - lastIndexOf() Pin
PandemoniumPasha13-Jun-07 1:13
PandemoniumPasha13-Jun-07 1:13 
AnswerRe: Script Function - lastIndexOf() Pin
DavidNohejl13-Jun-07 1:34
DavidNohejl13-Jun-07 1:34 
AnswerRe: Script Function - lastIndexOf() Pin
koolprasad200313-Jun-07 2:23
professionalkoolprasad200313-Jun-07 2:23 
QuestionLogout Problem Pin
suveenmohan13-Jun-07 1:03
suveenmohan13-Jun-07 1:03 
AnswerRe: Logout Problem Pin
Manas Bhardwaj13-Jun-07 1:19
professionalManas Bhardwaj13-Jun-07 1:19 

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.