473,659 Members | 3,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I am getting this javascript error "unexpected call to method or property access"

1 New Member
This error coming when i am using telerik grid.It works fine in asp.net grid
what i am trying to do is taking values from textbox and show in grid view...
here is the code:
Expand|Select|Wrap|Line Numbers
  1.  <script language="javascript" type="text/javascript">
  2.  
  3.         function AddItems() {
  4.             var lgrd = document.getElementById('<%=RadGrid1.ClientID%>');
  5.             var ltxtSystemId = document.getElementById('<%=txtSystemId.ClientID%>');
  6.             var ltxtReportTitle = document.getElementById('<%=txtReportTitle.ClientID%>');
  7.             var ltxtsysid = document.createTextNode(ltxtSystemId.value);  //nodevalue =ltxtSystemId.value
  8.             var ltxtRptTtle = document.createTextNode(ltxtReportTitle.value);
  9.             var tr = document.createElement("tr");
  10.             var cell1 = document.createElement("td");
  11.             var celln = document.createElement("td");
  12.  
  13.             cell1.innerHTML = ltxtsysid.nodeValue;
  14.             celln.innerHTML = ltxtRptTtle.nodeValue;
  15.             tr.appendChild(cell1);
  16.  
  17.             tr.appendChild(celln);
  18.             lgrd.firstChild.appendChild(tr);
  19.         }
  20.  
  21. </script>
  22.  
  23.  <asp:TextBox ID="txtSystemId" runat="server" ></asp:TextBox>
  24.         <asp:TextBox ID="txtReportTitle" runat="server" ></asp:TextBox>
  25.         <input type="button" id="btnMinfileNo" style="width:14%;height: 42px;" value="Add" 
  26.         onclick="return AddItems()" />&nbsp;&nbsp;
  27.  
  28.         <asp:GridView ID="GridView1" runat="server"  
  29.         Height="100px" Width="100px" >
  30.         </asp:GridView>
  31.         <telerik:RadGrid ID="RadGrid1" runat="server" >
  32.         </telerik:RadGrid>
  33.  
Nov 24 '09 #1
1 3135
Plater
7,872 Recognized Expert Expert
Sounds like a question for telerik, since it's not a native .NET object.
My guess is you're calling a function not available on that grid object.
Nov 24 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2369
by: inonzuk | last post by:
why strange you ask? here goes: I have been working with Php and Mysql for a week without any problems. Today I tried executing a php page that connects to mysql and creates a new database, I got this error: "Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\test\_debug_tmp.php on line 3". I did some reading on the net and checked all my configuration, and it
0
1433
by: John Phelan | last post by:
I have created a front-end application and back-end database. Everytime that I opened the program in the past, it open just fine with no errors when linking to the back-end tables. lately, I get the following error message whenever I open my application: ERROR: "Method 'Connection' of object '_Current Project' failed. Check to see if you installed the tables used for storing data is in the default directory. -2147024769
0
1476
by: John Phelan Cummings | last post by:
I have created a front-end application and back-end database. Everytime that I opened the program in the past, it open just fine with no errors when linking to the back-end tables. Lately, I get the following error message whenever I open my application: ERROR: "Method 'Connection' of object '_Current Project' failed. Check to see if you installed the tables used for storing data is in the default directory. -2147024769
4
3843
by: John Phelan | last post by:
I have created a front-end application and back-end database. I have code that automatically links the front-end application to the back-end database for whenever I provide a patch or upgrade. Everytime that I opened the program in the past using either Access 2002 and 2003, it open just fine with no errors when linking to the back-end tables. Lately, I get the following error message whenever I open my application:
4
2373
by: John Phelan | last post by:
Continue to get error message. Here is an update of my problem and everything that I have done to correct it. I have created a front-end application and back-end database. I have code that automatically links the front-end application to the back-end database for whenever I provide a patch or upgrade. Everytime that I opened the program in the past using either Access 2002 and 2003, it open just fine with no errors when linking to the...
5
2774
by: awdsites | last post by:
Hi, I'm a noob with a server so keep that in mind :) Been trying to connect with php to mysql and all I get is: "Fatal error: Call to undefined function: mysql_connect()" I've read and read and can't figure out what is wrong. My current set up is:
4
2529
by: dougans | last post by:
Hey there, Hope someone can help me, completely stuck with immigrating from php4 to OOP based php5. == index.php -- include(database.inc.php);
1
2070
by: hhackwell | last post by:
Hi guys, I'm running a simple piece of Javascript on my website to allow users to make an object appear when they want to use it. It works fine but I keep getting this error on IE and although it still works I'd like to figure out what it's referring to so I can get rid of it: "Object doesn't support this property or method" Here is my code:
0
8428
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, 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...
0
8337
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,...
0
8851
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, 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...
0
8748
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 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...
1
6181
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 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...
0
4175
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...
1
2754
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
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
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...

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.