473,508 Members | 2,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

validation(asp.net):attribution onblur is not a valid attribute of

I use asp.net 2.0.
I try to use onblur in textbox of asp.net.
however,
it said that
validation(asp.net):attribution onblur is not a valid attribute of element
'textbox'

what casuse this problem?
I can not use OnBlur in textbox of asp.net???

this is the code
<asp:TextBox ID="uxOverride" Runat="server" Onblur="Overridetest();"
Columns="5" CssClass="ms-generaltext"
Text='<%#session("DefaultOverride")%>'></asp:TextBox></td></tr></table>
Feb 13 '06 #1
1 4400
Add via code-behind as such:

uxOverride.Attributes.Add("onblur", "Overridetest();");
"KenLee" <Ke****@discussions.microsoft.com> wrote in message
news:DC**********************************@microsof t.com...
I use asp.net 2.0.
I try to use onblur in textbox of asp.net.
however,
it said that
validation(asp.net):attribution onblur is not a valid attribute of element
'textbox'

what casuse this problem?
I can not use OnBlur in textbox of asp.net???

this is the code
<asp:TextBox ID="uxOverride" Runat="server" Onblur="Overridetest();"
Columns="5" CssClass="ms-generaltext"
Text='<%#session("DefaultOverride")%>'></asp:TextBox></td></tr></table>

Feb 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2570
by: EviL KerneL | last post by:
Hi - I am trying to figure out a way to enforce the validation included for this form based on whether the user chooses "email" or "phone" as the contact choice. Right now it is set to enforce...
1
4399
by: Joe.Dattilo | last post by:
Hello, Does anyone know how I can stop the RequiredFieldValidator from validation OnBlur and OnChange. I only want it to validate when the user submits the form (but still want it to run client...
2
4389
by: Matthias Marx | last post by:
Hello NG ASP:NET c# 1.1 I have to develop an existing c#, web application. There is a datagrid. With the Edit/Update function, where you could edit the value within the row. I need a...
3
7430
by: Rob Roberts | last post by:
I'm using .NET 2.0 and C# on a web site, and I'm trying to use the onmouseover and onmouseout events to do a rollover effect on an asp.net button. I've tried manually adding the events to the...
14
2117
by: JNariss | last post by:
Hello, I am fairly new to asp and jscript and am now in the process of learning some form validation. I am taking one step at a time by validating each field and testing it before moving onto...
0
3635
by: shamirza | last post by:
· When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and...
0
3821
by: shamirza | last post by:
· What is view state and use of it? The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested...
7
3581
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
2
13278
by: Joe Kovac | last post by:
Hi! Using: <asp:TextBox ID="TextBox1" runat="server" onchange="onchange()"></asp:TextBox> I get: Warning 1 Validation (ASP.Net): Attribute 'onchange' is not a valid
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7495
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5052
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.