dlavar
asked on
Problem generating combo box in Visual Studio 2008
Whenever I try to add a combo box from the AJAX toolkit, I get this gray box that says,
"There was an error rendering the control. Request is not available in this context"
How can I solve this problem?
"There was an error rendering the control. Request is not available in this context"
How can I solve this problem?
Post your code
BTW, what version of Framework, Visual Studio, etc.
ASKER
I don't have much code since this is my first 2008 application, but here's the html.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit.HTMLEditor" tagprefix="cc2" %>
<!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>
<style type="text/css">
.style1
{
width: 100%;
border: 1px solid #000000;
}
#Text1
{
width: 32px;
}
#Text2
{
width: 29px;
}
#Text3
{
width: 47px;
}
.style2
{
width: 127px;
}
#txtphone1
{
width: 31px;
}
#txtphone2
{
width: 34px;
}
#txtphone3
{
width: 43px;
}
#txtfax1
{
width: 32px;
}
#txtfax2
{
width: 36px;
}
#txtfax3
{
width: 41px;
}
.style3
{
width: 192px;
}
.style4
{
width: 125px;
}
</style>
<script language="javascript" type="text/javascript">
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:RadioButtonList ID="radCertificationType" runat="server">
<asp:ListItem>Initial Certification/$1000</asp:ListItem>
<asp:ListItem>3 Year Renewal/$1000</asp:ListItem>
<asp:ListItem>Corrective Filing (No Fee Required)</asp:ListItem>
</asp:RadioButtonList>
<table class="style1" border="0">
<tr>
<td class="style2">
<asp:Label ID="Label2" runat="server" Text="Company Name:"></asp:Label>
</td>
<td class="style3">
</td>
<td class="style4">
</td>
<td>
</td>
<td>
</td>
</tr>
ASKER
Microsoft Visual Studio 2008
Version 9.0
Microsoft.NET Framework
Version 3.5 SP1
Version 9.0
Microsoft.NET Framework
Version 3.5 SP1
Did you find a solution to your problem?
ASKER
Yes, the combobox simply doesn't show up in design view, but when it linked to a datasource and viewed in browser it works just fine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://forums.asp.net/t/1423370.aspx
Apparently there is an error using Combobox in design mode in certain system configurations... They are aware and maybe fixing it?
NY