473,322 Members | 1,307 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,322 software developers and data experts.

DataGrid, SelectedIndexChanged, JavaScript error

Strange thing is happening here. I have a datagrid which has twocolumns, ID - which is of type "BoundColumn", and Name - whichis of type "ButtonColumn" (LinkButton) with command "Select". Soafter the page loads and data comes into the datagrid, if Iclick on the Name, it should fire the _SelectedIndexChangedevent of the datagrid, but instead of that, it gives aJavaScript error ("Object doesn't support this property ormethod"). I did the same with only the datagrid control on aseparate page, and that works fine. I need to do that on theactual page, and not on a separate page.

I am working in asp.net in .net framework.
(If anyone can suggest a way to debug JavaScript errors, thatwill work too)

Can anyone shed some light on it?
Thanks in advance.

--------------------------------
From: Debarupa De

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>6UA4ompz3UqPJAxK4hHLAA==</Id>
Nov 19 '05 #1
0 1055

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

Similar topics

5
by: Bruce W.1 | last post by:
My datagrid displays just fine. When I click on a row it posts back but I can't seem to catch the event to do anything. My handler never gets called. Can anyone please tell me why? In the...
2
by: Bruce W.1 | last post by:
There's something I can't figure out. I added some javascript behavior to my datagrid, just like in this article, except in C# instead of VB: ...
1
by: Chris | last post by:
Hello All, Need some help here. I'm building an asp.net app that uses a datagrid. I have created a template column and added a dropdownlist to it. What I'd like to happen is have the database...
2
by: Daniel Walzenbach | last post by:
Hi, I created an ASP.NET Datagrid where a single row can be selected by clicking anywhere on the row (according to...
1
by: tshad | last post by:
I can't seem to get insert into a DataGrid to work. I am using an example from the net and made changes to work on my computer. The grid comes up fine. The edit boxes in the footer are there. ...
0
by: tafpin | last post by:
I have an application with a datagrid. In the IDE I have 2 template columns. The first has an image button and the second contains a link button. According to the results that I get back I must...
1
by: Andy Sutorius via DotNetMonster.com | last post by:
Hi, I am trying to wire up the dropdownlist in a datagrid and use the onselectedindexchanged event however I am getting an "Object reference not set to an instance of an object" error when I try...
4
by: Frank | last post by:
Hello All, I ham using VS.NET 2003. Have followed instructions from http://gridviewguy.com/ArticleDetails.aspx?articleID=26 along with several other articles to no avail. I am pulling my hair...
1
by: kevin | last post by:
Hi, I'm working with VS 2005 and Framework 2.0 I have a datagrid with a link and the selectedindexchanged will not fire. The page posts back but does nothing. Protected Sub...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
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...
0
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.