In asp.net, I have a hyperlink, hypTradeDate. This calls a Calendar page
that has a calendar control. Anyways, it is using some javascript to set the
field, TradeDate.Text.
Anyways, my problem is that I have an even hander on TradeDate.TextChanged.
This isn't getting fired from the javascript. How can I force this to be
fired? 3 1263
Hi Patrick,
One possible reason might be you set the readonly property to the
textbox. If you want to validate the date entered by the user directly,
write a function and add it as 'onblur' event attibute to the 'TradeDate'
textbox.
Hope this will help you.
-Ravi
"Patrick" wrote: In asp.net, I have a hyperlink, hypTradeDate. This calls a Calendar page that has a calendar control. Anyways, it is using some javascript to set the field, TradeDate.Text.
Anyways, my problem is that I have an even hander on TradeDate.TextChanged. This isn't getting fired from the javascript. How can I force this to be fired?
That part I have already conquered. Thanks for responding.
Any thoughts about the other situation? A user clicks a hyperlink, it takes
them to a page with a calendar, the date is selected and set in the text box.
However, no event is fired.
"Ravi_N" wrote: Hi Patrick,
One possible reason might be you set the readonly property to the textbox. If you want to validate the date entered by the user directly, write a function and add it as 'onblur' event attibute to the 'TradeDate' textbox.
Hope this will help you.
-Ravi
"Patrick" wrote:
In asp.net, I have a hyperlink, hypTradeDate. This calls a Calendar page that has a calendar control. Anyways, it is using some javascript to set the field, TradeDate.Text.
Anyways, my problem is that I have an even hander on TradeDate.TextChanged. This isn't getting fired from the javascript. How can I force this to be fired?
In javascript, the event is "onchange". Are you expecting the handle the
event on the client?
On the server it is TextChanged. If the control is disabled on the client
side, the new values are not posted back to the server and the server side
TextChanged event is not fired.
bill
"Patrick" <Pa*****@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com... In asp.net, I have a hyperlink, hypTradeDate. This calls a Calendar page that has a calendar control. Anyways, it is using some javascript to set
the field, TradeDate.Text.
Anyways, my problem is that I have an even hander on
TradeDate.TextChanged. This isn't getting fired from the javascript. How can I force this to be fired? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: SMai24 |
last post by:
Anyone has the same experience? I am trying to validate one of the
textboxes inside a datagrid, but everytime when i click my mouse on
another cell, the validating fires twice. Help plz....
|
by: usl2222 |
last post by:
Hi folks,
I appreciate any assistance in the following problem:
I have a form with a bunch of dynamic controls on it. All the controls
are dynamically generated on a server, including all...
|
by: srivalli c via DotNetMonster.com |
last post by:
Hi,
When asp.net worker process or application pool recycles, is it guaranteed
that the Session_End event fires for all active sessions?
Any help is greatly appreciated.
Thanks in advance....
|
by: Engineerik |
last post by:
I have a login form which I want to display with the showdialog method. When I do that the event handler for the load event does not run. If I use the show method the load event handler runs...
|
by: Eric |
last post by:
I'm new to JavaScript and I wrote this code to play with. Oddly, if I
enter text in a box and then press the button, I only get the onChange
event for the text box and not the button's onclick...
|
by: Gav |
last post by:
Hi all,
I have written a UserControl for the use as a mini shopping cart/basket on
my website, I am saving the items in a Session variable.
My problem is that when the add item button is...
|
by: erdos |
last post by:
I have an asp.net 2.0 button with server and client side click
events. On the first click, both events will fire. On the next
click, only the client side event fires. How do I make the server...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |