Hi. I'm having problems getting the web splitter control to work. I get the contents of the 2 panes but no sizing line between them.
I've read that the web splitter control must be in a ASP.NET AJAX website project. My project is an ASP.NET Web Application. Should that work?
I'm using VS 2008, .NET 3.5, NetAdvantage 8.3 for .NET 3.5, and IE 7.
Thanks for any help.
Hello,
Indeed, C:\Users\Public\Documents\Infragistics\NetAdvantage for .NET 2008 Vol. 3 CLR 2.0\ASP.NET\StyleLibraries\ is the default location where the Infragistics installer puts all the stylesheets. However, it is tough to automatically copy the needed files from this location to your website, so unfortunately you will need to manually copy the Stylesets you use (e.g. Default, something else) to your WebSite.
HTH,
I just did a broader search for the file and found it in
C:\Users\Public\Documents\Infragistics\NetAdvantage for .NET 2008 Vol. 3 CLR 2.0\ASP.NET\StyleLibraries\Default
I created the ig_res\Default\ folder in my project and added the ig_splitter.css file to that folder. The splitter is now working.
Still curious why Infragistics didn't add that to the project when I dropped the WebSplitter on the form?
Thanks.
Thanks Viktor.
I do not have an ig_res folder or ig_splitter.css file in my project so maybe that is the problem. I assumed that Infagistics would add any required files to the project when I dropped the WebSplitter control on my form. If I have to add the files manually, where would I find them? I've searched the Infragistics directory and found many css files under the Styles folder but, none appear related to the WebSplitter control. I've tried reinstalling version 8.3 but that only served to remove Infragistics from my start menu.
In looking at the source I do see the following line:
<link href="/ig_res/default/ig_splitter.css" type="text/css" rel="stylesheet" />
Just don't have the file.
Hi,
The WebSlider and other controls rely on css classes, which should be located at local to project ig_res directory (it can be customized). You may verify that you have ./ig_res/Default and it has ig_splitter.css and images.
You also may look at source of generated html and check if <link> to that css file is rendered (it should be in <head>) and it points to a file which is accessible on server.
Thanks for the response.
Yes, I have a ScriptManager on my page. No, there is no javascript error.
As a further test, I created a new web application project and a new website project. Both are in VB.NET, VS2008 SP1, .NET 3.5, running under Vista 32. In each I created a new web form and dropped both a ScriptManager and a WebSplitter control. The only further change I made was to add a template with "Left" and "Right" to identify that the panes are showing at all. Both projects show me the "Left" and "Right" text but no dynamic sizing of the panels. The complete source of the website project is below:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Assembly="Infragistics35.Web.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<ig:WebSplitter ID="WebSplitter1" runat="server" Height="200px" Width="300px">
<Panes>
<ig:SplitterPane runat="server">
<Template>Left</Template>
</ig:SplitterPane>
<Template>Right</Template>
</Panes>
</ig:WebSplitter>
</div>
</body>
</html>
So, in my original post I asked whether the project had to be a website project or could it be a web application project. I now see my problem isn't related to the project type. The web splitter simply doesn't work on my machine. Any thoughts on why that would be?
Thanks again for any response.