thanks jmeckly,
changing isValid to the case sensitive IsValid fixed the problem. Works great.
By the way, you cannot set a "control to validate" to a checkbox with asp built in validation tools. You have to use a custom validator with that field blank.
cheers
.....
I'd rather be surfing
hello,
I have a checkbox in an asp form. I want to have client side validation to ensure it is checked before the form is submitted.
Here is the code in the form:
<script type="text/javascript">
function CheckAgreement(source, args) {...
hello,
I have a required field validator (rfvFeatureTitle) and a validation summary inside of the edit item template in a listview control. When the text box that is being validted is empty, the error text will appear next to the text box, but it will not stop the update action of the listview...
so, just for clarity. don't use the createUserWizard if i need customization, or should i reference the controls within it differently.
.....
I'd rather be surfing
jmeckley
i am not sure what you mean by graph traversing. the create user wizard works, all the values and roles are created properly, the problem is a label in a loginview on a masterpage that displays the profile values gets an error but only when redirected from the create user wizard...
sorry, i don't totally understand. I did run the page in debug and it told me what line the error was generated on and it was a label inside of a loginView control. Does that mean the label is not instantiated? This code works when the user logs in through the login control, just not when...
thanks for the reply
when i use the debugger and the error i mentioned is caught, i use the immediate window to test the profile values and they exist. the following code is where the profile values are set:
Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As...
hello,
I have a create user wizard that also assigns some custom role and profile values in the createdUser event of the control. Once this operation is complete and the user clicks the continue button the user is redirected to a role restricted "Members" page/directory.
The problem is that...
okay,
I found the problem, jason helped me to confirm the stored procedure was working and recieving values. This made me think that maybe I needed to rexamine the user input verification and that is where I found the problem.
I had to change this assignment of a variable:
from
chrFirst =...
i tried removing the "@" but that did not work.
Also, i tried running the page from the remote server instead of from my local testing server (through visual studio) and the problem is the same.
This is a bit strange. I assume the procedure is running because no errors are thrown, but its...
thanks for the quick reply jason,
I adjusted your code as follows:
ALTER PROCEDURE [dbo].[EFFU_Validate_Membership]
@FirstName nvarchar(50),
@LastName nvarchar(50),
@IAFF int
AS
BEGIN
SELECT Count(1)
FROM dbo.Member
WHERE...
hello,
I have a asp.net 3.5 website that has a sql server 2005 backend. I have a stored procedure that accepts a couple of parameters and returns an integer value. The procedure runs fine when executed from SQL management studio, but I can not capture the return values on the asp side. The...
thanks jbenson, when going over my connection strings I noticed that i did not set a default provider for the profile so i made the following changes and it now works
changed from:
<profile>
...
</profile>
to:
<profile defaultProvider="EFFUProfileProvider">
...
</profile>
...
hello,
I have a logon control that does not use the default databse in the app_data folder, but rather it uses a SQL server database where I have created the same table structures required for the asp.net membership functions. The logon works when using the local test server on my own computer...
hello,
I have a creatUserWizard that works when i use the default connection string and provider but not when i use a custom provider. The custom provider works because if you go through the menu: Website/asp.net configuration and add a user everything is fine, also there is no error when you...
i figured it out, the ie6 showed me an element that was overflowing its container size, when I adjusted the width, the problem was fixed. Thanks again spamjim
.....
I'd rather be surfing
thanks, I got IE6 up and running and it reproduced the problem I am having. Do you know why the right hand content block appears under the center content block in IE6 but appears normal in IE7?
.....
I'd rather be surfing
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.