Click here to Skip to main content
15,899,679 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Master Pages, is the entire concept misleading? Pin
nowensone11-Nov-07 13:21
nowensone11-Nov-07 13:21 
GeneralRe: Master Pages, is the entire concept misleading? Pin
Christian Graus11-Nov-07 13:50
protectorChristian Graus11-Nov-07 13:50 
GeneralRe: Master Pages, is the entire concept misleading? Pin
nowensone11-Nov-07 14:12
nowensone11-Nov-07 14:12 
GeneralRe: Master Pages, is the entire concept misleading? Pin
Christian Graus11-Nov-07 15:32
protectorChristian Graus11-Nov-07 15:32 
QuestionAdding CheckBox in ASP.NET Pin
Zeeshan Ahmed Memon11-Nov-07 10:20
Zeeshan Ahmed Memon11-Nov-07 10:20 
AnswerRe: Adding CheckBox in ASP.NET Pin
Tokorie11-Nov-07 15:03
Tokorie11-Nov-07 15:03 
AnswerRe: Adding CheckBox in ASP.NET Pin
Michael Sync11-Nov-07 15:19
Michael Sync11-Nov-07 15:19 
QuestionDatalist problem Pin
komplexb11-Nov-07 8:11
komplexb11-Nov-07 8:11 
i'm tryin to create a quiz management system. but i'm havin a problem automatically gradin. heres a screenshot for wats happening, wich is not wat shud hapen. as u can see its marking correct answers as wrong.

http://www.fiwizone.com/alex/byron/pics/project.jpg

heres the code 4 when u press finish.

Protected Sub finButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles finButton.Click

        Dim right As Integer = 0, wrong As Integer = 0
        For Each item As DataListItem In DataList1.Items
            Dim dv As System.Data.DataView

            Dim tfRadioButtonList As RadioButtonList = CType(item.FindControl("tfRadioButtonList"), RadioButtonList)

            Dim QuestionIDHiddenField As HiddenField = CType(item.FindControl("QuestionIDHiddenField"), HiddenField)
            Dim AnsHiddenField As HiddenField = CType(item.FindControl("AnsHiddenField"), HiddenField)
            Dim wrongPanel As Panel = CType(item.FindControl("wrongPanel"), Panel)
            Dim correctPanel As Panel = CType(item.FindControl("correctPanel"), Panel)

            CType(item.FindControl("fbPanel"), Panel).Enabled = False
            CType(item.FindControl("lsPanel"), Panel).Enabled = False
            CType(item.FindControl("mcPanel"), Panel).Enabled = False
            CType(item.FindControl("tfPanel"), Panel).Enabled = False

            Select Case QuestionIDHiddenField.Value.ToString.Substring(0, 2)
                Case "FB"

                Case "MC"

                Case "LS"

                Case "TF"
                    Select Case tfRadioButtonList.SelectedValue.ToString = AnsHiddenField.Value.ToString
                        Case True
                            correctPanel.Visible = True
                            wrongPanel.Visible = False
                            right += 1
                        Case False
                            wrongLabel.Text = "Your Answer: " + tfRadioButtonList.SelectedValue.ToString + " Correct Answer: " + AnsHiddenField.Value.ToString
                            wrongPanel.Visible = True
                            correctPanel.Visible = False
                            wrong += 1
                    End Select
            End Select
        Next
        summaryLabel.Text = "Right: " & right & ". " & "Wrong: " & wrong
        summaryLabel.Visible = True
    End Sub

QuestionGrid CheckBox Column with javascript Pin
Ahmad Adnan11-Nov-07 3:49
Ahmad Adnan11-Nov-07 3:49 
AnswerRe: Grid CheckBox Column with javascript Pin
Michael Sync11-Nov-07 4:41
Michael Sync11-Nov-07 4:41 
AnswerRe: Grid CheckBox Column with javascript Pin
Prateek G11-Nov-07 19:51
Prateek G11-Nov-07 19:51 
QuestionDownload Dialog box , Encoding problem Pin
Simit Kulkarni11-Nov-07 2:24
Simit Kulkarni11-Nov-07 2:24 
AnswerRe: Download Dialog box , Encoding problem Pin
Michael Sync11-Nov-07 4:35
Michael Sync11-Nov-07 4:35 
QuestionHow to use the 'OR' Condition Pin
Kurian_Kurian10-Nov-07 23:11
Kurian_Kurian10-Nov-07 23:11 
AnswerRe: How to use the 'OR' Condition Pin
Michael Sync10-Nov-07 23:15
Michael Sync10-Nov-07 23:15 
AnswerRe: How to use the 'OR' Condition Pin
Dave Doknjas11-Nov-07 15:19
Dave Doknjas11-Nov-07 15:19 
AnswerRe: How to use the 'OR' Condition Pin
SunithaNallana11-Nov-07 19:15
SunithaNallana11-Nov-07 19:15 
QuestioniWeb Setup Pin
Ahmad Adnan10-Nov-07 22:22
Ahmad Adnan10-Nov-07 22:22 
QuestionFile path problem Pin
G.K.M.10-Nov-07 20:32
G.K.M.10-Nov-07 20:32 
AnswerRe: File path problem Pin
Mustafa Ismail Mustafa11-Nov-07 2:17
Mustafa Ismail Mustafa11-Nov-07 2:17 
QuestionI have an aspx app which needs to post data to a form and read the response. Pin
B.A10-Nov-07 19:49
B.A10-Nov-07 19:49 
AnswerRe: I have an aspx app which needs to post data to a form and read the response. Pin
Michael Sync10-Nov-07 20:10
Michael Sync10-Nov-07 20:10 
GeneralRe: I have an aspx app which needs to post data to a form and read the response. Pin
B.A10-Nov-07 20:30
B.A10-Nov-07 20:30 
GeneralRe: I have an aspx app which needs to post data to a form and read the response. Pin
Michael Sync11-Nov-07 15:36
Michael Sync11-Nov-07 15:36 
AnswerRe: I have an aspx app which needs to post data to a form and read the response. Pin
Bassam Saoud10-Nov-07 20:33
Bassam Saoud10-Nov-07 20:33 

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.