473,499 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BC30456: not a member of 'ASP.default_aspx" - 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_aspx"

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 7180
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 "RegisterClientScriptBlock" 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
2666
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...
2
1836
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"...
9
8231
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...
3
5946
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...
2
7570
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...
22
7146
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...
2
9004
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...
3
18223
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"...
0
7007
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...
0
7174
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
7220
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
7388
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...
1
4919
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...
0
4600
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...
0
3099
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...
0
1427
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 ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.