Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
823 views
I have a rad grid where I want to click 'Page 8' and only pull back records 81-90. My pagesize is set to 10. I have tried the link below and added all the code to the onneeddatasource, but I am not sure how to get the pageindex that I just clicked. CurrentPageIndex seems to be the index the page is currently on. I need the page I clicked. Also, how does rad grid look at when you hit the 'last page' or 'first page' or 'next page' or 'previous page' or 'next pages..'

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx
Phillip
Top achievements
Rank 1
 answered on 02 Apr 2015
1 answer
103 views
Hi,

i used one RadToolbar and i added downloading type options to RadToolbar as button when i select Excel and click on export button it is working fine
but when i select Word and click export i am getting error like

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined

full description like


Unhandled exception at line 6, column 55946 in http://localhost/xyzWebSite/Telerik.Web.UI.WebResource.axd?

_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, 

PublicKeyToken=31bf3856ad364e35:en-US:fa6755fd-da1a-49d3-9eb4-1e473e780ecd:ea597d4b:b25378d2;Telerik.Web.UI, Version=2015.1.225.45, 

Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:d3cd47d0-4d93-4bad-8b9f-

f9fea0aa4c69:16e4e7cd:f7645509:24ee1bba:c128760b:1e771326:88144a7a:a7e79140:2003d0b8:f46195d3:aa288e2d:258f1c72

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined








Unhandled exception at line 1177, column 2 in http://localhost/xyzWebSite/DXR.axd?

r=1_187,1_101,1_180,1_175,1_120,7_51,7_54,7_48,7_53,1_98,1_172,1_170,1_121,1_130,1_124-iTrva

0x8000ffff - Microsoft JScript runtime error: Invalid calling object






Ivan Danchev
Telerik team
 answered on 02 Apr 2015
1 answer
68 views
Hello,

I'm trying to modify the Timeline View because I want to show the attachments and the time bar at the bottom of the TimeLine view instead of the top.

The Screenshot attached is a preview of what I want to do is there a way to do that?

Thanks for the time. 
Plamen
Telerik team
 answered on 02 Apr 2015
7 answers
160 views
Hi,

I have some issues regarding the Radpivotgrid. I use it to show values from an Olap cube.
First:
When I select an measure in "All fields" area it should move to "Aggregate fields". But first it is shown in "Row fields". After a click on "Update" it is shown in "Aggregate fields" correctly.

Second:
I set ShowFilterHeaderZone="False" ShowColumnHeaderZone="False" ShowRowHeaderZone="False" ShowDataHeaderZone="False".
For row fields I choose a date hierachy.
The shown values in the grid look a little bit weird. The expanded row values overlap the Grad total. Is this a style problem?

Third and least:
The filter fields header label of configuration panel has a filter symbol with a little whatever on the left side. Is this normal?

Regards,
Rayko
Angel Petrov
Telerik team
 answered on 02 Apr 2015
1 answer
233 views
I have a telerik radwindow(using content template) which shows up on click of a button .There are option Yes and No which user should select.
If the user selects Yes they are directed to another telerik rad window.
How do I make a radio button (With Yes/No options) mandatory for a rad window with content template
Either on close I always reopen the window using javascript but If I do that I am not able to disable the background of the parent window or any other solution?
Thanks,
Marin Bratanov
Telerik team
 answered on 02 Apr 2015
2 answers
80 views
hi
I use RadSchedulerRecurrenceEditor in AdvancedFormCS.ascx for

I need show in Recurrence:
Hourly , Daily  and Weekly

and hide :
Monthly , Yearly , No end date ,End after , and End by

please help me.
Plamen
Telerik team
 answered on 02 Apr 2015
9 answers
793 views
Hi, I just realized that I posted a question last night into the wrong location:

http://www.telerik.com/community/forums/wpf/scheduler/dynamic-resources-in-codebehind.aspx

For some reason I'm having a hard time applying ResourceTypes and ResourceStyles to the RadScheduler dynamically. I'm sure I'm missing something small, and yet I can't catch it.  Please take a look at my code and maybe you can point me in the right direction. 

