Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
I using a web service to bind the scheduler and now trying to populate the resources.  I need to pass some additional info to the web service so I've created a class that implements ISchedulerInfo and have followed the instructions for passing additional info to the web service via a custom implementation of ISchedulerInfo.  I'm successful with the call to GetAppointments with additional parameters but I set the custom parameters in javascript. 

So, the web service settings show ResourcePopulationMode="ServerSide".  On the page...

    Protected Sub RadScheduler1_ResourcesPopulating(ByVal sender As Object, ByVal e As Telerik.Web.UI.ResourcesPopulatingEventArgs)
        Dim myInfo As New CustomSchedulerInfo
        myInfo.UserID = 1234
        e.SchedulerInfo = myInfo
    End Sub

Setting breakpoints shows ResourcePopulating firing before the web method call to GetResources. 

    <WebMethod()> _
    Public Function GetResources(ByVal schedulerInfo As CustomSchedulerInfo) As IEnumerable(Of ResourceData)
        Return Controller.GetResources(schedulerInfo)
    End Function

When I set a breakpoint in GetResources and evaluate schedulerInfo, schedulerInfo.UserID = 0 (default). 

Maybe I'm just missing some setting but it appears as though replacing e.SchedulerInfo is not working -- at least not in VB.

Any suggestions?
Peter
Telerik team
 answered on 02 Feb 2011
2 answers
89 views
Hi Team ,

I am new to telerik.i am having RadTreeView in MasterPage and having around 100 pages are using this masterpage.what are the differents ways(by using serverside or clientside) to maintain the state of treeview between the pages (ex:expanding and collapsing etc..).

Please help me..

Regards ,
Naveen M
Naveen
Top achievements
Rank 1
 answered on 02 Feb 2011
6 answers
127 views

Hi there,

 I have a page which has a tabstrip. I dynamically add a usercontrol to a pageview. The usercontrol added dynamically has a button which opens a page in a radwindow. I follow the below syntax for opening a radwindow from client side.

var oWnd = radopen("page.aspx", "Page");

The radwindow is displayed distorted. Screenshot attached.

Georgi Tunev
Telerik team
 answered on 02 Feb 2011
2 answers
85 views
I am having a problem understanding why the following entry in the web.config is only working when it exists in the root web.config and not a "child" web.config.

<add name="Telerik_Web_UI_WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" resourceType="Unspecified" preCondition="integratedMode" />

When it is in the child web.config I receive the wonderful 'Sys is undefined' errors that everyone loves so much.  All other Telerik entries work just fine outside of the root.


Here is the Child webconfig
<?xml version="1.0"?>
   
  <system.web>
    <pages>
      <controls>
        <add tagPrefix="telerik" tagName="" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      </controls>
    </pages>
    <httpHandlers>
      <add path="Telerik.Web.UI.SpellChecker.axd" verb="*" type="Telerik.Web.UI.SpellChecker" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
    </httpModules>
  </system.web>
  <system.webServer>
    <modules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersion2.0" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersion2.0" />
    </modules>
    <handlers>     
      <remove name="Telerik_Web_UI_WebResource" />
      <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" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" resourceType="Unspecified" preCondition="integratedMode" />
      <add name="ChartImage_axd" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler" preCondition="integratedMode,runtimeVersion2.0" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik_Web.UI.SpellCheckHandler" preCondition="integratedMode,runtimeVersion2.0" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" preCondition="integratedMode,runtimeVersion2.0" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler" preCondition="integratedMode,runtimeVersion2.0" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" preCondition="integratedMode,runtimeVersion2.0" />
    </handlers>
  </system.webServer>
  <appSettings file="">
    <add key="Telerik.Skin" value="Outlook" />
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
  </appSettings>
</configuration>



Does anyone know a way to get this to work when it is not in the root web.config?

Thanks!

Rick
Georgi Tunev
Telerik team
 answered on 02 Feb 2011
1 answer
88 views
Hello -

I've browsed the system requirements for the ASP.NET AJAX RadControls, but was hoping someone could clarify something for me before we move forward with a purchase. For our application, management has dictated that .NET 4 must not be a requirement for the end user to install, either on the client or server. .NET 3.5 SP1 is the latest version of .NET we require our customers to have installed.

