This is a migrated thread and some comments may be shown as answers.

[Solved] Cant open the RadCombo While Publishing it to the IIS Website

1 Answer 67 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
balaji
Top achievements
Rank 1
balaji asked on 16 Jun 2009, 07:15 AM
Hi Folks.
Its been a havoc with Rad Controls coz i face lot of problems in a day.
The Problem was that while Debugging the Project file i mean in the visual studio environment everything works fine.
However if i publish that to my Default iis Website am getting the Page But could not open the Rad Drop Down if i select that.
I Thought there are many Reasons for it and i have even Tried To Troubleshoot one by one
a)Folder permissions or Security-Checked correctly
b)Checking the Code whether the Rad Combo has items -Checked by (Response.Write(RadCombobox1.Items.Count));
c)No IIS Problem.
d)Checked the Browser Settings
Another Error i encounter in the Same Scenario it is that
Actually i have a Textbox and Button where i add the Values to the RadCombo he JavaScript of it is as follows.
function AddNewItem() { 
              
             var combo = $find("<%= RadComboBox2.ClientID %>"); 
             
             var intextput = document.getElementById("addmodule").value; 
             
             var comboItem = new Telerik.Web.UI.RadComboBoxItem(); 
             comboItem.set_text(intextput); 
             combo.trackChanges(); 
             combo.get_items().add(comboItem); 
             comboItem.select(); 
             combo.commitChanges(); 
             comboItem.scrollIntoView(); 
             document.getElementById('addmodule').style.display = 'none'
             document.getElementById('Additem').style.display = 'none'
         } 

Now am Getting The  Runtime Error in The First Line in ie while Trying to Debug it took me to VS 2008 environment with iexplore.exe.
Strange thing is that While Debugging  my code happens like this and Shows Error "Not Defined"
  function AddNewItem() { 
             var combo = $find("RadComboBox1"); 
             
             var intextput = document.getElementById("addmodule").value; 
             
             var comboItem = new Telerik.Web.UI.RadComboBoxItem(); 
             comboItem.set_text(intextput); 
             combo.trackChanges(); 
             combo.get_items().add(comboItem); 
             comboItem.select(); 
             combo.commitChanges(); 
             comboItem.scrollIntoView(); 
             document.getElementById('addmodule').style.display = 'none'
             document.getElementById('Additem').style.display = 'none'
         } 
Can you see the difference.
Plz Help me to Solve this probs as it is a ShowStopper for my proj.
Thanks
Regards
N.Balaji



1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 16 Jun 2009, 12:33 PM
Hello balaji,

First thing you could check is whether Telerik.Web.UI.dll is deployed on your web site. It should be in the bin folder. Then check for any javascript errors which may occur.

Ideally you could open a support ticket and send us the problematic page. We will troubleshoot it.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
balaji
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or