473,770 Members | 2,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BC30456: not a member of 'ASP.default_as px" - ASP.NET

polymorphic
28 New Member
I have a javascript function which I am trying to call in an ASP.NET page but I receive the following error:

"BC30456: 'FixComboHeight is not a member of 'ASP.default_as px"

Javascript Function:

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2. function FixComboHeight()  
  3. {
  4. var combo =<%=cbMSDivision.ClientID%>;   
  5. combo.FixUp(combo.InputDomElement,true);      
  6. }          
  7. </script>
...........
ComboBox Code:

Expand|Select|Wrap|Line Numbers
  1. <td align="left" style="width: 325px" valign="middle">
  2.  
  3. <radC:RadComboBox ID="cbBusDivision" runat="server" OnLoad="FixComboHeight" Skin="Office2007" SkinsPath="~/Telerik/RadControls/ComboBox/Skins" Width="300px" DataSourceID="BusinessDivisionDS" DataTextField="Bus_Div_Name" DataValueField="Bus_Div_ID" Enabled="False" ToolTip="Microsoft Business Division">                                        
  4. </radC:RadComboBox>
  5. </td> 
What do I need to do to assure that "FixComboHeight " is registered or called properly?
Mar 28 '08 #1
2 7225
DrBunchman
979 Recognized Expert Contributor
Hi polymorphic,

Just so as you know, this is a Classic ASP forum - the .NET forum is where all ASP.NET questions should go.

It looks to me like you're trying to call a javascript function from a server event which isn't possible. Remember that javascript is a client side language but your combo box is created on the server.

What is it you're actually trying to do? Change the height of the combobox dynamically?

Dr B
Mar 28 '08 #2
polymorphic
28 New Member
Hi polymorphic,

Just so as you know, this is a Classic ASP forum - the .NET forum is where all ASP.NET questions should go.

It looks to me like you're trying to call a javascript function from a server event which isn't possible. Remember that javascript is a client side language but your combo box is created on the server.

What is it you're actually trying to do? Change the height of the combobox dynamically?

Dr B
Ok, thanks. I'm still transitioning into ASP.NET.

I have a comboBox that I need to modify the height. I do not know where to all the JavaScript from. I tried using the "RegisterClient ScriptBlock" in the code-behind but was unable to get that to work due to my lack of experience.
Mar 28 '08 #3

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

Similar topics

5
2678
by: Nimmi Srivastav | last post by:
When I was learning C, I learned that the data type of a function name by itself is a function pointer. For example int someFunction(char* str) { .... }
0
511
by: Ari Royce Hidayat | last post by:
Dear ALL, Is there some one ever faces this problem? And fix it? The scenario is: There's an html page that hosts a .net object (using object tag), and this page opens the second html page that also hosts a .net object (e.g. by click a hyperlink).
2
1856
by: Andy Norman | last post by:
I have a strange problem. When I try to call the input property of the MSXML processor object from VBScript in an ASPX page I get the error "Member not found". The same code (with a few "set" statements added) works find in ASP. What on earth is going on ? I can't find anything in the knowledge base on it.
9
8256
by: tropostropos | last post by:
On Solaris, using the Sun compiler, I get annoying warnings from the following code. The problem is that I am passing a C++ member function pointer to the C library function qsort. Is there a solution? Declaring the function extern "C" fails, because linkage declarations must be made at file scope. #include <stdlib.h> //for qsort template <class T> class Sorter
3
5962
by: Dave | last post by:
Greetings All, I have never seen this error before, and after an extensive search of Groups, I cannot find a satisfactory answer to my basic question. What exactly does "is not a member of 'String'" mean specifically? I am developing in VB.NET and I was using the Collection datatype to store property and object values. However, another group where I work decided to use C#, and they want to use my base library objects. From
2
7608
by: johkar | last post by:
Why does if(win==null || win.closed) return true after one PDF is open. Something very wierd going on with IE 6. I also get a member not found error if a child window is already open. This script works fine if the child window contains HTML, just not a PDF. Ideas? Note: These are not my PDFs, I just found some on the Net so you could test. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
22
7213
by: kkk1979 | last post by:
I am not an experienced programmer. I am getting an error as "method or data member not found" when i entered the following code in buttonclick procedure of the toolbar. select case button.key case "btn1" msgbox "" case "btn2" msgbox "" end end select Can anybody help me in figuring out this problem
2
9016
by: snester | last post by:
Hi, I am using visual studio 2005 and recently created a new web service project. I seem to have edited the global config file (inadvertently) somewhere along the line. All new projects I have created since the above web service project have generated two errors while debugging. The first error, I believe I have fixed but I cannot fix the second error. I mention the first error below incase it is the cause of the second error.. 1)...
3
18239
by: andersond | last post by:
I want input objects to have a light yellow background when they have focus. Here's how I call my function: input name="monthsVacant" id="monthsVacant" disabled="disabled" onFocus="yellowOn('monthsVacant')" And here's my function. function yellowOn(vObject){
0
9591
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
9425
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
10057
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
10002
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,...
0
9869
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8883
agi2029
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...
1
7415
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
6676
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();...
1
3970
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

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.