Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
238 views
I want the content of each page in my docks to only load when the image button is clicked.  I also would like to have this content in the RadDock so I set up an Iframe and an image button in each dock with the following code.  It doesn't work to make the frame visible and load the page.  What would be the correct approach to this?  thank you.


 

<script type="text/javascript">

 

 

function showIframe() {

 

document.getElementById(

"frame1").src = "DrawingTreeView.aspx";

 

document.all.frame1.style.visibile =

"visible";

 

}

 

</script>
.
.
.

 

<

 

td>

 

 

 

 

 

<telerik:RadDockZone ID="RadDockZone1" runat="server" Height="200px" Width="200px" BorderWidth="0">

 

 

 

 

 

<telerik:RadDock ID="RadDock1" runat="server" Title="Drawing Tree"

 

 

DefaultCommands="All" Resizable="True"

 

 

OnClientDragStart="OnClientDragStart" OnClientDockPositionChanged="OnClientDockPositionChanged"

 

 

 

 

 

DockHandle="TitleBar" EnableAnimation="true" EnableRoundedCorners="true">

 

 

 

 

 

<ContentTemplate>

 

 

 

 

 

<asp:ImageButton runat="server" ID="imgWebsiteThumbnailImage" OnLoad="btnShowThumbnailImage_Click" Visible="true" OnClientClick="showIframe" />

 

 

 

 

 

<iframe id="frame1" runat="server" width="100%" height="100%" visible="false" />

 

 

 

 

 

</ContentTemplate>

 

 

 

 

 

</telerik:RadDock>

 

 

 

 

 

</telerik:RadDockZone>

 

 

 

 

 

</td>

 

 

 

C O
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
136 views
Hi,

I have created a usercontrol which contains a RADScheduler.
This works fine from the ASP.Net.
I am trying to integrate the same in sharepoint and to load the page.
But I am getting lot of issues while integrating. Please find the issues below.

1) I am having a AdvancedEdit window for editing. It opens and retrieves the values properly in sharepoint.
But when make any changes in the Edit and trying to update the same, the changes that are made are not sent in Request.
I found out this while debugging. Hence whatever change i made during edit, the values are not passed.
The same works fine in ASP.Net.
2) I am having a RADTooltip which will display values when moved over the schedules available in the scheduler.
While moving over the scheduler, the values are retrieved from the backend and is set to the text property of Labels inside another usercontrol. The Tooltip is displayed, but the usercontrol is not displayed within the tooltip.

Note: I have already used a Radtooltip inside a Grid control. The functionality is more or less the same.
The tooltip works fine in RADGrid, but creating problem with RADScheduler.

Kindly suggest solutions to the above queries ASAP.

Thanks in Advance,
Vinoth.K
Vinoth K
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
320 views
Hi,

I was using free telerik version 2009  in my project and recently purchased telerik version 2010. I did not change any web.config setting and it was working fine on my local machine.
But  on the server it is giving me following error in web. config

Parser Error Message: Could not load file or assembly 'Telerik.Web.Design, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

on the following line

<add assembly="Telerik.Web.Design, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

Below is my web.config File code

<?

 

xml version="1.0"?>

 

<

 

configuration>

 

<

 

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>

 

<

 

sectionGroup name="telerik.web.ui">

 

<

 

section name="radScheduler" type="Telerik.Web.UI.RadSchedulerConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>

 

</

 

sectionGroup>

 

</

 

configSections>

 

<

 

appSettings>

 

<

 

add key="ConnectionString" value="server=TESTSVR01\SQLEXPRESS;database=Epilepsy12;uid=sa;password=cout123;"/>

 

</

 

appSettings>

 

<

 

connectionStrings/>

 

<

 

system.web>

 

<

compilation debug="true">

 

<

 

assemblies>

 

<

 

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.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

<

 

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

 

<

 

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

 

<

 

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="Telerik.Web.Design, Version=2009.3.1314.20, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

 

<

 

add assembly="Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>

 

</

 

compilation>

 

<

authentication mode="Windows"/>

 

<

pages>

 

<

 

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>

 

<

 

httpHandlers>

 

<

 

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

 

