Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
It appears the image editor is saving images as .png files. Is there a way to save it as other file types (.jpg, .gif, etc). Also when saving as .jpg is it possible to set the compression/optimization?

Thanks,
Tim
Rumen
Telerik team
 answered on 13 Feb 2012
1 answer
94 views
I upgraded to Q3 2011 and in the processing of porting my applications over from an older version (2007).

The problem is the following - when I restore a RadWindow, the contents of the window goes back its initial configuration.

Ive done this simple test - a aspx page with just just one control - a test box.  I call it into a RadWindow - the text box is blank.  I enter some text, minimise it and the restore it.  The test box is blank.  It appears to do a call back even thought ive added the line  'If Page.IsPostBack = True then Exit Sub' in the Page_Load event.  The Text box is in an UpdatePanel .

The text is retained if I run it in IE8 (or in IE9 using the 2007 controls)




Marin Bratanov
Telerik team
 answered on 13 Feb 2012
1 answer
103 views
Are there any examples out there on how to inherit from RadTreeView?  I want override both the server side component AND the client side AJAX component.

I can easily override the server side component, but the problem being that both RadTreeView & MyTreeView has their own AJAX component and I am running into problems when radTreeView fires onCollapsed, the variables initialized in MyTreeView AJAX component are null.

So I really would like to have myTreeView AJAX component inherit from the RadTreeView AJAX component.  After inheriting from RadTreeVIew is there a way to turn off the AJAX component and just use the inherited one from MyTreeView?
Simon
Telerik team
 answered on 13 Feb 2012
2 answers
146 views
Hi,
I have a serious problem filtering a GridDateTimeColumn in a dynamically created grid. I tried to correct it following this article:
http://www.telerik.com/help/aspnet/grid/grdfilteringfordatetimecolumnwithdataformatstring.html 
but with no result. I use german culture and maybe that is the cause for the problem.

Is there any known issue with that?

Here is the code for creating the grid:

private void createGrid()
{
    RadGrid grid = new RadGrid();
    this.rgWorkflows = grid;
    setGridProperties(grid);           
}
 
private void setGridProperties(RadGrid grid)
{
    grid.ID = "rgWorkflows";
    grid.EnableViewState = true;
    grid.AutoGenerateColumns = false;
    grid.AllowSorting = true;
    grid.AllowPaging = true;
    grid.AllowFilteringByColumn = false;
    grid.GridLines = GridLines.None;
    grid.Width = Unit.Percentage(99.8);
    grid.Height = Unit.Percentage(99.8);
    grid.HeaderStyle.Width = Unit.Pixel(150);
    grid.AllowMultiRowSelection = true;
    grid.MasterTableView.PagerStyle.Mode = GridPagerMode.NextPrevNumericAndAdvanced;
    grid.ClientSettings.EnableRowHoverStyle = true;
    grid.ClientSettings.Selecting.AllowRowSelect = true;
    grid.ClientSettings.Scrolling.AllowScroll = true;
    grid.ClientSettings.Scrolling.UseStaticHeaders = true;
    grid.ClientSettings.Scrolling.SaveScrollPosition = true;
    grid.ClientSettings.Resizing.AllowColumnResize = true;
    grid.ClientSettings.Resizing.ClipCellContentOnResize = false;
    grid.ClientSettings.Resizing.EnableRealTimeResize = true;
    grid.ClientSettings.Resizing.ResizeGridOnColumnResize = true;
    grid.MasterTableView.DataKeyNames = new string[] { "Id" };
    grid.MasterTableView.OverrideDataSourceControlSorting = true;
    grid.PagerStyle.AlwaysVisible = true;
    if (!IsPostBack)
    {
        grid.MasterTableView.PageSize = 15;
    }
    grid.GroupingSettings.CaseSensitive = false;
    grid.MasterTableView.PagerStyle.Width = 1000;
    grid.MasterTableView.OverrideDataSourceControlSorting = true;
    grid.MasterTableView.EnableColumnsViewState = false;
    grid.AllowFilteringByColumn = true;
 
    grid.AllowMultiRowSelection = false;
 
}


