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 1817
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: 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: 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: 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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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?
| |