<

 

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

 

<

 

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

 

<

 

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

 

<

 

add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>

 

<

 

add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>

 

<

 

add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>

 

<

 

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" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

 

</

 

httpHandlers>

 

<

 

httpModules>

 

<

 

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

 

<

 

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

 

<

 

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

 

</

 

httpModules>

 

</

 

system.web>

 

<

 

system.web.extensions>

 

<

 

scripting>

 

<

 

webServices>

 

<

 

jsonSerialization maxJsonLength="5000000"/>

 

</

 

webServices>

 

</

 

scripting>

 

</

 

system.web.extensions>

 

 

 

 

<

system.codedom>

 

<

 

compilers>

 

<

 

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

 

<

 

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

 

<

 

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

 

</

 

compiler>

 

<

 

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

 

<

 

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

 

<

 

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

 

<

 

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

 

</

 

compiler>

 

</

 

compilers>

 

</

 

system.codedom>

 

 

 

 

<

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>

 



Wht all changes I need to make in web.config file.(FYI: I'm using .net version 3.5 on my local and .net version 2.0.50727 SP-1 on server)

Thanks.
Daniel
Telerik team
 answered on 26 Apr 2010
5 answers
591 views
I'm trying to figure out a way to continuously add lines to a multi-line RadTextBox that automatically shows the last line added instead of staying at the top of the textbox. My goal is to basically display a log of events, so if there's another way I'm open to ideas. A multi-line textbox was just the first idea that came to my mind.

I've tried setting SelectionOnFocus to CaretToEnd and continuously setting the focus to the textbox, but all it seems to do is keep the caret placed on bottom of the textbox without scrolling down. Any help would be appreciated!

Thanks,
Chad

Chad Strawinski
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
118 views
Hello i am using grid's export Functionality  want to export data with freeze fixed column how can i fix this

Freeze Panes 


Daniel
Telerik team
 answered on 26 Apr 2010
1 answer
62 views
The attached image was taking from the Telerik demo site. This is happening with other styles not only offce2007. How can I fix it?

Thanks,
Italo
Italo
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
133 views
Hi,

I am creating a combobox in codebehind dynamically with checkbox template. I am inserting "Select" as a selected item. When i am clicking the CheckBox of the item I called the CheckboxOnclick event. But When i am clicking the Item text the "Select" text which i had as selected item changes to the item text which i clicked. Actually that should not happen. The select text should be the same. How to over come this problem and is there any way  to prevent ItemClick event dynamically. I have given EmptyText also dynamically which is not worked. Pls help me out to sort this problem. I tried OnItemRequested it is also not working.

Thanks,
Jeevitha
Veronica
Telerik team
 answered on 26 Apr 2010
0 answers
106 views
I've searched around in the documentation and online for a way to handle upload failures for the RadAsyncUpload control. At the moment the control merely displays an exclamation mark next to the control upon failure. I would like to provide the user with more detail regarding the nature of the failure. Client-side feedback would be preferable. Is this at all possible?
Andy H
Top achievements
Rank 1
 asked on 26 Apr 2010
1 answer
82 views
My AJAX enabled grid displays header text and item data which are not aligned.  If I resize the columns even by 1 pixel, the alignment is reset and displays correctly.  Any ideas of why this is happening?

Thanks!
Dimo
Telerik team
 answered on 26 Apr 2010
1 answer
202 views
We have a number of RADComboBox controls that have a large number of items in them.  So many that in some cases the drop down will drop up.  This usually results in the list going out of the viewable area of the browser (IE7).  Within these lists we allow the user to filter what they want to see on text that contains what they type ('Filter="Contains"').  When they've typed in a couple of characters the drop up list filters, but the matching values are all the way at the top of the drop up area and out of the viewable area of the browser.

Is there a way to have the dropdown portion auto resize on when the filter occurs?  Or possibly have the matching selection be vertically aligned to the bottom so that when the drop up occurs they show just above the control on the page.  For now the user just see a white area that's blank unless they can scroll up without having the drop up area go away (w/ mousewheel).

Any help would be greatly appreciated.
Kalina
Telerik team
 answered on 26 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?