The grid's column are dynamically created like this one:

public static void AddDateTimeFieldToGridView(string fieldName, string headerText, RadGrid grid, int? width)
{
    GridDateTimeColumn dtc = new GridDateTimeColumn()
    {
        HeaderText = headerText,
        DataField = fieldName
    };
    dtc.SortExpression = fieldName.Trim();
    dtc.AllowSorting = true;
    dtc.Resizable = true;
    dtc.UniqueName = fieldName;
    dtc.DataFormatString = "{0:dd.MM.yyyy}";
    dtc.PickerType = GridDateTimeColumnPickerType.DateTimePicker;
    dtc.UniqueName = fieldName;
    if (width != null)
    {
        dtc.HeaderStyle.Width = width.Value;
    }
    grid.Columns.Add(dtc);
}


And the code for the correction I have tried is this (which is executed in ItemCommand event):


private static void setDateFilterPattern(GridCommandEventArgs e, RadGrid grid, string fieldName, string columnUniqueName)
 {
     if (e.CommandName == RadGrid.FilterCommandName
         && ((Pair)e.CommandArgument).Second.ToString() == columnUniqueName
         && ((Pair)e.CommandArgument).First.ToString() != "NoFilter"
         && grid != null)
     {
         e.Canceled = true;
         GridFilteringItem filterItem = (GridFilteringItem)e.Item;
         string currentPattern = (filterItem[((Pair)e.CommandArgument).Second.ToString()].Controls[0] as RadDatePicker).SelectedDate.Value.ToShortDateString();
         string filterPattern = "";
         string filterOption = (e.CommandArgument as Pair).First.ToString();
         GridBoundColumn dateColumn = (GridBoundColumn)e.Item.OwnerTableView.GetColumnSafe(columnUniqueName);               
         filterPattern = currentPattern;
         switch (filterOption)
         {
             case "EqualTo":
                 var dateTime = Convert.ToDateTime(filterPattern);
                 filterPattern = String.Format("[" + fieldName + "] > '{0}' AND [" + fieldName + "] < '{1}'", filterPattern,
                     dateTime.AddDays(1).ToShortDateString());
                 dateColumn.CurrentFilterFunction = GridKnownFunction.EqualTo;
                 break;
             case "NotEqualTo":
                 var dateTime1 = Convert.ToDateTime(filterPattern);
                 filterPattern = String.Format("[" + fieldName + "] < '{0}' OR [" + fieldName + "] > '{1}'", filterPattern,
                     dateTime1.AddDays(1).ToShortDateString());
                 dateColumn.CurrentFilterFunction = GridKnownFunction.NotEqualTo;
                 break;
             case "GreaterThan":
                 filterPattern = "[" + fieldName + "] > '" + filterPattern + "'";
                 dateColumn.CurrentFilterFunction = GridKnownFunction.GreaterThan;
                 break;
             case "LessThan":
                 filterPattern = "[" + fieldName + "] < '" + filterPattern + "'";
                 dateColumn.CurrentFilterFunction = GridKnownFunction.LessThan;
                 break;
             case "GreaterThanOrEqualTo":
                 var dateTime2 = Convert.ToDateTime(filterPattern);
                 filterPattern = String.Format("[" + fieldName + "] > '{0}' AND [" + fieldName + "] < '{1}' OR [" + fieldName + "] >= '{0}'",
                     filterPattern, dateTime2.AddDays(1).ToShortDateString());
                 dateColumn.CurrentFilterFunction = GridKnownFunction.GreaterThanOrEqualTo;
                 break;
             case "LessThanOrEqualTo":
                 var dateTime3 = Convert.ToDateTime(filterPattern);
                 filterPattern = String.Format("[" + fieldName + "] > '{0}' AND [" + fieldName + "] < '{1}' OR [" + fieldName + "] <= '{0}'",
                     filterPattern, dateTime3.AddDays(1).ToShortDateString());
                 dateColumn.CurrentFilterFunction = GridKnownFunction.GreaterThanOrEqualTo;
                 break;
             case "IsNull":
                 filterPattern = "[" + fieldName + "] IS NULL";
                 dateColumn.CurrentFilterFunction = GridKnownFunction.IsNull;
                 break;
             case "NotIsNull":
                 filterPattern = "NOT ([" + fieldName + "] IS NULL)";
                 dateColumn.CurrentFilterFunction = GridKnownFunction.NotIsNull;
                 break;
         }
         foreach (GridColumn column in grid.MasterTableView.Columns)
         {
             if (column.UniqueName != columnUniqueName)
             {
                 column.CurrentFilterFunction = GridKnownFunction.NoFilter;
                 column.CurrentFilterValue = string.Empty;
             }
         }
         dateColumn.CurrentFilterValue = currentPattern;
         grid.MasterTableView.FilterExpression = filterPattern;
 
         filterItem.OwnerTableView.Rebind();
     }
 }

