Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:206247
More Search Options
RSS Available
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 »
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online