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:UpdatePanel ID="updateCategory" runat="server">
<ContentTemplate>
<asp:CheckBox runat="server" ID="chkCategory"
OnCheckedChanged="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 1809
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:UpdatePanel ID="updateCategory" runat="server">
<ContentTemplate>
<asp:CheckBox runat="server" ID="chkCategory"
OnCheckedChanged="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:UpdatePanel ID="updateCategory" runat="server"> <ContentTemplate> <asp:CheckBox runat="server" ID="chkCategory" OnCheckedChanged="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:checkboxdidn'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****************@TK2MSFTNGP05.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:UpdatePanel ID="updateCategory" runat="server"> <ContentTemplate> <asp:CheckBox runat="server" ID="chkCategory" OnCheckedChanged="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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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...
|
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,...
|
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...
| |