Click here to Skip to main content
15,898,373 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Developing an election ballot box app. Pin
samflex25-Apr-16 4:38
samflex25-Apr-16 4:38 
GeneralRe: Developing an election ballot box app. Pin
F-ES Sitecore25-Apr-16 4:49
professionalF-ES Sitecore25-Apr-16 4:49 
GeneralRe: Developing an election ballot box app. Pin
samflex25-Apr-16 5:49
samflex25-Apr-16 5:49 
GeneralRe: Developing an election ballot box app. Pin
F-ES Sitecore25-Apr-16 23:11
professionalF-ES Sitecore25-Apr-16 23:11 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming26-Apr-16 1:42
mveRichard Deeming26-Apr-16 1:42 
GeneralRe: Developing an election ballot box app. Pin
samflex26-Apr-16 5:59
samflex26-Apr-16 5:59 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming26-Apr-16 7:28
mveRichard Deeming26-Apr-16 7:28 
GeneralRe: Developing an election ballot box app. Pin
samflex28-Apr-16 8:04
samflex28-Apr-16 8:04 
Sorry Richard, I spent so much time thinking about this and I am still confused as to what to do with
ShowWiteInOnSection
.

For instance, I used this:

VB.NET
Protected Function GetMessageType(ByVal obj As Object) As String
    Dim retVal As String = String.Empty
    If obj IsNot Nothing AndAlso Not String.IsNullOrEmpty(obj.ToString()) Then
        If obj.ToString() = "Charity - May 19 2016 " Then
            retVal = "(Choose three members only)"
        ElseIf obj.ToString() = "Board Election - Jun  5 2016 " Then
            retVal = "(Choose only one candidate)"
        ElseIf obj.ToString() = "Grievance Committee  - May 12 2016 " Then
            retVal = "(Choose two members only)"
        End If
    End If
    Return retVal
End Function


to display what time of election is going on.

I know you said is a data binding to set visibility property of the Textbox depending on which section it is on but what I would like to accomplish if at all possible are two fold.

One, reflect the textbox only the section that has write In associated with the position and two, to display it only when the write in radio button is clicked.

And PositionID is what defines what position a candidate is competing for.

For instance, President is PositionID of 1; VP, 2; secretary 3; treasurer 4, etc.

These positions are on table called Positions
And then there is another table called Candidates that has candidateID, CandidateName, PositionId as FK to PositionID in Positions table.

So, this is where their names and their positions are joined.
I am stumped on how to code this function
ShowWiteInOnSection

GeneralRe: Developing an election ballot box app. Pin
Richard Deeming28-Apr-16 8:08
mveRichard Deeming28-Apr-16 8:08 
GeneralRe: Developing an election ballot box app. Pin
samflex28-Apr-16 9:59
samflex28-Apr-16 9:59 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming28-Apr-16 11:03
mveRichard Deeming28-Apr-16 11:03 
GeneralRe: Developing an election ballot box app. Pin
samflex28-Apr-16 11:58
samflex28-Apr-16 11:58 
GeneralRe: Developing an election ballot box app. Pin
Richard Deeming29-Apr-16 2:04
mveRichard Deeming29-Apr-16 2:04 
GeneralRe: Developing an election ballot box app (SOLVED). Pin
samflex2-May-16 3:22
samflex2-May-16 3:22 
QuestionUpdate progressbar with wcf webservice Pin
Member 1247474222-Apr-16 1:05
Member 1247474222-Apr-16 1:05 
SuggestionRe: Update progressbar with wcf webservice Pin
Richard Deeming22-Apr-16 1:15
mveRichard Deeming22-Apr-16 1:15 
Questionpls Help me..binding dropdown like Country,State,City..when im selecting any one country it showing me all country's state and city.. Pin
sunil321-Apr-16 0:28
sunil321-Apr-16 0:28 
AnswerRe: pls Help me..binding dropdown like Country,State,City..when im selecting any one country it showing me all country's state and city.. Pin
John C Rayan21-Apr-16 0:55
professionalJohn C Rayan21-Apr-16 0:55 
Questionc# Image Processing from byte[] to image, centering the image on a square canvas Pin
jkirkerx20-Apr-16 13:47
professionaljkirkerx20-Apr-16 13:47 
AnswerRe: c# Image Processing from byte[] to image, centering the image on a square canvas Pin
Richard Deeming21-Apr-16 2:40
mveRichard Deeming21-Apr-16 2:40 
GeneralRe: c# Image Processing from byte[] to image, centering the image on a square canvas [solved] Pin
jkirkerx21-Apr-16 9:09
professionaljkirkerx21-Apr-16 9:09 
QuestionPls help getting error..The name 'ObjectFactory' does not exist in the current context Pin
sunil319-Apr-16 21:37
sunil319-Apr-16 21:37 
AnswerRe: Pls help getting error..The name 'ObjectFactory' does not exist in the current context Pin
Nathan Minier20-Apr-16 1:53
professionalNathan Minier20-Apr-16 1:53 
GeneralRe: Pls help getting error..The name 'ObjectFactory' does not exist in the current context Pin
sunil321-Apr-16 0:26
sunil321-Apr-16 0:26 
AnswerRe: Pls help getting error..The name 'ObjectFactory' does not exist in the current context Pin
John C Rayan20-Apr-16 2:38
professionalJohn C Rayan20-Apr-16 2:38 

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.