Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
456 views
I have a hierarchical grid that uses Linq and the entity framework to do custom paging, at some point I noticed that the edit function was no longer working. The problem is that whenever I try to get the values using the following code they all come back as null.
The item.SavedOldValues is populated as I would expect.  I can paste the aspx and c# but since there is ALLOT of it I figured I'd wait until someone asks for it. Right now I'm really looking for suggestions.

protected void rgEditor_UpdateCommand(object source, GridCommandEventArgs e)  
    {  
 
          
        GridEditableItem item = e.Item as GridEditableItem;  
   
        Hashtable edited = new Hashtable();  
        item.OwnerTableView.ExtractValuesFromItem(edited, item);  
        //at this point edited has all the keys I would expect but the valeus are all null  
 
    } 


Thanks

Bill
Akber Ali
Top achievements
Rank 1
 answered on 03 Nov 2009
0 answers
92 views
I am having a contest menu in my scheduler . In this i have three items called(Show,Order,View) .
i witten server side code for every menu click . When i click on  "Show" for a particular date some data is storing into the database.
After that when i click on same date the "Show" menu item should be disabled because it is already in "Show" mode.
 when i right click on other day it should be enabled.

plz help its urgent......
pradeep madugula
Top achievements
Rank 1
 asked on 03 Nov 2009
5 answers
189 views
I am using both a custom inline insert and custom advanced edit template on my scheduler. I am making some webservice calls (custom code) in my handlers for the insert/update buttons:

protected

 

void rsScheduler_AppointmentUpdate(object sender, Telerik.Web.UI.AppointmentUpdateEventArgs e)

 

protected

 

void rsScheduler_AppointmentInsert(object sender, Telerik.Web.UI.SchedulerCancelEventArgs e)

 


All of the code works great, the scheduler is a great control and now that I am down to the polishing, I have run into two issues:

1) I cannot for the life of me get the RadLoadingPanel to fire when clicking on my Insert / Update buttons in my advanced templates. Although the code works, it leaves the user wondering what is happening as the code behind processes. When I try to add the buttons to my AjaxManager, it breaks their interaction with the scheduler so I am wondering if anyone has gotten this to work.

2) When one of my users tries to delete an appointment, the modal popup that the control throws is nice, but not applicable to my app (it is a leasing tool, not an appointment scheduler). I need to be able to modify at least the text, if not replace it entirely. Anyone know how?

Thanks,

Jim

Peter
Telerik team
 answered on 03 Nov 2009
1 answer
89 views
I designed an application using RadSplitter with two RadPanes. The first RadPane contains a RadTreeView, is coded in the same page, works fine, and is keyboard accessible. The second RadPane pulls in another page and I cannot figure out how to shift focus using the keyboard from the RadTreeView to the updated RadPane2. The screen reader tells me that there is one frame on the page and, after clicking a link in the TreeView, that RadPane2 updated. However, none of the standard keyboard shortcuts for navigating frames and the Alt+accesskey I entered for RadPane2 doesn't work.

Is there something else I need to do to be able to move from one to the other using the keyboard?
Thanks!
Jen
Tsvetie
Telerik team
 answered on 03 Nov 2009
8 answers
840 views
Hi Telerik,
I want also edit after Postback (save the content). But then, when opening any dialog, the following error occurs:

Cannot deserialize dialog parameters. Please refresh the editor page.

What to do?

Thanks for answering.
Andreas


Mike
Top achievements
Rank 2
 answered on 03 Nov 2009
1 answer
121 views
Hi

Is there some trick to making RadCalendar render the same width in both IE (ver. 7 or 8) and Firefox 3.5.x.
In my case there is a 12 to 20 pixel difference i.e. wider in IE than in Firefox.

The width difference (12 to 20) depends on culture selected (Using the same browser, the Calendar does not even have the same width for all cultures).

Axel
Dimo
Telerik team
 answered on 03 Nov 2009
6 answers
231 views
Hello,
As title, my question is if we can put a user control in a dockzone?

Cheers,
Elton
Sam Bronchetti
Top achievements
Rank 1
 answered on 03 Nov 2009
1 answer
103 views
Hello,

I am having an issue with settings for an instance of a RadWindow not being applied when the window loads.

The open event for the window works correctly:

            function ShowMoveItems(met, trk)  
            {  
                var grid = $find("<%= RadGrid1.ClientID %>");  
                          
                window.radopen("sched_MoveScheduledMeeting.aspx?m=" + met + "&t=" + trk, "MoveMeeting");  
                return false;   
            } 

The Control definition:
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" PreserveClientState="false" DestroyOnClose="true">  
        <Windows>  
            <telerik:RadWindow ID="MoveMeeting" runat="server"   
        EnableAjaxSkinRendering="true" EnableViewState="true" Behavior="Close,Move" Skin="Web20" Modal="true" AutoSize="true" ReloadOnShow="true" />  
        </Windows>  
    </telerik:RadWindowManager>  
 

If i move the properties i have allocated to the RadWindowManager itself, It works.
As long as the properties are assigned to the RadWindow instance, they are not applied.

I cant seem to figure out whats going on. Could this be an Ajax thing? Do settings get overridden by usuing the Javascript Radopen command?

Any help appreciated.

Thanks.
Georgi Tunev
Telerik team
 answered on 03 Nov 2009
2 answers
308 views
I Get a javascript error when I put the following control in the same page as a ScriptManager.

If i remove the
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
        </telerik:RadScriptManager> 
tag, no error happen.
What can i do to solve this?

Javascript Error
Webpage error details 
 
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.0.3705) 
Timestamp: Thu, 29 Oct 2009 19:03:10 UTC 
 
 
Message: Object doesn't support this property or method 
Line: 15 
Char: 27336 
Code: 0 
URI: http://localhost/WebRequest40/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3afr-CA%3a0d787d5c-3903-4814-ad72-296cea810318%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.3.1125.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3afr-CA%3afd794f69-50b6-4e80-a52c-60fb1a05429c%3a393f5085%3aa8595f70%3a9efc6f46%3a4b6f7e66%3a80ec1d93%3ae9e0cae%3ac6335cbd%3a414de951%3a6dd34527%3a526d426%3a80c4ad6d%3a527acb41%3a6f2bcae9%3a34f9d57d 
 
 


Telerik Version=2008.3.1125.35

Custom control
Imports System.ComponentModel 
Imports System.Web.UI 
Imports Telerik.Web.UI 
Public Class ValidatingTextbox 
    Inherits Textbox 
    Implements IPostBackEventHandler 
 
 
 
    Public Delegate Sub OnBlurDelegate(ByVal sender As Object, ByVal e As EventArgs) 
    Public Event Blur As OnBlurDelegate 
 
 
    Protected Overrides Sub OnInit(ByVal e As System.EventArgs) 
        MyBase.OnInit(e) 
        If Not Page.ClientScript.IsClientScriptBlockRegistered("OnBlurTextBoxEvent") Then 
            Page.ClientScript.RegisterStartupScript(MyBase.GetType, "OnBlurTextBoxEvent", GetScript, True) 
            Attributes.Add("onblur", "OnBlurred(" & UniqueID & ",'')") 
        End If 
    End Sub 
 
 
 
    Protected Sub OnBlur() 
        RaiseEvent Blur(Me, EventArgs.Empty) 
    End Sub 
 
    Private Function GetScript() As String 
        Return "function OnBlurred(control, arg)" & vbCrLf & _ 
                "{" & vbCrLf & _ 
                "    __doPostBack(control, arg);" & vbCrLf & _ 
                "}" 
    End Function 
 
    Public Sub RaisePostBackEvent(ByVal eventArgument As String) Implements System.Web.UI.IPostBackEventHandler.RaisePostBackEvent 
        OnBlur() 
    End Sub 
 
End Class 
 

The page looks like this:
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <br /> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
        </telerik:RadScriptManager> 
         <cc1:ValidatingTextbox CssClass="input" ID="txtRecordTest2" Style="left: 200px; position: absolute;" 
                                TabIndex="5" runat="server" Width="141px" AutoPostBack="True"/> 
        <br /> 
    </div> 
    </form> 
</body> 
</html> 
the code behind
Partial Public Class test
    Inherits System.Web.UI.Page 
 
    Private Sub txtRecordTest2_Blur(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtRecordTest2.Blur 
        'Some thing is done 
    End Sub 
End Class 

Veselin Vasilev
Telerik team
 answered on 03 Nov 2009
1 answer
133 views
Hi,

I have a Scheduler on my page, which uses webservices for its data.
It starts in a TimeLineView by default, showing one day, from 8:00 - 19:30h, with timeslots of 0:30 each. Before the Scheduler calls GetAppointments in my webservice, it is shown as seen in the attached "before.png". But when GetAppointments returns its result, the Scheduler seems to redraw itself, looking like the screenshot in "after.png".
Notice the fact that the headers that should show the time show the date, and the header shows "29 oktober - 28 oktober", whilst both the begin and enddate of the current view are 29 oktober.

What can I do to solve this?
Peter
Telerik team
 answered on 03 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?