Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
260 views
See the screenshot ; I have a simple "input type=text" control, an asp:Button, and below a RadGrid. You could see that the list of hints displayed by IE is shifted.
Do you have an idea about what could cause that?
Dimo
Telerik team
 answered on 15 Jan 2010
3 answers
168 views
Hi,

I'm using the scheduler to load list of read only appointments. So I set "AllowEdit="false" and also the "ReadOnly" properties of the respective monthview and dayview. It loads fine and displays the appointment.

But when I double click on any cell in the schedule (not on the area where the appointments are displayed but outside it), the page gets reloaded and all appointments are gone.

How do I prevent this?.

Thanks,
Prem
Peter
Telerik team
 answered on 15 Jan 2010
5 answers
91 views
Hi,

I have a problem with IE8 and the RadWindow. I have uploaded a simple project at http://www.smallweb.nl/upload/danny/RadWindowTest.zip.

What I do is the following:
1. I have added a button, label, hyperlink and radwindow to the page
2. The hyperlink opens the RadWindow, using some javascript.
3. Using the add_close function of the RadWindow, a javascript function is called when the RadWindow is closed
4. When the RadWindow is closed, the command $get('Button1').click() method is called, which performs a postback to the server
5. The button is added to the RadAjaxManager as an AjaxControl. The Label is added as an AjaxUpdatedControl.

So when the RadWindow is closed, the button is clicked (using some javascript) and the label will be updated using AJAX. This all works fine in IE7 and FF, but not in IE8. 

Ien IE8, when the RadWindow is opened and closed for the second time on this page, there are two requests for this page at the server. When I set a breakpoint in the page_load event and check the IsPostBack property (which should be set to TRUE), in the 1st request this property is FALSE and also the click event of the button does not occur. In the 2nd request the IsPostBack property is TRUE and the click event occurs.
In IE7 and FF only one request to the server occurs (as it should be).

Is there a workaround for this problem?

Thanks,
Danny
Georgi Tunev
Telerik team
 answered on 15 Jan 2010
1 answer
135 views
In your samples you demonstrate that we nee to return IEnumerable of Appointment Data to the scheduler.

Is there something that runs in between of the scheduler and our web service?

I'm getting the following error when navigating to my web service on our staging environment

Cannot serialize interface System.Collections.Generic.IEnumerable`1[[Telerik.Web.UI.AppointmentData, Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4]].


I've been reading in blogs that we shouldn't be returning IEnuermabl from a web service but rather something that can be serialized and therefore use the toArray method on IEnumerable and return that array.

I think this is the cause of another error I'm seeing when going straight to the page

The remote name could not be resolved: myschedulersite.test.com



thanks


Dimitar Milushev
Telerik team
 answered on 15 Jan 2010
2 answers
130 views

Can anyone tell my why the grid columns would be in a different order on an Export than they are on the Web-Page?

Thank You,
Jim Harkins
Daniel
Telerik team
 answered on 15 Jan 2010
1 answer
431 views
Typing anything close to HTML into a RadTextBox seems to break it when it goes over the wire. I've tried escaping (encoding) it via javascript in the OnRequestStart, but that didn't seem to work... any ideas on the proper way to handle this (and without using a RadEditor).
Dimo
Telerik team
 answered on 15 Jan 2010
2 answers
127 views
Hi there,
I'd like to have a PanelBar which has the following type of layout:

Workflow
    Cases
        Case 1001
        Case 1002
        Case 1003
Search
    Search by case number
    Search by id
Reports
    Activity report
    Audit report

Where All but the items under the Cases node are static, but those under Cases are dynamic, retrieved by a call to a WCF service method.

Is this possible??

Thanks,

James

Veselin Vasilev
Telerik team
 answered on 15 Jan 2010
1 answer
264 views
Hi,

I m facing the following below problem on my Deployment Server ,
i am using microsoft script manager and radscript manager in my application ,locally it run pretty much fine but when i m going to deploy
it on my Development server it shows the below error when my Login page is open


error description:

Method not found: 'Void System.Web.UI.ScriptManager.RegisterHiddenField(System.Web.UI.Page, System.String, System.String)'.


[MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterHiddenField(System.Web.UI.Page, System.String, System.String)'.]
   Telerik.Web.UI.RadScriptManager.OnLoad(EventArgs e) +0
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627



Looking Forward
Veselin Vasilev
Telerik team
 answered on 15 Jan 2010
1 answer
164 views
I have added a new Grid ContextMenuItem and added a handler for the click event. I want to open the Upload Window on this event but don't know how to do it. This functionality is to allow for document versioning and I'll do all of the checks for versioning serverside.

Here's the handler:

    function OnClientContextMenuItemClicked(sender, args) { 
        var buttonValue = args.get_item().get_value(); 
        if (buttonValue == "Checkin") { 
            var oExplorer = $find("<%= DocumentExplorer.ClientID %>"); 
            var oAjax = $find("RadAjaxManager"); 
            // I want to open the upload window here 
        } 
    } 
 

Thanks,
Steve


Steve White
Top achievements
Rank 1
 answered on 15 Jan 2010
2 answers
151 views
In my CustomProvider I've added an Attribute to a FileItem and I'm displaying it in the Grid as a new column. This Attribute is based on business logic and shows the status of the File (checked-out/in). The column is called 'Status' and when checked out the row displays 'Locked'.

Couple of things:
1) how do I change the backbround on any grid rows that are 'Locked'? In other words how do I get the Attribute server-side?
2) when the user selects the 'Locked' row I want to disable some elements in the Toolbar as well as the selected grid row contextmenu. Specifically, I want to grey-out the 'Delete' item in the contextmenu when a file is checked out.

I have added 2 ToolBar items to the Explorer: 'Check Out' and 'Edit File'. If the selected item is already checked out, I want to change the 'Check Out' ToolBar item to 'Check In' (of course I'll need to run a security check to make sure the person who has the file checked out is the same as the current user).

I've tried using ExplorerPopulated and I can correctly get the 'Locked' item as below, but I'm stuck on how to do 1) and 2) above.

    Private Sub DocumentExplorer_ExplorerPopulated(ByVal sender As ObjectByVal e As RadFileExplorerPopulatedEventArgs) 
        Dim items As List(Of Widgets.FileBrowserItem) = e.List 
        'Dim isGridPopulated As Boolean = items.Exists(Function(it) (TypeOf it Is Widgets.FileItem)) 
        'If (isGridPopulated) Then 
        Dim i As Integer = 0 
        While i < items.Count 
            If TypeOf items(i) Is Widgets.FileItem Then 
                If items(i).Attributes("Status").ToString = "Locked" Then 
                    ' how do I get the contextmenu here so I can grey out some of the items? 
                    ' also the comment line below seems to have no effect!!!!!!!! 
                    'items(i).Permissions = Widgets.PathPermissions.Read 
                End If 
            End If 
            i += 1 
        End While 
        'End If 
    End Sub 
 

Thanks,
Steve


Steve White
Top achievements
Rank 1
 answered on 15 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?