Search

You searched for the word(s): userid:206247

Matching Posts

  • Re: Need to validate a checkbox with other controls

    But, try your test with other controls and required validation controls for those controls. My page has several controls on it that are validated with the checkbox.
    Posted to Web Forms (Forum) by Jackxxx on 11/26/2009
  • Re: Need to validate a checkbox with other controls

    Ok, my problem is not with the dropdown, it's with the button. So Sorry I posted the wrong code. I need to validate the checkbox when a button control is clicked. That's what does not work. Protected Sub btnFeeSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnFeeSubmit.Click Page.Validate() If Page.IsValid Then 'do something here if valid Else lblmessage.Text = "There are issues with your entries. Please complete any required fields, indicated with a *
    Posted to Web Forms (Forum) by Jackxxx on 11/26/2009
  • Re: Need to validate a checkbox with other controls

    I just found out that it does work, but it will only validate after all other controls have been validated.
    Posted to Web Forms (Forum) by Jackxxx on 11/26/2009
  • Re: Need to validate a checkbox with other controls

    the problem is that my page has other controls on it to be validated and htey validate but not the checkbox As soon as you add a textbox and a required validator the checkbox will no longer validate: Try this on a page please. <p> Check checkbox if you want to donate $10 </p> <p> <asp:CheckBox id="CheckBox1" runat="server" Text="Donate $10"></asp:CheckBox> <asp:CustomValidator id="CustomValidator1" runat="server" ErrorMessage
    Posted to Web Forms (Forum) by Jackxxx on 11/26/2009
  • Need to validate a checkbox with other controls

    I need to validate a checkbox with other controls. I have several controls and required validators on the page and I need to validate the checkbox with them. Here is what I'm trying so far that doesn't work. Sub CustomValidator1_ServerValidate(ByVal source As Object, _ ByVal args As ServerValidateEventArgs) args.IsValid = (chkAuth.Checked = True) End Sub Protected Sub ddType_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddType.SelectedIndexChanged Try Page
    Posted to Web Forms (Forum) by Jackxxx on 11/25/2009
  • Re: Need to validate a checkbox with other controls

    Right, but it does not show the red star like the other validators do, so it 's not validating.
    Posted to Web Forms (Forum) by Jackxxx on 11/25/2009
  • Trying to use two favicon in one site

    I'm trying to use two different favicons on my site I set the icon and shortcut icon in the Head section, but the other page keeps picking up the favicon.ico and not the favicon1.ico. Am I doing something wrong with this? < link rel ="icon" href ="https://www.site.net/favicon.ico" type ="image/x-icon" /> < link rel ="shortcut icon" href ="https://www.site.net/favicon.ico" type ="image/x-icon" /> OR < link rel ="icon"
    Posted to Web Forms (Forum) by Jackxxx on 11/24/2009
  • Re: Trying to use two favicon in one site

    I changed my favicon.ico to a new favicon.ico and when I view the page it is still showing the old favicon.ico. Do I need to clear something out to get the old one out of memory? I deleted my internet temp files , history, and cookies.
    Posted to Web Forms (Forum) by Jackxxx on 11/24/2009
  • Re: Trying to use two favicon in one site

    I'm not sure what you mean by adding the url to the favorites? I entered the direct url to the favicon.ico and the favicon3.ico and they both show as the same ont he browser, however they are not the same. Waht in the world am I missing here?
    Posted to Web Forms (Forum) by Jackxxx on 11/24/2009
  • Trying to change from page to clientscript

    How can I convert GetPostBackEventReference to ClientScript.GetPostBackEventReference? My code is recommending that I do this. When I try I get a message that clientscript is not a member of control. Public Shared Function DisableTheButton(ByVal pge As Control, ByVal btn As Control) As String Dim sb As New System.Text.StringBuilder() sb.Append("if (typeof(Page_ClientValidate) == 'function') {") sb.Append("if (Page_ClientValidate() == false) { return false; }} ") 'sb
    Posted to Client Side Web Development (Forum) by Jackxxx on 11/22/2009
Page 1 of 207 (2070 items) 1 2 3 4 5 Next > ... Last »