Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello,
I am using the ComboBox from the AjaxControlToolkit 15.1 in VS2013. However I getting the following error in design mode when I drag the scriptmanager and comboBox to the webform:

ComboBox - ComboBox1

there was an error rendering the control.

Value cannot be null. Parameter name: stream


When I try running it the dropdown appears outside of the textbox. Can anyone tell me what the problem is. Tried changing the Render mode to Block , but this does not resolve the issue. Call ComboBox definition below

any help would be very much appreciated

regards
Pat

XML
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 19px">

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>

    </div>
        <cc1:ComboBox ID="ComboBox1" runat="server">
        </cc1:ComboBox>
    </form>
</body>
</html>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900