protected void Page_Load(object sender, EventArgs e) 
   if (!IsPostBack) 
   
       objDS = GetDataSet(); 
       SetupResources(); 
       RadScheduler.DataSource = objDS.Tables[0]; 
       RadScheduler.DataBind(); 
   
    
private void SetupResources() 
  ResourceType resType = new ResourceType();
  resType.ForeignKeyField = "AssignedTo"
  resType.DataSource = objDS.Tables["table2"]; 
  resType.KeyField = "id"
  resType.Name = "User"
  resType.TextField = "UserName"
    
  RadScheduler.ResourceTypes.Add(resType); 
    
  ResourceStyleMapping rsm = new ResourceStyleMapping(); 
  rsm.ApplyCssClass = "rsCategoryPink"
  rsm.Text = "Dasha"
  rsm.Type = "User"
  RadScheduler.ResourceStyles.Add(rsm); 
    
  rsm = new ResourceStyleMapping(); 
  rsm.ApplyCssClass = "rsCategoryGreen"
  rsm.Text = "Joe"
  rsm.Type = "User"
  RadScheduler.ResourceStyles.Add(rsm); 
    
  rsm = new ResourceStyleMapping(); 
  rsm.ApplyCssClass = "rsCategoryOrange"
  rsm.Text = "Adam"
  rsm.Type = "User"
  RadScheduler.ResourceStyles.Add(rsm); 
}

This is the xml data that's converted into a dataset:


<?
xml version="1.0" encoding="utf-8"?>   
<dataSet>   
  <table1>   
    <id>1</id>   
    <Title>Task1</Title>   
    <Date>08/07/2010</Date>   
    <End>08/17/2010</End>   
    <AssignedTo>Dasha</AssignedTo>   
    <Status>Completed</Status>   
    <Room>Library</Room>   
  </table1>   
  <table1>   
    <id>2</id>   
    <Title>Task 2</Title>   
    <Date></Date>   
    <End>08/07/2010</End>   
    <AssignedTo>Dasha</AssignedTo>   
    <Status>Completed</Status>   
    <Room>Office</Room>   
  </table1>   
  <table1>   
    <id>3</id>   
    <Title>Task 3</Title>   
    <Date>08/18/2010</Date>   
    <End>08/18/2010</End>   
    <AssignedTo>Adam</AssignedTo>   
    <Status>Completed</Status>   
    <Room>Library</Room>   
  </table1>   
  <table1>   
    <id>4</id>   
    <Title>Task 4</Title>   
    <Date></Date>   
    <End>08/08/2010</End>   
    <AssignedTo>Joe</AssignedTo>   
    <Status>Completed</Status>   
    <Room>Library</Room>   
  </table1>    
  <table2>   
    <id>1</id>   
    <UserName>Dasha</UserName>   
    <UserAge>28</UserAge>   
    <UserOccupation>Plumber</UserOccupation>   
  </table2>   
  <table2>   
    <id>2</id>   
    <UserName>Joe</UserName>   
    <UserAge>30</UserAge>   
    <UserOccupation>IT Professional</UserOccupation>   
  </table2>   
  <table2>   
    <id>3</id>   
    <UserName>Adam</UserName>   
    <UserAge>33</UserAge>   
    <UserOccupation>Manager</UserOccupation>   
  </table2>   
  <table2>   
    <id>4</id>   
    <UserName>Michael</UserName>   
    <UserAge>30</UserAge>   
    <UserOccupation>Developer</UserOccupation>   
  </table2>   
</dataSet

When the sheduler is done databinding, I can step into the code and see that the Resources collection of the RadScheduler has been populated, but if I step into the AppointmentDataBound event, none of the appointments show any resources assigned, even though the AssignedTo column is definitely populated in the datatable.  I'm also open to populating the Resouces collection manually, as long as it's done programmatically.  I've looked at probably all your demo samples, but somehow still missed the solution.  Thank you so much!

Dasha.
bablov
Top achievements
Rank 1
 answered on 02 Apr 2015
1 answer
126 views

