|
Sorry, Width...
I am very sorry Saurabh...
Set Width to the Label box...
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
Thanks Venkatesh . I got the solution.
Thanks Again
Saurabh Gupta
Software Engineer
|
|
|
|
|
You are most welcome...
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
hi there,
when redirect to another page using response.Redirect() ,it generates
an http get operation , i want to change the headers for that (get) to add cookie , i tried to use respnse.AddHeader(), request.Headers.Add() but didn't work ,it is urgent thanks
|
|
|
|
|
I think you should try explain what you are trying to achieve, as your question doesn't actually make sense.
|
|
|
|
|
People give their time and expertise here freely. They give answers when they have time to do so. If you have not got an answer, it is because:
a) The people who know the answer haven't read your question
b) They read it, but didn't understand your question
c) Nobody knows the answer to your question.
d) People are suspicious of posts that include urgent anywhere. This smacks too much of homework.
Putting urgent in won't get your question answered any quicker, and may annoy/aggravate people.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
err
|
|
|
|
|
Hi,
I want to query an index server catalog through an asp/asp.net page.
I want to search by filename, e.g., if someone searches for blood_pressure,
then any file name containing blood_pressure in its name should show up.
In SQL we could use the where clause, i.e. where filename like '%blood_pressure%'
My catalog object is Q and I refer to its properties by Q.xxxxxxxx
Can you please tell me how I can get this effect from my Q object?
Thanks.
ASP - AJAX is SEXY. PERIOD.
|
|
|
|
|
|
I have a fancy asp:RegularExpressionValidator with this ValidationExpression:
"^([0-9a-zA-Z _+-.*()&#%':!])+$"
How do I change it so newlines are allowed in the associated multiline textbox?
I have tried adding "\n" here and there, but it still doesn't work
Guess newline is called something else or that I'm adding it in a wrong place.
Thanks.
|
|
|
|
|
hi
check following url. tht may b helps to u.
<a href="http://msdn2.microsoft.com/en-us/library/ms972966.aspx#regexnet_topic9"><a href="http://msdn2.microsoft.com/en-us/library/ms972966.aspx#regexnet_topic9" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms972966.aspx#regexnet_topic9</a></a>[<a href="http://msdn2.microsoft.com/en-us/library/ms972966.aspx#regexnet_topic9" target="_blank" title="New Window">^</a>]
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Thanks, but I have already found that page myself. That's where I learned newline was to be written as "\n".
|
|
|
|
|
have you tried to remove the "^" and "$" characters?these specify the beginning("^") and the end("$") of a line.so it makes no sense if "\n" is placed between these two.
walter
|
|
|
|
|
I have tried the following (all unsuccessful):
^([0-9a-zA-Z _+-.*()&#%':!])+$\n
^([0-9a-zA-Z _+-.*()&#%':!])\n+$
([0-9a-zA-Z _+-.*()&#%':!])+\n
([0-9a-zA-Z _+-.*()&#%':!])\n+
^([0-9a-zA-Z _+-.*()&#%':!])\r\n+$
^([0-9a-zA-Z _+-.*()&#%':!])+\r\n$
([0-9a-zA-Z _+-.*()&#%':!])+\r\n
([0-9a-zA-Z _+-.*()&#%':!])\r\n+
|
|
|
|
|
what exactly do you want to validate? give me an example of the validated text and the rules you want to apply
walter
|
|
|
|
|
I want to validate something like this:
--------
BBC Health, Article #6180753:
Important!!
Vegetarians were more likely to be female, to be of higher occupational social class and to have higher academic or vocational qualifications than non-vegetarians.
However, these differences were not reflected in their annual income, which was similar to that of non-vegetarians.
Lead researcher Catharine Gale said: "The finding that children with greater intelligence are more likely to report being vegetarian as adults, together with the evidence on the potential benefits of a vegetarian diet on heart health, may help to explain why higher IQ in childhood or adolescence is linked with a reduced risk of coronary heart disease in adult life."
--------
|
|
|
|
|
try this one:
([0-9a-zA-Z _\+-\.\*\(\)%':!\n"])+
hope that helps
walter
|
|
|
|
|
It helped half of the way
It now passes client side, but fails server side.
this.IsValid returns false server side...
|
|
|
|
|
well...;)
there's probably a problem with the view-state in your site, i don't know.
maybe you'll find these links helpful:
RegExLib[^]
and
RegEx-Coach[^] for testing your regular expressions.
good luck
walter
|
|
|
|
|
Great links, thanks.
Now it works perfectly in Firefox, but it fails clientside in bloody Explorer...
I'm using:
([0-9a-zA-Z _\+-\.\*\(\)&#%':!\n"])+
RegEx-Coach say everything is fine about the expression.
|
|
|
|
|
When you handle the OnChange event for textboxes, it only fires when you change the focus to another control. (Also in Javascript).
Is there a way to handle this event when the contents of the textbox is really changing? (eg when you start typing or deleting characters?)
Many thanks.
V.
If I don't see you in this world, I'll see you in the next one... And don't be late. (Jimi Hendrix)
|
|
|
|
|
Are you trying in JavaScript?
If so, try with onkeydown or onkeypress event of the TextBox... This is applicable to JavaScript only...
Regards,
Venkatesh Mookkan.
Software Engineer, India
|
|
|
|
|
tested works and omg , should have seen that ...
|
|
|
|
|
hey, i need to do form validation. need to check if fields are empty,valid email format, postal code n things like this.. how can i integrate requiredFormValidaton and regularExpression in such it will inform user if its empty n once it is filled in but input wrongly, it will only inform user of incorrect input?
|
|
|
|
|
You can use more than one type of validation controls for one controls.
Example: You use requiredfieldvalidator for the textbox for zipcode which check if the textbox value is empty. and to check the format of zipcode value you use regularexpression validator control which will check the format of the zipcode value.
Now whenever validation occurs first requiredfieldvalidator will work. If the controls is not having blank value then the regularexpressionvalidator will check the format of value and gives u error if format is not in proper way.
Thanks and regards,
Chetan Ranpariya.
|
|
|
|