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

Unable to open Radwindow

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shruti
Top achievements
Rank 1
Shruti asked on 26 Jul 2011, 12:48 PM
HI,
  
<telerik:GridHyperLinkColumn HeaderStyle-Width="160px" DataTextFormatString="'{0}'"
                                        ItemStyle-HorizontalAlign="Center" DataNavigateUrlFields="ItemCode" UniqueName="ItemCode"
                                        DataNavigateUrlFormatString="javascript:OpenItemCode('{0}');" HeaderText="Item Code"
                                        DataTextField="ItemCode" />


This is a column in my directly bound grid.

This form has been opened from menu

Now i want to open another form from the menu using the above hyperlink

the following is the script for the code mentioned above

  function OpenItemCode(index)
 {
                var cmbcolItemNo = index;
  if (cmbcolItemNo != "")
 {
                    GetRadWindow().BrowserWindow.OpenWindow('Warehousing/frmItemMaster.aspx?ItemCode=' + cmbcolItemNo, "ItemMaster", "Images/square.png");
                }
 }

this code works perfectly in IE but does not work in Chrome
 Please give me some suggestion to solve this problem

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 27 Jul 2011, 12:23 PM
Hi Shruti,

  I tried your code and it works as expected both under IE and Chrome: http://screencast.com/t/5deN9Lru. Please make sure that there is no other JavaScript error in your custom JavaScript code that manifests itself under Chrome, as it would break the execution of this function as well. As a reference I have attached my test page. Please compare your actual project with it and try to locate any differences.


Regards,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Shruti
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or