Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 1st, 2007, 09:25 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET Help

I cannot open the RAD splitter anyone help please. It shows me an erorr in the bottom of the page.


Thanks

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Import Namespace ="Telerik.WebControls" %>

<%@ Register Assembly="RadSplitter.Net2" Namespace="Telerik.WebControls" TagPrefix="radspl" %>

<!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>My page </title>
</head>

<script runat ="server">

public void Page_Load(object sender, EventArgs e)
{
  RadSplitter splitter = new RadSplitter(); // creating splitter
  splitter.ID = "RadSplitter1"; // with id = RadSplitter1
  splitter.Width = new Unit("300px"); // width of the splitter
  splitter.Height = new Unit("400px"); // height of the splitter
  splitter.Orientation = RadSplitterOrientation.Horizontal; // splitter orientation


  form1.Controls.Add(splitter);
}

    </script>
<body>
    <form id="form1" runat="server">
    <div>

<radspl:radsplitter runat="server" id="RadSplitter1" orientation="Vertical" width="400px" height="300px">

</radspl:radsplitter>


    </div>
    </form>
</body>
</html>







Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 3.5 answers in Professional ASP.NET 3.5 jminatel ASP.NET 3.5 Professionals 1 August 22nd, 2011 07:34 AM
Turning a regular ASP.NET App into an AJAX ASP.Net donrafeal7 Ajax 2 August 31st, 2007 12:33 AM
Database diagram in .net using asp.net,c#.net scotttiger ADO.NET 2 February 16th, 2005 01:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.