I have to admit that I have to use an old version of Telerik controls (Q3/2010 .NET 2.0) because the project needs to run under Mono.
Any help on this would be appreciated.

Best regards
Ferdinand 
Ferdinand
Top achievements
Rank 1
 answered on 13 Feb 2012
3 answers
107 views

When i pop up a radwindow modally, U can still click the rad menu below.

Goto www.iytworldwide.com click on master files | courses then double click any course. The window will pop up, but i can still clik the menu.

bug?
Svetlina Anati
Telerik team
 answered on 13 Feb 2012
1 answer
111 views
Hi,

i'm trying to filter a Grid using the RadComboBox with Checkbox's.

I could able to get the selected items vlaues in the server side.... but unable to apply the filter to the Grid.
i guess, Problem is with the Filter Expression. No errors/Exceptions

sample code... on click of a button inside the RadComboBox <FooterTemplate> ....
<<ascx.cs>>
     rgAccounts.MasterTableView.FilterExpression = (string)ViewState["FilterExpr"];
     rgAccounts.MasterTableView.Rebind();

where computed value of :
        (string)ViewState["FilterExpr"] =  "(AccountNums] IN (1203, 2344)"

 Pls let me know how to fix this.



Princy
Top achievements
Rank 2
 answered on 13 Feb 2012
5 answers
77 views
Hi

I have a panelbar with some dynamic controls and when the page loads, the scrollbar is rendered normally, but if i change to another panelbar without scrollbar and then comeback to the initial panelbar the scrollbar is not rendered.

I was looking in your samples and i found the same error here:

http://demos.telerik.com/aspnet-ajax/panelbar/examples/functionality/scrolling/defaultcs.aspx

This only happens in Firefox 5.0 using asp.net ajax controls Q2 2011

Thanks for your help

Kate
Telerik team
 answered on 13 Feb 2012
1 answer
75 views
Can you help? My grid filters perfectly columns with numerical data, but character data with the following message appears:
Runtime Error in Microsoft JScript:Sys.WebForms.PageRequestManagerServerErrorException:Exception has Been thrown by the target of an invocation.
I am using in choose data source: Linq .. Help! 

Sorry for bad english ...
Andrey
Telerik team
 answered on 13 Feb 2012
5 answers
169 views
I just noticed a strange behavior in the RadNumericTextBox. If a user wants to enter ".50" and they type "." and then "50", the decimal point automatically moves itself from the beginning of the sequence to the end. So the user ends up with "50" instead of ".50". Any idea around this?
Vasil
Telerik team
 answered on 13 Feb 2012
