or
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> <div> <telerik:RadComboBox ID="haulerDropDown" runat="server" DataSourceID = "haulerDataSource" DataTextField="Text" DataValueField="Value" AllowCustomText="true" Width="200" > </telerik:RadComboBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="haulerDropDown" ValidationGroup="HeaderValidationGroup" ErrorMessage="'Hauler' is required" Text="*" ForeColor="Red" /> </div> <asp:Button ID="Button1" runat="server" Text="Button" ValidationGroup="HeaderValidationGroup" /> <asp:ObjectDataSource ID="haulerDataSource" runat="server" SelectMethod="Hauler" TypeName="App.DropDowns"> </asp:ObjectDataSource> </form> </body></html>Option Strict OnOption Explicit OnPartial Class _Default Inherits System.Web.UI.Page Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim _value As String = haulerDropDown.SelectedValue Dim _i As Integer = 1 End SubEnd ClassOption Strict OnOption Explicit OnImports Microsoft.VisualBasicNamespace App Public Class DropDown Public Property Value() As String Public Property Text() As String Public Property Selected() As Boolean Public Sub New() Me.Value = "" Me.Text = "" Me.Selected = False End Sub Public Sub New(ByVal value As String, ByVal text As String) Me.Value = value Me.Text = text Me.Selected = False End Sub Public Sub New(ByVal value As String, ByVal text As String, ByVal selected As Boolean) Me.Value = value Me.Text = text Me.Selected = selected End Sub End Class ' Public Class DropDowns Public Function Hauler() As List(Of DropDown) Dim _dropDown As List(Of DropDown) = _ New List(Of DropDown) From { _ New DropDown With {.Value = "9 Point", .Text = "9 Point"}, _ New DropDown With {.Value = "R. A.", .Text = "R. A."}, _ New DropDown With {.Value = "A. B.", .Text = "A. B."}, _ New DropDown With {.Value = "B. C.", .Text = "B. C."}, _ New DropDown With {.Value = "Beck", .Text = "Beck"}} Return _dropDown End Function End ClassEnd NamespaceHi All, Recently we migrated one of our web solution from visual studio 2005 to visual studio 2013. In this conversion we are not upgrading our DLLs (including RAD and Telerik), DLLs are having same old versions. Our target framework is .Net FrameWork 2.0. Our application is not working properly with RAD controls in browsers like IE8+, Chrome, Mozilla etc. Mainly we are facing issue with window.radopen. Instead of showing Pop-Ups, Its throwing error in Browsers.We have attached Error Image of respective browser:A. IE 8+: error_IE8+.pngB. Chrome: error_Chrome.pngC. Mozilla: error_Mozilla.png
We are using RadWindow.Net2 of version 1.6.1.0 and using following function to open Popup , the same function and our web solution with same DLLs is working fine in IE 8 and IE7.function Show(flgURL,windowName){ try{ var oWidth=400; var oHeight=320; var oWnd = window.radopen(null, windowName ); var sUrl = flgURL; oWnd.SetSize (oWidth,oHeight); oWnd.Top= 100; oWnd.SetStatus(" "); oWnd.SetUrl(sUrl); return false; }catch(err) { alert(err); } } Please suggest us any suitable solution to resolve this issue.Hi All, Recently we migrated one of our web solution from visual studio 2005 to visual studio 2013. In this conversion we are not upgrading our DLLs (including RAD and Telerik), DLLs are having same old versions.
Our target framework is .Net FrameWork 2.0. Our application is not working properly with RAD controls in browsers like IE8+, Chrome, Mozilla etc.Mainly we are facing issue with window.radopen. Instead of showing Pop-Ups, Its throwing error in Browsers.We have attached Error Image of respective browser:A. IE 8+: error_IE8+.pngB. Chrome: error_Chrome.pngC. Mozilla: error_Mozilla.png
We are using RadWindow.Net2 of version 1.6.1.0 and using following function to open Popup , the same function and our web solution with same DLLs is working fine in IE 8 and IE7.
function Show(flgURL,windowName){ try{ var oWidth=400; var oHeight=320; var oWnd = window.radopen(null, windowName ); var sUrl = flgURL; oWnd.SetSize (oWidth,oHeight); oWnd.Top= 100; oWnd.SetStatus(" "); oWnd.SetUrl(sUrl); return false; }catch(err) { alert(err); } }