I am getting error with below description



Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35:en-US:f319b152-218f-4c14-829d-050a68bb1a61:ea597d4b:b25378d2;Telerik.Web.UI, Version=2015.1.225.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:d3cd47d0-4d93-4bad-8b9f-f9fea0aa4c69:16e4e7cd:f7645509:24ee1bba:6d43f6d9:2003d0b8:f46195d3:c128760b:88144a7a:1e771326:aa288e2d:258f1c72:2bef5fcc:e06b58fd:583660290x800a138f - JavaScript runtime error: Unable to get property 'scrollHeight' of undefined or null referenceIf there is a handler for this exception, the program may be safely continued.



Config file setting


<?xml version="1.0"?>
<configuration>

<appSettings>

<add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

<connectionStrings>

</connectionStrings>
<!--Start CM Config-->
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IReleaseNotesService"/>
<!-- Remove if not using Healthwise Integration -->
<binding name="DrugInteractionsSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="6553600" maxBufferPoolSize="524288" maxReceivedMessageSize="6553600" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="6553600" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
<message clientCredentialType="UserName" algorithmSuite="Default"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://help.Lumeris.com/Api/v1.0/ReleaseNotes.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IReleaseNotesService" contract="Client.IReleaseNotesService" name="BasicHttpBinding_IReleaseNotesService"/>
<!-- Remove if not using Healthwise Integration -->
<endpoint address="http://dicapi.healthwise.net/DrugInteractions.asmx" binding="basicHttpBinding" bindingConfiguration="DrugInteractionsSoap" contract="HealthwiseService.DrugInteractionsSoap" name="DrugInteractionsSoap"/>
</client>
</system.serviceModel>
<!--End CM Config-->


<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<httpRuntime encoderType="System.Web.Security.AntiXss.AntiXssEncoder" requestValidationMode="2.0" executionTimeout="43200" maxRequestLength="1048576" maxQueryStringLength="9999"/>
<compilation debug="false" targetFramework="4.5.1">
<assemblies>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<!--Devexpress-->
<add assembly="Ext.Net, Version=1.0.4093.32349, Culture=neutral, PublicKeyToken=2E12CE3D0176CD87"/>
<!--CM Config-->
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>

</compilation>
<customErrors mode="Off"/>

<authorization>
<deny users="?"/>
</authorization>
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="240"/>

<pages autoEventWireup="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" maxPageStateFieldLength="1000" validateRequest="true" controlRenderingCompatibilityVersion="3.5">
<controls>

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

<!--End CM Config-->
</controls>
</pages>
<httpHandlers>
<clear/>

<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
<add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler,Telerik.Web.UI" validate="false"/>
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" validate="false"/>

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

</httpModules>

<identity impersonate="false"/>
</system.web>

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800" maxQueryString="9999"/>
</requestFiltering>
</security>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>

<add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>


<!--Start CM Config-->
<add name="TelerikWebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode"/>
<add name="TelerikWebDialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" preCondition="integratedMode"/>
<add name="TelerikChartHandler" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
<add name="TelerikSpellCheckHandler" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler,Telerik.Web.UI"/>
<add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>
<!--End CM Config-->

</handlers>
<defaultDocument>
<files>
<add value="login.aspx"/>
</files>
</defaultDocument>
<httpProtocol>
<customHeaders>
<clear/>
<add name="X-UA-Compatible" value="IE=EmulateIE8"/>
</customHeaders>
</httpProtocol>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Pavlina
Telerik team
 answered on 01 Apr 2015
1 answer
111 views
Hi,

As per domo, There was no feature for ROW/Cell merge for RAD grid.

1. Does Rad Grid support Row/Cell merge?

Can you provide your suggestions how to achieve this functionalties.

Regards
Vasu
Pavlina
Telerik team
 answered on 01 Apr 2015
2 answers
145 views
I have attached two views of a standard menu with default Metro Touch skin and mobile rendering mode.

When activated, I am happy to see that there is a transparent effect which blends very well with my page element.

When closed, I would like to get rid of the gray background, leaving just the black slices.
Tomica
Top achievements
Rank 2
 answered on 01 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?