3 answers
141 views
Hello,
I use the Microsoft CRM Dynamics where I implement custom page using the splitter.
I have activate the CRM outlook Offline for my projet where I have the same page like in my CRM Online.
Whene I'm in offline outlook use Cassini for use the crm Offline and my custom page.
When the page custom load I have a Javascript error : Microsoft JScript runtime error: 'Telerik' is undefined
This is the error at the first line : Telerik.Web.UI.RadSplitter._preInitialize("UC_ElementMaster1_SplitterFrame")
<script type="text/javascript">
<!--
Telerik.Web.UI.RadSplitter._preInitialize("UC_ElementMaster1_SplitterFrame");Telerik.Web.UI.RadPane._preInitialize("UC_ElementMaster1_LeftPane", "UC_ElementMaster1_SplitterFrame", "", "UC_ElementMaster1_VerticalSplitBar",  0, 0, "False");
WebForm_InitCallback();var UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data = new Object();
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.images = UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_ImageArray;
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.collapseToolTip = "Collapse {0}";
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.expandToolTip = "Expand {0}";
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.expandState = theForm.elements['UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_ExpandState'];
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.selectedNodeID = theForm.elements['UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_SelectedNode'];
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.hoverClass = 'UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_3';
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.hoverHyperLinkClass = 'UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_2';
for (var i=0;i<6;i++) {
var preLoad = new Image();
if (UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_ImageArray[i].length > 0)
preLoad.src = UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_ImageArray[i];
}
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.lastIndex = 0;
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.populateLog = theForm.elements['UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_PopulateLog'];
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.treeViewID = 'UC_ElementMaster1:UC_TreeviewElement1:treeviewElement';
UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data.name = 'UC_ElementMaster1_UC_TreeviewElement1_treeviewElement_Data';
Telerik.Web.UI.RadSplitBar._preInitialize("UC_ElementMaster1_VerticalSplitBar", "UC_ElementMaster1_SplitterFrame", "UC_ElementMaster1_LeftPane", "UC_ElementMaster1_ContentPane", 1, 0);Telerik.Web.UI.RadPane._preInitialize("UC_ElementMaster1_ContentPane", "UC_ElementMaster1_SplitterFrame", "UC_ElementMaster1_VerticalSplitBar", "",  2, 1, "True");
theForm.oldSubmit = theForm.submit;
theForm.submit = WebForm_SaveScrollPositionSubmit;

Do you have an idea? a solution?
Thank you
Regards

This is my Web.config page.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a6u861955e089" >
      <section name="Treeview.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a6u861955e089" requirePermission="false" />
 </sectionGroup>
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        </sectionGroup>
      </sectionGroup>
    </sectionGroup>
  </configSections>
  <connectionStrings>
    <add name="TEST1" connectionString="Provider=SQLOLEDB;Data Source=Sev1\CRM;Initial Catalog=MSCRM_MSDE;Integrated Security=SSPI" providerName="SQLOLEDB" />
    <add name="TEST2" connectionString="Provider=SQLOLEDB;Data Source=Sev1\CRM;Initial Catalog=MSCRM_MSDE;Integrated Security=SSPI" providerName="SQLOLEDB"/>
  </connectionStrings>
  <system.web>
    <httpRuntime executionTimeout="300" maxRequestLength="8192"/>
    <httpModules>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </httpModules>
    <httpHandlers>
      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"  validate="false" />
      <remove verb="*" path="*.asmx"/>
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
      <add path="trace.axd" verb="*" type="System.Web.Handlers.TraceHandler" validate="True" />           
      <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />           
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>           
      <add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="True" />
      </httpHandlers>
    <compilation defaultLanguage="C#" debug="false">
      <assemblies>
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add assembly="Microsoft.Crm, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add assembly="Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add assembly="Microsoft.Crm.SdkTypeProxy, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add assembly="Microsoft.Crm.Platform.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
      </assemblies>
    </compilation>
    <authentication mode="Windows" />
    <identity impersonate="true" />
    <xhtmlConformance mode="Legacy" />
    <pages buffer="true" enableSessionState="true" enableViewState="true" validateRequest="false">
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </controls>
    </pages>
    <sessionState mode="InProc" cookieless="false" timeout="20"/>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" preCondition="classicMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated"/>
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
                 type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
                 type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2011.3.1115.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />  
      </handlers>
  </system.webServer>
  <runtime>
    <assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <location path="MSCRMServices">
    <system.web>
      <httpRuntime maxRequestLength="8192"/>
      <webServices>
        <!-- configuring the reflector + format extension for custom WSDL generation -->
        <soapExtensionReflectorTypes>
          <add type="Microsoft.Crm.Sdk.CrmServiceSoapExtensionReflector, Microsoft.Crm.WebServices" />
        </soapExtensionReflectorTypes>
        <conformanceWarnings>
          <remove name='BasicProfile1_1'/>
        </conformanceWarnings>
      </webServices>
    </system.web>
  </location>
<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
        <authorization>
            <allow users="*"/>
        </authorization>
    </system.web>
</location>
  <appSettings>
    <!-- Trace management -->
    <add key="TracePath" value="C:\\log\\"/>
    <add key="TraceEnabled" value="true"/>
    <add key ="CrmServerName" value ="localhost:2525"/>
    <!--If Crm Web site is not installed on port 80, set in "CrmServerName" key with value ="SERVER_NAME:1234"-->
    <add key ="TEST1TreeViewWebService" value ="http://localhost:3341/Service1.asmx"/>
    <add key ="CrmOrganization" value ="ElementIE"/>
    <add key="HelpCatalogName" value="Microsoft CRM Help"/>
    <add key="DevErrors" value="On"/>
    <add key="ClientType" value="Outlook"/>
    <add key="ReportViewerMessages" value="Microsoft.Crm.Web.Reporting.CrmReportViewerMessages, Microsoft.Crm.Application.Outlook.Pages, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
   </appSettings>
  <applicationSettings>
    <!--
     Settings used for the Element Offline
    -->
    <Treeview.Properties.Settings>
      <setting name="Treeview_wr_crmservice_CrmService" serializeAs="String">
        <value>http://localhost:2525/MSCrmServices/2007/CrmService.asmx</value>
      </setting>
    </Treeview.Properties.Settings>
  </applicationSettings>
</configuration>

 This is my custom page. There is not any c# code linked to the splitter.
ASCX :
<%@ Assembly Name="CRMDataAccess" %>
<%@ Assembly Name="GenericElement" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_ElementMaster.ascx.cs"
    Inherits=".Generic.Element.UserControls.UC_ElementMaster" EnableViewState="true" %>
<%@ Register Src="UC_TreeviewElement.ascx" TagName="UC_TreeviewElement" TagPrefix="uc1" %>
<%@ Register Src="UC_TabContent.ascx" TagName="UC_TabContent" TagPrefix="uc2" %>
<%@ Register Src="UC_SearchResult.ascx" TagName="UC_SearchResult" TagPrefix="uc3" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<Div id="GeneralTable" style="height: 100%; width: 100%; overflow: hidden; padding: 0px;
    margin: 0px">
    <telerik:RadSplitter ID="SplitterFrame" runat="server" Height="100%"
        Width="100%" Skin="Windows7" >
        <telerik:RadPane ID="LeftPane" runat="server" overflow="auto">
            <uc1:UC_TreeviewElement ID="UC_TreeviewElement1" runat="server" />
        </telerik:RadPane>
        <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />
        <telerik:RadPane ID="ContentPane" runat="server" Scrolling="Both">
            <uc2:UC_TabContent ID="UC_TabContent1" runat="server"  />
            <uc3:UC_SearchResult ID="UC_SearchResult1" runat="server" />
        </telerik:RadPane>
    </telerik:RadSplitter>
</Div>
 
ASPX :
 
<%@ Assembly Name="CRMDataAccess" %>
<%@ Assembly Name="GenericElement" %>
 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Publishing.aspx.cs" Inherits="Generic.Element.Publishing" EnableViewState="true" MaintainScrollPositionOnPostback="true" %>
 
<%@ Import Namespace="Generic.Element.UserControls" %>
<%@ Import Namespace="Generic.Element" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="UserControls/UC_ElementMaster.ascx" TagName="UC_ElementMaster"
    TagPrefix="uc1" %>
<!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" style="overflow:hidden">
<head id="Head1" runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <base target="_self"></base>
    <title><%=GetElementName() %></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <div id="ParentDivElement" style="height: 100%;">
            <uc1:UC_ElementMaster ID="UC_ElementMaster1" runat="server" />
        </div>
        <asp:HiddenField ID="txtElementType" runat="server" />
    </form>
</body>
</html>

Dobromir
Telerik team
 answered on 13 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?