Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
160 views
Hi There,

I am using RadMenu with access key for each RadMenuItem its working fine when i click alt + (respected access key) but the problem is when i am clicking "alt + (respected access key)" that respected RadMenuItem is been selected only, it is not being opened such as when we MouseOver it will be opened.

Could please help me out how can i get RadMenuItem Opened on clicking of "alt + (respected access key)".

Thanks in Advance,
T.Ramakrishna.
Kate
Telerik team
 answered on 05 Jan 2012
1 answer
101 views

I have a client-side performance problem in IE8 with RadGrid. The grid has only 150 rows and looks like this:

<telerik:grid runat="server" ID="rgArtikel" AllowSorting="false" AllowFilteringByColumn="false"
        AutoGenerateColumns="false" EnableAjaxSkinRendering="false" EnableViewState="true"
        Visible="true" OnNeedDataSource="rgArtikel_NeedDataSource" OnItemDataBound="rgArtikel_ItemDataBound">
        <ClientSettings AllowKeyboardNavigation="true" EnablePostBackOnRowClick="false">
            <Selecting AllowRowSelect="false" />
        </ClientSettings>
        <MasterTableView AllowFilteringByColumn="false">
            <Columns>
                <telerik:GridTemplateColumn UniqueName="Key" InitializeTemplatesFirst="false" HeaderText="">
                    <ItemTemplate>
                        <asp:Literal ID="lKey" runat="server" Visible="false"></asp:Literal>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn UniqueName="Icon1" InitializeTemplatesFirst="false" HeaderText="Leit.">
                    <ItemTemplate>
                        <asp:Image ID="iLeitArtikel" runat="server" Visible="false"></asp:Image>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn UniqueName="Icon2" InitializeTemplatesFirst="false" HeaderText="Info">
                    <ItemTemplate>
                        <asp:Image ID="iArtikel" runat="server" Visible="false"></asp:Image>
                        <uc1:RDisplayArtikel ID="RDisplayArtikel" runat="server" Visible="false" />
                        <uc2:RSammelArtikel ID="RSammelArtikel" runat="server" Visible="false" />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn UniqueName="Icon3" InitializeTemplatesFirst="false" HeaderText="">
                    <ItemTemplate>
                        <asp:Image ID="iPfand" runat="server" Visible="false"></asp:Image>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn UniqueName="Akt.VKP" InitializeTemplatesFirst="true"
                    HeaderText="Aktions-VKP">
                    <ItemTemplate>
                        <telerik:RadNumericTextBox ID="tbAktVkp" runat="server" Width="50px" Height="10px"
                            Type="Currency" DecimalSeparator="," Visible="false" Editable="Editable" MinValue="0">
                            <ClientEvents OnValueChanged="setChanged" />
                        </telerik:RadNumericTextBox>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn UniqueName="Aktionen" InitializeTemplatesFirst="false"
                    HeaderText="">
                    <ItemTemplate>
                        <asp:Image runat="server" ID="iAktionen" Visible="false"></asp:Image>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn UniqueName="iBeschaffung" InitializeTemplatesFirst="false"
                    HeaderText="">
                    <ItemTemplate>
                        <asp:HyperLink ID="iBeschaffung" runat="server" Visible="false" ToolTip="Beschaffungsregel vorhanden"></asp:HyperLink>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </tegut:XYGrid>

The grid is filled in backend with max. 150 rows und is rendered fast. But when the site is shown in IE8, the CPU-Load is up to 100% and the IE doesn't react for about 3s. If I allow scrolling and enable fixed header, the IE stops working for about 5s.

Is there any trick to speed this up ?? I think 150 is not a large number of rows the grid can't handel anymore.

And by the way another problem: the resizing didn't work proper with scrolling enabled too. It's getting only larger not smaller (smallest size is size on load)!

Shinu
Top achievements
Rank 2
 answered on 05 Jan 2012
2 answers
126 views
HI,

I have a serious question, I have a tabstrip with four tabs and each tab has its usercontrol, and userusercontrol has some validation going on. But when the Usercontrol is used in 2nd tab , 3rd tab and 4th tab I am unable to move around the tabs because I am doing  usercontrol validation in client side so I am getting error of "htmlfile: cant move focus to the control because it is invisible not enabled or of type that does not accept the focus"

can any one help me with this Issue??
Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Jan 2012
1 answer
175 views
Hello,

I am trying to add a button to a RadEditor in Sitecore 6.4 that will open up a dialog when clicked.  The button is displaying correctly, but I get an error when the button is clicked.  An alert pops up saying "The command EmbedBrightcoveVideo is not implemented yet."

I have added the following code to /sitecore/shell/Controls/Rich Text Editor/RichText Commands.js, which is what I thought was all I had to do to get it to work...


RadEditorCommandList["EmbedBrightcoveVideo"] = function(commandName, editor, tool) {
    alert('EmbedBrightcoveVideo fired.');
}


The JavaScript never fires.  I don't seem to be getting any JavaScript errors either.  Any ideas as to what could be wrong?

Thanks a lot.
Rumen
Telerik team
 answered on 05 Jan 2012
6 answers
280 views
Hi,
 We're using Telerik RAD Editor for MOSS version 8.5.0.0 and we have a slight question on the toolbar mode 'Floating'.

1. Can you tell me if there is an option to have the tool bar appear by default instead of clicking on the icon to turn the toolbars on each time?
2. Can you tell me if there is an option to set the default option on the 'pin' to lock the floating toolbar in position, to 'On'?

Thanks,
Jason.
Rumen
Telerik team
 answered on 05 Jan 2012
3 answers
148 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
385 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
160 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
160 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
178 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
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?