Does this preclude the use of the ASP .NET AJAX RadControl toolkit?

(At this point, the control we are most interested in is the scheduler).

Many thanks -
Matt
Yana
Telerik team
 answered on 02 Feb 2011
2 answers
235 views
Hi,
 I get the following error  when I try to binding a RadTextBox control to a Open Access object:

The type 'Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable' is defined in a no reference assembly. You must to add a reference assembly 'Telerik.OpenAccess, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'

The message is a translate from spanish.

I have added all reference to Telerik.OpenAccess. I don't know what to do.

my code in the aspx page is:
<telerik:RadTextBox ID="nombreTextBox" runat="server" CssClass="textEntry"
Text="<%# myEntity.stringProperty %>">   </telerik:RadTextBox>

the object "myEntity" is in the code behind, and is an entity from ORM Open Access
Alexander
Telerik team
 answered on 02 Feb 2011
3 answers
93 views
Hi,

In our current project, we are experiencing additional issues when dealing with "connected" reusable content (apart from the issues mentioned in other posts and that are -at least partially- solved). First of all, when adding connected reusable content (with connected I mean set to update automatically) we noticed that the reference between the content item (page) and the reusable content is not created, so one can still delete the reusable content that is attached to a content item. We are not entirely sure that this is caused by the rad editor, but since we have not made any changes to the reusable content configuration, and after discussion with Microsoft, we are suspecting that the rad editor does something wrong. This leads to the second and more serious issue that if we delete a reusable content item connected to a page, and restore it later, we can never add it again to the page. It will just show the small "a" character (known but afaik solved), and then nothing (bug!). When doing a little investigation I noticed that the rad editor emits javascript to fix/format and transfer the editor's content into a hidden field. That's the point where it goes wrong. What happens now is that the javascript first reformats the content (so that SharePoint can handle the reusable content specific tokens) and then puts the reformatted content into the hidden field. However, it should first get the unformatted content from the editor, put it in the hidden field, and then reformat the content in the editor. I tested this scenario using the web developer tools of IE8 (Firefox does not play well with the reusable content picker) and when reversing the logic as described, it apparently works. I might be missing something of course, as I don't know the inner workings of the tool.
The version we are using is RadEditor 5.7.3 on MOSS (we have purchased a license but are now trying to find out who actually holds the license key so we can open a support ticket)

Many thanks for your response.

Ben
Stanimir
Telerik team
 answered on 02 Feb 2011
1 answer
64 views
When I add a button column for the Edit/Update/Cancel button, I can change the button type to be an image, and it will automatically fetch the telerik skin images from WebResource.axd, and in the properties of the column you can see that for the image url it's using "mvwres://...".

However, if I try to do anything similar with a Delete column button, it doesn't work.  I'm assuming the delete icon is stored as a resource in the telerik dll just like the edit/update/cancel images are.  Is there any way to have it reference this image rather than copying the delete.gif from telerik program files to my application directory and manually pointing the delete column to use this gif? 
Tsvetina
Telerik team
 answered on 02 Feb 2011
1 answer
126 views
I have a RadListView with 3 columns! My problem is that when there is only one items to be displayed the ListView width is just like the item width.

http://img220.imageshack.us/img220/1303/nonstretched.jpg

If i have three items to be shown up it is displayed correctly fully stretched across the page.

http://img98.imageshack.us/img98/6531/stretchedy.jpg

How do i make it remain fully stretched even if there is only one item (or two) ???

Thanks
Radoslav
Telerik team
 answered on 02 Feb 2011
1 answer
122 views
I have a website that currently has a data grid on a page called "data_manager.aspx".  I am adding a new data grid page called "data_manager2.aspx", but I want the user to choose which page to view when the menu link is clicked.

1)  When a user clicks the data manager menu option, it will launch a radWindow Modal that asks them which page they want to view.

2) When the user clicks the link to the page he/she wants to view, the modal window closes and the parent window directs to the appropriate page.

3) Query strings must pass between the parent to the rad modal back to the new parent when the selection is made.

Ideas on how to do this?
Shinu
Top achievements
Rank 2
 answered on 02 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?