Hi,
after adding the RadFormDecorator to my project MasterPage, I've noticed this strange behavior: in every DropDownList that doesn't have any element, the word 'undefined' is displayed.
Here's a simple page that shows this behavior:
Is there any way to avoid this?
Thanks
after adding the RadFormDecorator to my project MasterPage, I've noticed this strange behavior: in every DropDownList that doesn't have any element, the word 'undefined' is displayed.
Here's a simple page that shows this behavior:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DropDownList_undefined._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
>Untitled Page</
title
>
</
head
>
<
body
>
<
form
action
=
"Default.aspx"
runat
=
"server"
>
<
telerik:RadScriptManager
runat
=
"server"
id
=
"sm1"
></
telerik:RadScriptManager
>
<
telerik:RadFormDecorator
ID
=
"RadFormDecorator1"
runat
=
"server"
DecoratedControls
=
"all"
/>
<
asp:DropDownList
runat
=
"server"
ID
=
"ddlEmpty"
Width
=
"150px"
></
asp:DropDownList
>
<
asp:DropDownList
runat
=
"server"
ID
=
"ddlPopulated"
Width
=
"150px"
>
<
asp:ListItem
Text
=
"Item1"
Value
=
"Item1"
></
asp:ListItem
>
<
asp:ListItem
Text
=
"Item2"
Value
=
"Item2"
></
asp:ListItem
>
</
asp:DropDownList
>
</
form
>
</
body
>
</
html
>
using
System;
using
System.Data;
using
System.Configuration;
using
System.Collections;
using
System.Web;
using
System.Web.Security;
using
System.Web.UI;
using
System.Web.UI.WebControls;
using
System.Web.UI.WebControls.WebParts;
using
System.Web.UI.HtmlControls;
namespace
DropDownList_undefined
{
public
partial
class
_Default : System.Web.UI.Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
}
}
}
Is there any way to avoid this?
Thanks