473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Data Events.

Hello, I am having a problem with my Datagrid events. When I click on the
column to sort, I am getting a call back to the server, but my event is not
firing. When this has happened before, I have usually found something that I
was doing in the Page Load event which was cancelling the event, but I have
commented out all code in the page load and the event still does not fire.
My page is returned but my grid is not present. I know there are rows in the
datagrid when the Page load event is fired as I put a counter in the code
and I could see that it had a value.

What should I be looking for as to why my "sort" event is not firing?

What should I be looking for as to why my "Edit Command" event is not firing?

Thanks in advance for your assistance!!!
Nov 19 '05 #1
1 903
Look at the InitializeComponent method in your code behind for the sort
event. If that is not listed there, you need to go the design mode and
attach the event handler.

James
http://dev.poovathummoottil.com

"Jim Heavey" <Ji*******@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Hello, I am having a problem with my Datagrid events. When I click on the
column to sort, I am getting a call back to the server, but my event is not firing. When this has happened before, I have usually found something that I was doing in the Page Load event which was cancelling the event, but I have commented out all code in the page load and the event still does not fire.
My page is returned but my grid is not present. I know there are rows in the datagrid when the Page load event is fired as I put a counter in the code
and I could see that it had a value.

What should I be looking for as to why my "sort" event is not firing?

What should I be looking for as to why my "Edit Command" event is not firing?
Thanks in advance for your assistance!!!

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: mittal.pradeep | last post by:
What is the better table design for a data collection application. 1. Vertical model (pk, attributeName, AttributeValue) 2. Custom columns (pk, custom1, custom2, custom3...custom50) Since the...
20
by: Levi Campbell | last post by:
Hi, I'm working on a random number generator using the internet as a way to gather entropy, I have two questions. 1. is there a way to capture the internet stream? 2. how would I skip every 2nd,...
2
by: Gary Paris | last post by:
I have two datasets. The first dataset is a selection of Contact information with a field from a Codes table and a field from a Staff table. When I run the Query, everything is OK. Dataset gets...
30
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
32
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.