Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
178 views

Hi There,


I am working on telerik. In which i have facilitate with virtual loading. I am having nearly 20 page. I fell when "I move to any "page" other then the first and click the arrow to scroll up I see blank entries. The same thing happens if I scroll to the bottom and click the scroll down arrow." Can anybody please help me to know whether this is happening due to virtual loading or any other solution is available for this. Please help me to come out of this problem..........................

Regards:
Vimal Kumar Srivastava
Madhepura, Bihar
Email Id: vimaltech04@gmail.com
 
Dimo
Telerik team
 answered on 06 Apr 2009
2 answers
278 views
Hi all,

Getting the grid dataitem from RadGrid.UpdateCommandName is simple enough
(e.CommandName = Telerik.Web.UI.RadGrid.UpdateCommandName) but

As the Grid goes into Edit Mode, (not update mode) I need to retrieve the GridDataItem  ( so I can set my Concurrency cache, and "Lock" the record from editing by other users). BUT this is null at Edit entry point (fine at update)
Docs/Help leads me to believe I must use  .EditIndexes[0]  as opposed to ).EditItems[0]

IS this correct? if so How please.

i.e. 

if (e.CommandName == Telerik.Web.UI.

RadGrid.EditCommandName)
{

 

     dataItem = ((Telerik.Web.UI.

GridDataItem)((Telerik.Web.UI.RadGrid)source).EditItems[0];
//Code to retrieve the name of the DatKeys..
//Code to Retrieve their Values

 

}
I then use a HT to retrieve the other Values I require. 


1) How do I retrieve the dataitem as it enters Edit Mode?
and on Cancel, or& Post Update  I then release the Edited Item from the cache, is this (CancelCommand the same, or do I use some other mechanism to determine which DataItem/Recid to release from my Concurrency Cache.

TIA
Neal
I do this from an inherited overridden System.Web.UI.Page, so i only need to do it once.
Neal
Top achievements
Rank 1
 answered on 06 Apr 2009
3 answers
178 views
Hi
I have a big problem with a project, trying to upgrade it with the latest release.
I use VS2008 and Q2009

VS2008 say an error on all of my telerik controls.

For example, for the line

<

 

telerik:RadTextBox ID="Ztitre" runat="server" ReadOnly="True" Style="z-index: 120; left: 20px;

 

 

position: absolute; top: 499px; width: 317px;" Skin="Default"

 

 

Label="Fonction : &nbsp;&nbsp;" Width="320px">

 

 

</telerik:RadTextBox>

 

The words teletrik, ID, Readonly, Skin and Label are underlined in green.
So I think that VS2008 don't understand all telerik tagprefix.

What is wrong ? I don't know where to search.

Thanks

Here the begining of my page


<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default4.aspx.vb" Inherits="Default4" EnableSessionState="false" %>

 

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

 

<!

 

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">

 

<

 

head runat="server">

 

 

<title>Page sans titre</title>

 

 

<style type="text/css">

 

 

.defaultlabel

{

 

font:12px arial,verdana,sans-serif;

 

 

color:#000;

 

 

text-align: left;

 

 

top: 236px;

 

 

left: 598px;

 

 

position: absolute;

 

 

height: 23px;

 

}

 

 

</style>

 

</

 

head>

 

<

 

body bgcolor="#e7e7e7">

 

 

<form id="form1" runat="server" method="get">

 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"

 

 

EnableTheming="True">

 

 

</telerik:RadScriptManager>

 

 

<telerik:RadTabStrip ID="RadTabABC" runat="server" SelectedIndex="19"

 

 

Skin="Vista"
etc etc

And my Web.Config

 

<?

 

xml version="1.0"?>

 

<!--

 

 

Remarque : au lieu d'diter manuellement ce fichier, vous pouvez utiliser

l'outil d'administration Web pour configurer les paramtres de votre

application. Utilisez l'option Site Web->Configuration Asp.Net de Visual Studio.

Vous trouverez la liste complte des paramtres et commentaires dans

machine.config.comments, situ gnralement dans

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

 

 

 

-->

<

 

configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

 

<

 

configSections>

 

<

 

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>

 

<

 

appSettings />

 

<

 

connectionStrings />

 

<

 

system.web>

 

<!--

 

 

Dfinissez compilation debug="true" pour insrer des symboles

de dbogage dans la page compile. Comme ceci

affecte les performances, dfinissez cette valeur en utilisant true uniquement

lors du dveloppement.

Options Visual Basic:

Dfinissez strict="true" pour interdire les conversions de types de donnes

susceptibles d'entraner des pertes de donnes.

Dfinissez explicit="true" pour forcer la dclaration de toutes les variables.

 

 

-->

 

<

 

compilation debug="true" strict="false" explicit="true">

 

<

 

assemblies>

 

<

 

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

 

<

 

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

 

<

 

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

 

<

 

add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

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

 

<

 

add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

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

 

</

 

assemblies>

 

</

 

compilation>

 

<

 

pages>

 

<

 

namespaces>

 

<

 

clear />

 

<

 

add namespace="System" />

 

<

 

add namespace="System.Collections" />

 

<

 

add namespace="System.Collections.Specialized" />

 

<

 

add namespace="System.Configuration" />

 

<

 

add namespace="System.Text" />

 

<

 

add namespace="System.Text.RegularExpressions" />

 

<

 

add namespace="System.Web" />

 

<

 

add namespace="System.Web.Caching" />

 

<

 

add namespace="System.Web.SessionState" />

 

<

 

add namespace="System.Web.Security" />

 

<

 

add namespace="System.Web.Profile" />

 

<

 

add namespace="System.Web.UI" />

 

<

 

add namespace="System.Web.UI.WebControls" />

 

<

 

add namespace="System.Web.UI.WebControls.WebParts" />

 

<

 

add namespace="System.Web.UI.HtmlControls" />

 

</

 

namespaces>

 

<

 

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>

 

<!--

 

 

 

La section <authentication> permet la configuration

du mode d'authentification de scurit utilis par

ASP.NET pour identifier un utilisateur entrant.

 

 

-->

 

<

 

authentication mode="Windows" />

 

<!--

 

 

 

La section <customErrors> permet de configurer

les actions excuter si/quand une erreur non gre se produit

lors de l'excution d'une demande. Plus prcisment,

elle permet aux dveloppeurs de configurer les pages d'erreur html

pour qu'elles s'affichent la place d'une trace de la pile d'erreur.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

 

 

-->

 

<

 

httpHandlers>

 

<

 

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

 

<

 

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

 

<

 

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

 

<

 

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

 

<

 

add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

 

<

 

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

 

</

 

httpHandlers>

 

<

 

httpModules>

 

<

 

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

 

</

 

httpModules>

 

</

 

system.web>

 

<

 

system.codedom>

 

<

 

compilers>

 

<

 

compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">

 

<

 

providerOption name="CompilerVersion" value="v3.5" />

 

<

 

providerOption name="WarnAsError" value="false" />

 

</

 

compiler>

 

<

 

compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">

 

<

 

providerOption name="CompilerVersion" value="v3.5" />

 

<

 

providerOption name="OptionInfer" value="true" />

 

<

 

providerOption name="WarnAsError" value="false" />

 

</

 

compiler>

 

</

 

compilers>

 

</

 

system.codedom>

 

<

 

system.webServer>

 

<

 

validation validateIntegratedModeConfiguration="false" />

 

<

 

modules>

 

<

 

remove name="ScriptModule" />

 

<

 

add name="ScriptModule" preCondition="managedHandler" 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" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

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

 

</

 

handlers>

 

</

 

system.webServer>

 

<

 

runtime>

 

<

 

assemblyBinding 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>

 

</

 

configuration>

 

Pavlina
Telerik team
 answered on 06 Apr 2009
1 answer
169 views
Hi,

We are using the RAD Editor control for WSS 3.0 and the version of the Rad Control is 5.3.2.0. In our project we are defining all the content in the list items and we are using those list item content in web page by accessing those from list item view webpart control. The issues we are facing is all our custom styles are not appearing in the "Apply CSS" dropdown list. I have done the following tags to the file "ListConfigFile.xml" as per one of the previous article.

<property name="CssFiles">  
   <item>/_wpresources/RadEditorSharePoint/5.3.2.0__1f131a624888eeed/Resources/CssEditor.css</item>  
</property>

But still those styles are not appearing in the Rad Editor control used in the list items. Could you please help me in providing additional details if we have missed something.

[Note : For testing purpose, I have created a new webpage and added the Rad content editor web part directly to the page and those styles are appeared, but when I am using the RAD Control in the list item, those are not reflecting the "Apply CSS" dropdown list. Please help.

Thanks,
Bikram.
Stanimir
Telerik team
 answered on 06 Apr 2009
3 answers
147 views
Hello,

I have noticed a possible problem when working with tables in the RadEditor.
Let's say that you create a new table in the RadEditor and set it to have 1 Heading row and 1 Column row. If you after this choose to edit the table and add a new column, then the topmost cell in the new column will be created as an ordinary table cell (<td>) and not a  table heading cell (<th>) as it should. 
Like this:
<thead>
        <tr>
            <th>Col 1</th>
            <th>Col 2</th>
            <th>Col 3</th>
            <td>New, added column created with td-tags instead of th</td>
        </tr>
</thead>

I have been using IE 6 when making these observations.

Regards
Daniel
Stanimir
Telerik team
 answered on 06 Apr 2009
1 answer
145 views
Hi there

I'm experiencing a visual bug in Internet Explorer and occasionally in Firefox. I have a RadRotator that is being populated on Page_Load with a List of custom objects used in our application. When the List only contains one item, my expectation was that the animation would not occur - that the Rotator would not rotate, since there is only one object.

Instead, I am getting a repeated animation (as captured in a screen captured movie here: http://www.if-fma.com/rad_rotator.avi) which doesn't look brilliant!

The Rotator is currently being set up with the following parameters:

     RotatorType: Slideshow
     SlideShowAnimationType: Fade
     SlideShowAnimationDuration: 0

Is there a setting I can change to turn animations off (I would apply this setting in code if the List only contains one item)?

Thanks
Fiko
Telerik team
 answered on 06 Apr 2009
8 answers
211 views
I have a Modal Window (A) that opens another Modal Window (B) that opens another Modal Window (C),

how can I get refrence to a parent model window from a child model window.

so how can (C) get refrence to (B) without knowing the radwindowID is there a way to find the radwindow ID of the parent window the child window was opened from?
Fiko
Telerik team
 answered on 06 Apr 2009
3 answers
134 views
I just installed Lite.  It appears the 'default' styles from the moss html editor is being included in the 'Apply CSS Class' style.  How can I remove them from the drop down?

Thanks! 
Stanimir
Telerik team
 answered on 06 Apr 2009
1 answer
137 views
Hi all

I've just downloaded the Q1 2009 release with excitement as I've been developing a custom image manager/uploader over the last few weeks and have been having difficulty getting it to look and behave just right especially with the image uploader as it was embedded so was hard to customize.
Reading past posts it looked like the new version would use standard filebowser and upload controls... So I am hoping to have complete control over the dialogs for the image manager and upload windows.

However I can't see an upload editor file in the editors folder? are the editor dialogs using standard file manager and upload controls now?

Are there any updated documentaion examples on how I can design my own file manager / upload controls?

Many thanks

Matt
Tervel
Telerik team
 answered on 06 Apr 2009
3 answers
121 views
Hi There,

I am working on telerik. I have used grid created function for my grid, which is working fine in IE7 but not working for IE6. Can anybody help me to know where i am doing mistake. The code i have used is:
<script type="text/javascript">   
        //------ Grid Resize ------ //                    
        function GridCreated()     
        {  
           var scrollArea = document.getElementById("<%= rgIssueList.ClientID %>" + "_GridData");                           
           var dataHeight =  document.getElementById("ctl00_ContentPlaceHolder1_rgIssueList_ctl00");      
           var dataWidth = document.getElementById("ctl00_ContentPlaceHolder1_rgIssueList_ctl00_Header");     
           
            if(dataHeight.clientHeight < 350)  
            {  
              scrollArea.style.height = dataHeight.clientHeight + 20 + "px";  
              scrollArea.style.overflow = "auto";  
            }  
        }  
</script> 
Can anybody help me to come out of this problem??? Waiting....

Regards:
Vimal Kumar Srivastava
Madhepura, Bihar
Email Id: vimaltech04@gmail.com



senthil
Top achievements
Rank 1
 answered on 06 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?