This is a total ID-10T error, but since its my first attempt I'm missing the
obvious.
I downloaded the framework, create an AJAX enabled app, added a page, and
added an update panel with this:
<asp:UpdatePane l ID="updateCateg ory" runat="server">
<ContentTemplat e>
<asp:CheckBox runat="server" ID="chkCategory "
OnCheckedChange d="chkCategory_ OnCheck" />
</ContentTemplate >
</asp:UpdatePanel >
However, the event isn't firing on click, the events are queued until the
next page refresh. Is there a 'hey dummy' checklist? No errors, just no
events.
thanks,
john 3 1818
if you want the checkbox to post to the server when chcecked, set
AutoPostBack = true
-- bruce (sqlwork.com)
John Mott wrote:
This is a total ID-10T error, but since its my first attempt I'm missing the
obvious.
I downloaded the framework, create an AJAX enabled app, added a page, and
added an update panel with this:
<asp:UpdatePane l ID="updateCateg ory" runat="server">
<ContentTemplat e>
<asp:CheckBox runat="server" ID="chkCategory "
OnCheckedChange d="chkCategory_ OnCheck" />
</ContentTemplate >
</asp:UpdatePanel >
However, the event isn't firing on click, the events are queued until the
next page refresh. Is there a 'hey dummy' checklist? No errors, just no
events.
thanks,
john
Thank you, that was it. I guess I assumed that putting it in a panel implied
a server hit, but it makes more sense to have the controls do what they
normally do.
John
"bruce barker" wrote:
if you want the checkbox to post to the server when chcecked, set
AutoPostBack = true
>
-- bruce (sqlwork.com)
John Mott wrote:
>This is a total ID-10T error, but since its my first attempt I'm missing the obvious.
I downloaded the framework, create an AJAX enabled app, added a page, and added an update panel with this:
<asp:UpdatePan el ID="updateCateg ory" runat="server"> <ContentTemplat e> <asp:CheckBox runat="server" ID="chkCategory " OnCheckedChang ed="chkCategory _OnCheck" /> </ContentTemplate > </asp:UpdatePanel >
However, the event isn't firing on click, the events are queued until the next page refresh. Is there a 'hey dummy' checklist? No errors, just no events.
thanks,
john
Thank you again. The next thing i found was that I can't figure out how to
pass a value back in through a checkbox. It never occurred to me before that
the <asp:checkboxdi dn't have a "value" attribute, so how do you use a
checkbox to send a value (like a key value to set or clear in a collection)
back into the server?
absent this ability i'll have to implement a button and some sort of
mark/not marked state, which the checkbox is perfect for.
thanks again
john
"bruce barker" <no****@nospam. comwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
if you want the checkbox to post to the server when chcecked, set
AutoPostBack = true
-- bruce (sqlwork.com)
John Mott wrote:
>This is a total ID-10T error, but since its my first attempt I'm missing the obvious.
I downloaded the framework, create an AJAX enabled app, added a page, and added an update panel with this:
<asp:UpdatePan el ID="updateCateg ory" runat="server"> <ContentTemplat e> <asp:CheckBox runat="server" ID="chkCategory " OnCheckedChang ed="chkCategory _OnCheck" /> </ContentTemplate > </asp:UpdatePanel >
However, the event isn't firing on click, the events are queued until the next page refresh. Is there a 'hey dummy' checklist? No errors, just no events.
thanks,
john
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Manuel Lopez |
last post by:
I have a puzzling form timer problem that I didn't experience prior to
Access 2003 (though I'm not sure access 2003 is to blame).
Here's the situation: a computer has two access 2003 databases on it, a
frontend and a backend.
Case 1: If vba code on the frontend updates many rows (360,000) on the
backend, a form's timer event (from the frontend) will stop firing until the
user gives the form focus. (Note that the update itself always...
|
by: John Smith |
last post by:
I am using Ajax to refresh a DIV area by setting the
innerHTML=request.responseText in the usual manner. in the response text I
have a <SCRIPT> tag in line, but this is not executed. Is there a way of
making the ajax refresh process this.
Thanks
Mike
|
by: TS |
last post by:
I am creating a User control and i create some dynamic controls in the init
handler. one of the controls is a custom validator which i assign a
serverValidate event handler. I usally always do my controls as custom
server controls and don't understand why this event won't fire.
I figured if the creation of the control was in the init, it would be
initialized and have its event handlers set up, then after Load, the control
would call its...
|
by: OJ |
last post by:
Hi,
I have written a small C# 2.0 DLL which acts as a client to a Socket
based server over the internet. I have written both synchronous and
asynchronous methods to connect, send, and receive data from the
server. Each request/response can take upto 180 seconds. I am trying to
use the asyncronous calls in an ASP.NET C# 2.0 Webcontrol, which
displays the returned data. At the moment I am happily using the
asyncronous functions and events...
|
by: jaysonnward |
last post by:
Hello All:
I've recently been recreating some 'dropdown menus' for a website I
manage. I'm writing all my event handlers into my .js file. I've got
the coding to work in Firefox, but the onmouseleave / onmouseout event
I've attached to my hidden drop down (in this case an <ul>), is not
firing correctly. It seems that when the mouse enters the ul it fires
the mouseleave event. The problem is in the hideMenu2(e) function.
I'm copying...
| |
by: John Kotuby |
last post by:
Hi guys,
I am converting a rather complicated database driven Web application from
classic ASP to ASP.NET 2.0 using VB 2005 as the programming language. The
original ASP application works quite well, so at times it is tempting just
to port parts of it over mostly as-is. In fact, one MSDN article I read
suggested using straight HTML wherever possible to make the app more
efficient and less resource demanding.
On one page there are 2...
|
by: Rissoman |
last post by:
Hello,
I have an issue were I have a zipcode textbox in an atlas ajax
updatepanel. When you tab out of the zip textbox and the shipping is
calculated. I know this works perfect! Then a user informed me it
didn't and he is using google autofill, bad! Thus, I came to the
conclusion that autofill doesn't fire the text_change event when the
zipcode is filled into the text box. Is there a way to force autofill
to fire this text_change...
|
by: Dan Bass |
last post by:
I'm developing an Ajax keypad (C# / ASP.Net 3.5 / VS 2008) using the
updatepanel so that a full visible postback doesn't occur with each button
press.
I've decided to try and wrap the functionality into a user control,
providing events for when ok and cancel is pressed so that the caller (in
this case a page with the control on it) can then query for the keypad's
final value. If I remove the UpdatePanel, the events that the caller...
|
by: William Johnston |
last post by:
Hello,
The following JavaScript code is created for a custom AJAX Web Control:
I initially had the namespace of CustomScripts, but changed the namespace to something else. (At least I thought so.)
Is 'CustomScripts' a JavaScript notation?
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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: 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?
|
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 we have to send another system
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |