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

[Solved] RadCombobox throwing exception in Safari Browser.

12 Answers 220 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Mittal
Top achievements
Rank 1
Mittal asked on 01 Jun 2009, 11:19 AM
Hi, 
 

We are using Q1 2007 version controls. We are getting problem with combo box in safari browser.

When we try to write some text in editable combo box, safari browser throws unhandled exception (xp, vista OS) and web application gets hanged. While,in Mac OS, browser gets closed for this same scenario.
Error message is: “Safari Web Browser has encountered a problem and needs to close” Also we are not able to track that where problem is occurring.  For other browsers (IE 6/7, Fire fox), its working perfectly fine. 

My combo box declaration is like this :

 

<

 

radC:RadComboBox ID="ddlUDC1" Skin="Default2006" Height="60px" runat="server" Width="200px" DropDownWidth="187px" meta:resourcekey="ddlUDC1Resource1" SkinsPath="~/RadControls/ComboBox/Skins" MarkFirstMatch="true" >

 

 

</radC:RadComboBox>

 

 

 

 

Please suggest solution for this.
Please note we want to continue with Q1 2007 version only. We do not want to upgrade it.

Any help on this will be appreciated.

Thanks,
Mittal

  

12 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 01 Jun 2009, 12:28 PM
Hi Mittal,

It seems you are using quite old version the 'Classic' RadComboBox for ASP.NET. We are not able to reproduce the issue on our live demos which are using the latest version of the control. I'd suggest you upgrade to the latest version of the control and let us know how it goes.

Greetings,
Paul
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.
0
Mittal
Top achievements
Rank 1
answered on 20 Jun 2009, 03:52 AM
Hey,
       Thanks paul for the reply.
      

       I have seen your live demo and yes its working fine.

 

       But as I have mentioned earlier also, we can’t upgrade our controls. So could you please suggest some workaround for Q1 2007   version controls.

 

        If you can suggest some “patch” or some code we need to add in our controls then also it will be good help for us.

 

        Any help on this, would be great help for us.

 

Thanks,

Mittal M

Patni Computer Systems Ltd, Mumbai (India).




0
Paul
Telerik team
answered on 23 Jun 2009, 02:28 PM
Hello Mittal,

Obviously you've hit an issue in the control that is already resolved. Therefore, the only solution in this case is to upgrade to the latest version of RadComboBox for ASP.NET "Classic".

All the best,
Paul
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.
0
Mittal
Top achievements
Rank 1
answered on 06 Jul 2009, 01:11 PM

Hi Paul,
            As I said earlier also, We cant upgrade our controls.
           
            But after doing some research and debugging , We have understood that because of following code, safari browser is getting crashed.
           
            (ComboBox\Scripts\2_8_1\RadComboBox.js)
            RadComboBox.prototype.SetText=function(_5e){
            ....
            this.InputDomElement.value=_5e;
           
              "_5e" Value is coming blank and its not handled for safari.

            Now we have handled this problem and its working fine.
           
            Now Our headache is, We have used combo box in almost each page of our web application and in order to get this change in effect,   we have to add ' UseEmbeddedScripts ="false" ' in all combox instances. Obliviously, it will be very time consuming and somehow not feasible.
          
           So can you suggest any way/ solution to get this code in effect with minimal effort.....

 

            Again, I am summarizing the problem,

 

  1. We have added RadControld folder in our web application.
  2. We have made some changes in ComboBox\Scripts\2_8_1\RadComboBox.js file.
  3. To use this code we have to set UseEmbeddedScripts ="false" property in each control instances.
  4. We have used combo boxes at several places. We have to go and change this property in each instances.

 

Please let me know what can be best feasible way to fix this.

Thanks,
Mittal M
Patni Computer Systems Ltd, Mumbai (India)





0
Simon
Telerik team
answered on 06 Jul 2009, 02:12 PM
Hi Mittal,

The easiest solution would be to change the JavaScript source code itself and re-build the control dll. Then you could simply update the dll in your application without modifying any pages.

Another solution would be to inherit from the current version of the control and emit your patched script, overriding the original code (i.e. RadComboBox.prototype.SetText = [your function]). Then again, you could build this new control in a dll and use it across your application.

Greetings,
Simon
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Mittal
Top achievements
Rank 1
answered on 07 Jul 2009, 06:21 AM
Hi Simon,

Thank you for your reply.  However,  I am not sure how to build the dll because, I don't have source code for telerik controls.

I will really appreciate your quick response.

Best regards,
Mittal
Patni Computer Systems Ltd, Mumbai(India)
0
Simon
Telerik team
answered on 13 Jul 2009, 03:06 PM
Hello Mittal,

In this case you still have the second option:

"[...] inherit from the current version of the control and emit your patched script, overriding the original code (i.e. RadComboBox.prototype.SetText = [your function]). Then again, you could build this new control in a dll and use it across your application."

Best wishes,
Simon
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Praveen Katta
Top achievements
Rank 1
answered on 28 Dec 2009, 02:15 PM
Hi Mittal,
I am facing the same problem...safari is throwing an unhandled exception.
Can you please explain me step by step how to achive this...
0
Praveen Katta
Top achievements
Rank 1
answered on 28 Dec 2009, 02:18 PM
Hi Paul,
How to upgrade to the latest version of RadComboBox. Is that free or we need to buy the upgrade version
Please reply me as soon as possible, it's very urgent for me.
Thanks in advance.
0
Veselin Vasilev
Telerik team
answered on 29 Dec 2009, 10:01 AM
Hi Praveen Katta,

You can download it from Your Account section in our web site.

Greetings,
Veskoni
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Praveen Katta
Top achievements
Rank 1
answered on 29 Dec 2009, 01:20 PM
Hi Veskoni,
Thanks for your reply...please give me the path from where I could download the Combobox upgraded dll version.
I have logged into my account section in your site www.telerik.com but unable to find it.

Thanks in advance,
Praveen Katta
0
Veselin Vasilev
Telerik team
answered on 04 Jan 2010, 09:20 AM
Hello Praveen Katta,

Login to www.telerik.com and go to this address (latest internal build for ASP.NET Ajax controls).

Kind regards,
Veskoni
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Mittal
Top achievements
Rank 1
Answers by
Paul
Telerik team
Mittal
Top achievements
Rank 1
Simon
Telerik team
Praveen Katta
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or