Hello
I have several textboxes in a datagrid footer. When the user inputs
something first textbox, the values of the other textboxes are updated.
Basically I want the "onBlur" functionality of javascript here, but using
codebehind.
Why I don't want to use javascript for this is because I have to connect to
my database and all the users' browsers have to be configured to allow
"access to data source across domain" ( which doesn't seem right to me in a
web environment )...
Does anyone has an idea ? Can I do it through postback? Can postback be
triggerred programmaticall y?
Any suggestion will be much appreciated :)
Jef 2 1680
Hi Jeff,
You can use the onblur javascript event on the textbox
to fire the __doPostBack(ev entTarget, eventArgument)
function supplied by the framework. There are plenty
examples on the web of how to do utilise this function.
Hope this helps.
Dave -----Original Message----- Hello
I have several textboxes in a datagrid footer. When the
user inputssomething first textbox, the values of the other
textboxes are updated.Basically I want the "onBlur" functionality of javascript
here, but usingcodebehind.
Why I don't want to use javascript for this is because I
have to connect tomy database and all the users' browsers have to be
configured to allow"access to data source across domain" ( which doesn't
seem right to me in aweb environment )...
Does anyone has an idea ? Can I do it through postback?
Can postback betriggerred programmaticall y?
Any suggestion will be much appreciated :)
Jef
.
Thanks David. It works fine :)
"David Keenan" <an*******@disc ussions.microso ft.com> wrote in message
news:2b******** *************** ******@phx.gbl. .. Hi Jeff,
You can use the onblur javascript event on the textbox to fire the __doPostBack(ev entTarget, eventArgument) function supplied by the framework. There are plenty examples on the web of how to do utilise this function.
Hope this helps.
Dave
-----Original Message----- Hello
I have several textboxes in a datagrid footer. When the user inputssomething first textbox, the values of the other textboxes are updated.Basically I want the "onBlur" functionality of javascript here, but usingcodebehind.
Why I don't want to use javascript for this is because I have to connect tomy database and all the users' browsers have to be configured to allow"access to data source across domain" ( which doesn't seem right to me in aweb environment )...
Does anyone has an idea ? Can I do it through postback? Can postback betriggerred programmaticall y?
Any suggestion will be much appreciated :)
Jef
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Barry Svee |
last post by:
I'm struggling with the JavaScript blur event. I have an activex
control that I need to interact with when a window loses focus, namely
to instruct it to give up control of a barcode scanner so that the
application being brought foreward can take control.
It has been my observation that when I set the window.onblur function,
the window will gain focus and then immediately lose focus (blur) to
the first field, button, or whatever that is...
|
by: Peloux |
last post by:
Hi,
I have written some htc in order to validate data in a form. most of
htc are attached on 'onblur' event.
Now, we would like to use the Enter Key to sublit form, so we use the
following code :
-----------
<SCRIPT>
function touche_EnterKeyPress(){
|
by: rob |
last post by:
Hi
I'm trying to create a "roll-up" effect when a window loses focus and then
"roll-down" when it regains focus.
This statement works properly with every browser I can get my hands on EXCEPT
WinIE6. WinIE6 says there's an error in the code, but the debugging info says
the problem is on line 1 char 1, which are comments.
<Body bgcolor='black' Text='#dbdbdb' onblur='window.resizeTo(150,150)'
|
by: neil S via DotNetMonster.com |
last post by:
I have a custom control with a textbox and dropdown list. The dropdown
list is hidden and acts as a data source for the textbox. When the user
enters text in the textbox, an onKeyup event is fired and retrieves the
first value from the dropdown list equal to that entered, and fills the
text box. Essentially, the two together are acting as a type
ahead/autocomplete thingy. All this works fine. Here's my problem: I
wanted to expose the...
|
by: lindanr |
last post by:
In ASP.NET 2005 I have an onblur="window.close()" javascript event in the
<body> tag. When I click on the window's scrollbar, the window closes. The
same code works fine in ASP.NET 2003.
Any ideas?
| |
by: rjones326 |
last post by:
Hi,
I'm stupendously mystified by this strange activity. I cannot for the
life of me figure out why this will not work in mozilla. I've spent
hours mucking around with it. The php file is just an echo statement
now to simplify for the moment. If instead of calling the replace
function I've also tried putting in an alert function. Alert works,
the calling the php file does not.
Any suggestions greatly appreciated, I've never...
|
by: jb5531 |
last post by:
Hello everyone!
I am trying to implement some code for my website using JavaScript and
DOM. The issue I'm having is that I want to change the size of the
textarea on blur. This text area changes from an input box to a
textarea once the value length reaches a certain number, passed to the
function call.
I cannot seem to reference this textarea after it is dynamically made
in order to change it's size (I am attempting to collapse it...
|
by: Duncan |
last post by:
Hi all,
I'm tearing my hair out on this!
I have a simple ASP.NET 2 page with a TextBox control, in the
PreRender I set ClientSide events:-
Response.Attributes.Add("onchange",
"javascript:alert('Changed');");
Response.Attributes.Add("onfocus",
|
by: stefbek97 |
last post by:
Hello Everyone,
I am ready to pull my hair out with this situation.
Here is what my application Looks like.
I have a Master Page,Content Page with a Tab Container and A user Control inside the Tab Panel of the Container.
In the user Cotrol I have a Table with Textboxes. My assignment is to Calculate the average of two textboxes and diplay in a Label. I need to do that on the client so that there is no postback so I try to use...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |