Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
132 views
Hello,
I have installed the 2011 Q3 SAK on my SP2010 dev farm and I can use the grids etc but adding the Telerik SPRadChart Web Part gives me:

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Mon, 2 Jan 2012 09:05:49 UTC

Message: Unhandled Error in Silverlight Application 
Code: 2104    
Category: InitializeError       
Message: 2104 An error has occurred.     

Line: 789
Char: 5
Code: 0
URI: http://devsrv03/sites/test/SitePages/test.aspx

I have checked that my webapp have the mime types.

This is from the source of the page:
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="90%" height="90%">
    <param name="source" value="/_catalogs/masterpage/SPRadChart.xap" />
    <param name="autoUpgrade" value="True" />
    <param name="minRuntimeVersion" value="4.0.50401" />
    <param name="onError" value="onSilverlightError" />
    <param name="background" value="white" />
    <param name="initParams" value="SiteUrl=http://devsrv03/sites/test,DisplayLegend=True,LegendItemMarkerShape=Square,LegendPosition=Right,ChartTitle=RadChart,MarkedZones=,ColorPalette=,EnableAnimations=True,ItemWidthPercent=80,ItemOverlapPercent=0,LabelFormatBehavior=HumanReadable,NoDataString=No Data,EnableLogarithmicScale=False,EnableHorizontalGridlines=True,EnableHorizontalMinorGridlines=False,EnableHorizontalStriplines=True,EnableVerticalGridlines=False,EnableVerticalStriplines=False,EnableSelection=False,EnableCustomGridline=False,AxisXLayoutMode=Auto,AxisXLabelStep=1,AxisXLabelLevelCount=1,AxisXLabelRotationAngle=0,AxisXTicksDistance=50,AxisYExtendDirection=Smart,ListId=00000000-0000-0000-0000-000000000000,SeriesDefinitions=,MS.SP.url=http://devsrv03/sites/test" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=149156&;v=4.0.50826.0" style="text-decoration:none">
      <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none" />
    </a>
  </object>

Do you have any other suggestions how to fix this issue?

Thanks,
David


Tina Stancheva
Telerik team
 answered on 05 Jan 2012
1 answer
370 views
HI Telerik,

Error Message:
--------------------

Message: Expected '}'
Line: 17331
Char: 2
Code: 0
URI: http://localhost/SMEPayroll9.5_VSS/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.713.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen%3af582e5dd-2549-4dd3-b0ef-95cf4b5dc277%3a16e4e7cd%3af7645509%3a24ee1bba%3a19620875%3a874f8ea2%3a490a9d4e%3abd8f85e4%3ae330518b%3a1e771326%3ac8618e41%3a11a04f7e%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1%3a58366029%3ae4f8f289

Message: 'Sys' is undefined
Line: 465
Char: 1
Code: 0
URI: http://localhost/SMEPayroll9.5_VSS/Employee/Emp_Overtime.aspx

Message: 'Telerik' is undefined
Line: 886
Char: 1
Code: 0
URI: http://localhost/SMEPayroll9.5_VSS/Employee/Emp_Overtime.aspx







I have followed below link
http://www.telerik.com/community/forums/aspnet-ajax/tooltip/sys-is-undefined.aspx

and followed the steps .but still i could not fix the issue.

My Configuration
-----------------------
Telerik.Web.UI.dll  --> version  2010.2.713.20
iis6
Visual studio 2005

Please help me with this, as we could not fix this issue for very long period.


My web.config
-----------------------


<?

 

xml version="1.0"?>

 

<!--

 

 

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<

 

configuration>

 

<

 

configSections>

 

<

 

sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

 

<

 

sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

 

<

 

section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

 

<

 

sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

 

<

 

section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>

 

<

 

section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

 

<

 

section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

 

</

 

sectionGroup>

 

</

 

sectionGroup>

 

</

 

sectionGroup>

 

</

 

configSections>

 

<

 

connectionStrings>

 

<

 

add name="PSLConnectionString1" connectionString="Data Source=DEVELOPMENT4\RAM;Initial Catalog=PSL;Persist Security Info=True;User ID=sa;MultipleActiveResultSets=False;Packet Size=4096;Application Name=&quot;Microsoft SQL Server Management Studio Express&quot;"

 

 

 

providerName="System.Data.SqlClient" />

 

<

 

add name="PSLConnectionString2" connectionString="Data Source=DEVELOPMENT4\RAM;Initial Catalog=PSL;Persist Security Info=True;User ID=sa;Password=MOMFlat;MultipleActiveResultSets=False;Packet Size=4096;Application Name=&quot;Microsoft SQL Server Management Studio Express&quot;"

 

 

 

providerName="System.Data.SqlClient" />

 

</

 

connectionStrings>

 

<

 

appSettings>

 

<

 

add key="EVEN_ROW_COLOR" value="FFFFFF" />

 

<

 

add key="ODD_ROW_COLOR" value="E5E5E5" />

 

<

 

add key="TABLE_BORDER_COLOR" value="ffffff" />

 

<

 

add key="BASE_COLOR" value="4D5459" />

 

<

 

add key="HEAD_COLOR" value="..\Frames\Images\TOOLBAR\backs.jpg" />

 

<

 

add key="PAGE_SIZE" value="20" />

 

<

 

add key="DB_NAME" value="SCAFF" />

 

<!--

 

<add key="DB_NAME" value="JYE-jan12" />-->

 

<!--

 

<add key="DB_NAME" value="SPC_19dec" />-->

 

<

 

add key="DB_SERVER" value="DEVELOPMENT4\RAM" />

 

<

 

add key="DB_UID" value="sa" />

 

<

 

add key="DB_PWD" value="anb@payroll" />

 

<

 

add key="CrystalImageCleaner-AutoStart" value="true" />

 

<

 

add key="CrystalImageCleaner-Sleep" value="60000" />

 

<

 

add key="CrystalImageCleaner-Age" value="120000" />

 

<

 

add key="SYS_CONFIG" value="0x59185499C345D05F92CED21FC2CF2BD2C8BCE8D3462EF50749EF3CDC4096C6EC516D5X10115D05EA097524FB22C22X" />

 

<

 

add key="TARGET_DIRECTORY" value="C:\ANBPAYROLL\CERTIFICATE" />

 

<

 

add key="DB_BACKUP" value="C:\ANBPAYROLL" />

 

</

 

appSettings>

 

<

 

system.web>

 

<

 

sessionState cookieless="false" mode="InProc"/>

 

<

 

httpRuntime maxRequestLength="10000" executionTimeout="3600"/>

 

<

 

customErrors mode="Off"></customErrors>

 

<

 

pages>

 

<

 

controls>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

 

</

 

controls>

 

</

 

pages>

 

<!--

 

 

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

 

 

-->

 

<!--

 

<httpRuntime maxRequestLength="61440" executionTimeout="20"></httpRuntime>-->

 

<

 

httpHandlers>

 

<

 

remove verb="*" path="*.asmx"/>

 

<

 

add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>

 

<

 

add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

 

<

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource,Telerik.Web.UI" verb="*" validate="false" />

 

<

 

add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>

 

<

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>

 

<

 

add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>

 

<

 

add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>

 

</

 

httpHandlers>

 

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

 

 

-->

 

<

 

compilation debug="true">

 

<

 

assemblies>

 

<

 

add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

 

<

 

add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

<

 

add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

 

<

 

add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

</

 

assemblies>

 

</

 

compilation>

 

<!--

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

 

 

-->

 

<

 

authentication mode="Windows">

 

</

 

authentication>

 

<

 

globalization uiCulture="en" culture="en-GB"/>

 

<

 

httpModules>

 

<

 

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>

 

<

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>

 

</

 

httpModules>

 

</

 

system.web>

 

<

 

system.webServer>

 

<

 

validation validateIntegratedModeConfiguration="false"/>

 

<

 

handlers>

 

<

 

remove name="WebServiceHandlerFactory-Integrated"/>

 

<

 

remove name="ChartImage_axd"/>

 

<

 

remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>

 

<

 

remove name="Telerik_Web_UI_DialogHandler_aspx"/>

 

<

 

remove name="Telerik_RadUploadProgressHandler_ashx"/>

 

<

 

remove name="Telerik_Web_UI_WebResource_axd"/>

 

<

 

add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>

 

<

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.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=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>

 

<

 

add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>

 

<

 

add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>

 

<

 

add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>

 

<

 

add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" />

 

<

 

add name="*.ashx_*" path="*.ashx" verb="*" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" preCondition="integratedMode,runtimeVersionv2.0"/>

 

</

 

handlers>

 

<

 

modules>

 

<

 

remove name="RadUploadModule"/>

 

<

 

remove name="RadCompression"/>

 

<

 

add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/>

 

<

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0"/>

 

</

 

modules>

 

<

 

security>

 

<

 

requestFiltering>

 

<

 

requestLimits maxAllowedContentLength="10240000"/>

 

</

 

requestFiltering>

 

</

 

security>

 

 

</

 

system.webServer>

 

 

<!--

 

to fix sys is undefined-->

 

<

 

system.web.extensions>

 

<

 

scripting>

 

<

 

scriptResourceHandler enableCompression="false" enableCaching="true" />

 

</

 

scripting>

 

</

 

system.web.extensions>

 

 

<

 

location path="Telerik.Web.UI.WebResource.axd">

 

<

 

system.web>

 

<

 

authorization>

 

<

 

allow users="*"/>

 

</

 

authorization>

 

</

 

system.web>

 

</

 

location>

 

 

</

 

configuration>

 

Princy
Top achievements
Rank 2
 answered on 05 Jan 2012
1 answer
141 views
Referring to this thread:

http://www.telerik.com/community/forums/aspnet/calendar/server-validation-of-raddatepicker.aspx

Has this changed in any builds since 2008? We have our own server-side classes with property decorations that handle validation and would like to use it for our validation and error-handling. We want to use the date picker to allow selection but handle the validation ourselves, server-side.

Thanks for any insights.
Tsvetina
Telerik team
 answered on 05 Jan 2012
2 answers
138 views
I cannot get the detail view of a nested table to view the correct relational data.  I think it's because of the way I am binding the data, but I am not sure what I am doing wrong.  I followed the examples online.  

Thanks so much for any help.

Here is my code:
<%@ Page Language="C#" Title="Book Of Formulas" MasterPageFile="~/BoF.master" AutoEventWireup="true"%>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<asp:Content ContentPlaceHolderID="PageContent" runat="server">
      
         
        <h2>Nestlé Book Of Formulas</h2>
        <telerik:RadGrid runat="server" ID="RadGrid1" DataSourceID="LinqDataSource1" AllowAutomaticUpdates="false"
                AllowAutomaticInserts="false" AllowAutomaticDeletes="True" AllowFilteringByColumn="True"
            AutoGenerateColumns="False" EnableLinqExpressions="false" AllowSorting="true"
                AllowPaging="True" CellSpacing="0" GridLines="None">
        <ClientSettings EnablePostBackOnRowClick="true">
            <Selecting AllowRowSelect="true" />
        </ClientSettings>
                <MasterTableView CurrentResetPageIndexAction="SetPageIndexToFirst" AutoGenerateColumns="False" DataSourceID="LinqDataSource1" DataKeyNames="routes_pk"
                    RetrieveDataTypeFromFirstItem="true" 
                    AllowPaging="true">
                    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
                    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
                    <Columns>
                    <telerik:GridBoundColumn DataField="RouteNumber"  HeaderText="Route Number"
                            DataType="System.Int32" FilterControlAltText="Filter RouteNumber column"
                            SortExpression="RouteNumber" UniqueName="RouteNumber" AutoPostBackOnFilter="true" ShowFilterIcon="false"/>
                     <telerik:GridBoundColumn DataField="Region"
                        FilterControlAltText="Filter Region column" HeaderText="Region"
                        SortExpression="Region" UniqueName="Region">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Area"
                        FilterControlAltText="Filter Area column" HeaderText="Area"
                        SortExpression="Area" UniqueName="Area">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="District"
                        FilterControlAltText="Filter District column" HeaderText="District"
                        SortExpression="District" UniqueName="District">
                    </telerik:GridBoundColumn>
                    </Columns>
                    <DetailTables>
                        <telerik:GridTableView DataSourceID="LinqDataSource2" AutoGenerateColumns="False" DataKeyNames="routes_pk_fk" AllowPaging="false"
                            Width="100%" InsertItemPageIndexAction="ShowItemOnCurrentPage" EditMode="PopUp">
                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="routes_pk_fk" MasterKeyField="routes_pk" />
                            </ParentTableRelation>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
                            <Columns>
                                <telerik:GridEditCommandColumn ButtonType="ImageButton" />
                                <telerik:GridBoundColumn DataField="StartDate" HeaderText="Start Date" />
                                <telerik:GridBoundColumn DataField="WeeklyBase" HeaderText="Weekly Base" />
                                <telerik:GridBoundColumn DataField="CommissionRate" HeaderText="CommissionRate" />
                                 
                                <telerik:GridBoundColumn DataField="VROT" HeaderText="VROT" />
                                <telerik:GridBoundColumn DataField="RoutePremium" HeaderText="Route Premium" />
                                <telerik:GridBoundColumn DataField="ThreeByTwo" HeaderText="3x2" />
                                <telerik:GridBoundColumn DataField="Depot" Visible="false" HeaderText="Depot" />
                                <telerik:GridBoundColumn DataField="Market" Visible="false" HeaderText="Market" />
                                <telerik:GridBoundColumn DataField="Comments" Visible="false" HeaderText="Comments"/>
                                <telerik:GridBoundColumn DataField="RouteType" Visible="false" HeaderText="Route Type" />
                                <telerik:GridBoundColumn DataField="Incentive" Visible="false" HeaderText="Incentive" />
                                <telerik:GridBoundColumn DataField="Format" Visible="false" HeaderText="Format" />
                                <telerik:GridBoundColumn DataField="Band" Visible="false" HeaderText="Band" />
                                <telerik:GridBoundColumn DataField="MarketTarget" Visible="false" HeaderText="Market Target" />
                                <telerik:GridBoundColumn DataField="Region" Visible="false" HeaderText="Region" />
                                <telerik:GridBoundColumn DataField="Area" Visible="false" HeaderText="Area" />
                                <telerik:GridBoundColumn DataField="District" Visible="false" HeaderText="District" />
                                <telerik:GridBoundColumn DataField="RouteTarget" Visible="false" HeaderText="Route Target" />
                                <telerik:GridBoundColumn DataField="PercentFromMarketTarget" Visible="false" HeaderText="PercentFromMarketTarget" />
                                <telerik:GridBoundColumn DataField="StartDate" Visible="false" HeaderText="Start Date" />
                                <telerik:GridBoundColumn DataField="EndDate" Visible="false" HeaderText="End Date" />
                                <telerik:GridButtonColumn ConfirmText="Delete this route?" ConfirmDialogType="RadWindow"
                                    ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" />
                            </Columns>
                           <EditFormSettings ColumnNumber="3" CaptionFormatString="Edit information for route with ID {0}"
                                         CaptionDataField="RouteNumber">
                <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
                <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="100%" />
                <FormTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="2" CssClass="module"
                    Height="110px" Width="100%" />
                <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                <FormStyle Width="100%" BackColor="#eef2ea"></FormStyle>
                <EditColumn UpdateText="Update record" UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                </EditColumn>
                <FormTableButtonRowStyle HorizontalAlign="Left" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
            </EditFormSettings>
 
<PagerStyle AlwaysVisible="True"></PagerStyle>
                        </telerik:GridTableView>
                    </DetailTables>
                    <EditFormSettings>
                        <EditColumn ButtonType="ImageButton" />
                        <PopUpSettings Modal="true" />
                    </EditFormSettings>
 
<PagerStyle AlwaysVisible="True"></PagerStyle>
                </MasterTableView>
                <PagerStyle AlwaysVisible="true" />
 
<FilterMenu EnableImageSprites="False">
<WebServiceSettings>
<ODataSettings InitialContainerName=""></ODataSettings>
</WebServiceSettings>
</FilterMenu>
 
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
<WebServiceSettings>
<ODataSettings InitialContainerName=""></ODataSettings>
</WebServiceSettings>
</HeaderContextMenu>
            </telerik:RadGrid>
        
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="BoFLinqDataContext"
EnableDelete="True" EnableInsert="True" EnableUpdate="True" TableName="view_routes_radrs" >
            </asp:LinqDataSource>
<asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="BoFLinqDataContext"
EnableDelete="True" EnableInsert="True" EnableUpdate="True" TableName="tbl_route_informations"
Where="routes_pk_fk == @routes_pk">
                <WhereParameters>
                   <asp:Parameter Name="routes_pk"  Type="Int32" DefaultValue="2021" />
                 </WhereParameters>
            </asp:LinqDataSource>
 </asp:Content>
Kaveh
Top achievements
Rank 1
 answered on 05 Jan 2012
1 answer
162 views

Hello.  Here is my situation. 

1.  I have a webform named CUSTOMERS.ASPX, it has an AJAX PROXY CONTROL ON IT.  It uses a master page named default.master that has the it has an AJAX CONTROL MANAGER CONTROL on it.

2. This web form (CUSTOMERS.ASPX) has a radTabStrip on it

3. This web form (CUSTOMERS.ASPX) has a radMultipage on it (that is NOT hooked to the tabstrip to switch pageview when tab is clicked)

4. On one of the pageviews of the radmultipage, there is a custom control (GRID.ASCX) it has an ID of grdAllCustomers.

5.  The GRID.ASCX contains a radgrid control on it and an also has AJAX PROXY control on it.  The radgrid is set to autopostback on rowclick.  I use the item_command event to capture rowclicks server side.

Symptom:
when I click a row in the radgrid (which in the GRID.ASCX control), it fires the item_command event in that control.  I then raise that event using raiseevent so that it raises it in the customers.aspx page.  This works, but when I try to change the active tab of the radtab control (which is inside the customers.aspx page), the tab control does not update.

It is strange that in the ajax proxy control on the customers.aspx page, I cannot see the grdAllCustomers custom control.  I would think that I would need to ajaxify the grdAllCustomers control in the customers.aspx page (using the ajax proxy).  But the control is not there.  If i try to ajaxify the control manually by setting up the control in the ajax proxy in the HTML markup but then i get a javascript error.

Am i missing something?  The custom control and the content page and the master page are all blended together into a single page, so the ajax should work and I should be able update the controls during the ajax partial postback - right? 

Tsvetina
Telerik team
 answered on 05 Jan 2012
4 answers
100 views
Dear Friends,

Java Script is disabled in browser, Rad Controls won't working. any other way for working rad controls with out java script enabled.


thanks
-vinoth
Vinoth Arun
Top achievements
Rank 2
 answered on 05 Jan 2012
2 answers
148 views
hi i want to add hiddenvalue with RadTextbox
one of my webpage i m using html input text , i use the name property to add hidden value
mean user couldn't see the value

but in the RadTextbox i couldn't set name property
if i set with Attributes.Add("name", something)
the name property automatcally changed to id

is there any other way to add hiddenvalue related to that particular RadTextbox
Johnny
Top achievements
Rank 2
 answered on 05 Jan 2012
5 answers
69 views
I have a Radgrid with almost 7000 items. So when i click on the export to excel button, it takes quite some time before the file is created and the download message appears.

So i thought on making an loading screen. I've used ajax loading panel. The problem i have is that when i click the export button it triggers the loading panel, but after the download message appears, it stay's "on".... I think it's because the update control (the grid) isn't been updated....

I've search and search, but i can't seem to find a work around this or even an other way to achieve this.

Thanks in advance for the help!
Daniel
Telerik team
 answered on 05 Jan 2012
5 answers
207 views
Every body, please help me.

 I made a (asp.net) UserControl ,  I drag a grid into the usercontrol and rendering this usercontrol in a asp.net page.
Now my question is: I want to export the data from the grid to Excel ,and I follow the instruction within grid help documnet. But I did not see any popup window after I click  the export button.
I use version: RadControls for ASP.NET AJAX Q1 2011
my code snippet here: 

        <MasterTableView Width="100%" CommandItemDisplay="Top">
            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
            <CommandItemSettings ShowExportToExcelButton="true" />
        </MasterTableView>


dominic
Top achievements
Rank 1
 answered on 05 Jan 2012
1 answer
116 views
I have a problem getting this right.

function requestStart(sender, args) {
                currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
                //debugger;
                if (args.get_eventTarget().indexOf("grdTekGrid") >= 0) {
                    currentUpdatedControl = "<%= grdTekGrid.ClientID %>";
                }
 
                if (args.EventTarget.indexOf("ExportToExcelButton") >= 0) {
                    args.EnableAjax = false;
                }
                //show the loading panel over the updated control
                currentLoadingPanel.show(currentUpdatedControl);
            }
 
            function ResponseEnd() {
                //debugger;
                //hide the loading panel and clean up the global variables
                if (currentLoadingPanel != null)
                    currentLoadingPanel.hide(currentUpdatedControl);
                currentUpdatedControl = null;
                currentLoadingPanel = null;
            }

This is the code i've seen in many threads.

The problem here is if i let this stay as it's is, the loading panel just stucks there (the circle does not move, it's "frozen") and after a while pop-ups the prompt open/save excel file. But even after the popup the loading panel doesn't disappear.... 

If i remove this bit:
if (args.EventTarget.indexOf("ExportToExcelButton") >= 0) {
                    args.EnableAjax = false;
                }

The loading panel works great, but instead of being prompt to open/save the file, the contents of the table that is created is loaded/pasted in the grid itself....

Thanks in advance for all the help
Princy
Top achievements
Rank 2
 answered on 05 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?