Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
89 views
I connected using Entity framework, anyways... all appointments saved has no time being saved. All of it are saved as whole days.

Anyways, experiemented more and found out that on the AppointmentInsert event, the e.Appointment's Start and End Date is being saved only as Dates, the time is 12:00:00 AM... Might be a bug. Thats on when inserting appointments on Month View, Week view is fine.
 
Albert
Top achievements
Rank 1
 answered on 03 Mar 2009
6 answers
141 views
I added Exceptions trough RecurrenceRule.Exceptions.Add, but when I use the ToString, the EXDATEs are off by a day.

This is my Exceptions collection,

2/21/2009
2/24/2009
3/7/2009
3/13/2009
3/20/2009
3/27/2009

but the resulting string is

DTSTART:20090213T160000Z
DTEND:20090213T160000Z
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,FR
EXDATE:20090220T160000Z,20090223T160000Z,20090306T160000Z,20090312T160000Z,20090319T160000Z,20090326T160000Z

Albert
Top achievements
Rank 1
 answered on 03 Mar 2009
2 answers
215 views
I don't understand why this isn't working......

 

 

 

protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)

 

{

 

    Appointment appt = e.Appointment;

 

 

    appt.ToolTip = appt.ID.ToString();

 

 

    RadToolTipManager1.TargetControls.Add(appt.ID.ToString());

 

}

 

 

 


I keep getting this:

[NullReferenceException: Cannot find a server control with ID=2. If you need to specify a client-side element ID, please set IsClientID to true.]
   Telerik.Web.UI.RadToolTipBase.ThrowControlNotFound(String ctrlID) +61 blah blah blah blah blah

I thought I'm supposed to feed RadToolTipManager1.TargetControls.Add the control's ID. I'm guessing that this is not the Appointment ID? How do I grab this?

Sorry for two beginning ASP.NET questions today. This and the other small problem I posted about have me stuck, running in circles. Any assistance would be great.

David
Top achievements
Rank 1
 answered on 03 Mar 2009
2 answers
136 views
Hi,

In previous (pre-Prometheus) we were using the RadRotator to animate a 24 hour sattelite image sequence.

We need to animate a few images, 130ms between each, with no transitions.

With the new RadRotator, it is superior in every other respect, however we seem to be getting a big white (background) flash between frames.  Tested in both IE & FF.

I'm confident we're doing something wrong!!?  Hope you can help...

                    <telerik:RadRotator runat="server" ID="uxImg" RotatorType="SlideShow" FrameDuration="130" SlideShowAnimation-Duration="0" SlideShowAnimation-Type="None" ScrollDuration="0" Width="640px" Height="521px" PauseOnMouseOver="false" > 
                        <ItemTemplate> 
                            <img src="<%# Container.DataItem %>" style="border:0px;width:640px;height:521px" /> 
                        </ItemTemplate> 
                    </telerik:RadRotator> 
 

Thanks,
Laurie
vtech
Top achievements
Rank 1
 answered on 03 Mar 2009
3 answers
374 views
Hello sir

I have this section in my aspx page:

<telerik:RadWindowManager ID="RadWindowManager3" runat="server" DestroyOnClose="true">
 <Windows>
 <telerik:RadWindow ID="wndStatus" runat="server" Width="750px" Height="550" Skin="Vista"
    Behavior="Move,Close,Resize" Title="הודעת מערכת" Modal="true" DestroyOnClose="true"
    KeepInScreenBounds="true" ReloadOnShow="true" VisibleStatusBar="false">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>

When the window opens, it has a click event which does the following:

<script type="text/javascript">
function CloseAndRebind(rebind)
{
    GetRadWindow().Close();   
}   
           
function GetRadWindow()   
{
    var oWindow = null;   
    if (window.radWindow)
        oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog   
    else if (window.frameElement.radWindow)
        oWindow = window.frameElement.radWindow;//IE (and Moz az well)   
    return oWindow;   
}
</script>

The problem:
When I click the button, the command   GetRadWindow().Close();   bring this message:
A Runtime Error has occurred.
Line 5959 Error: Unspecified error.


In development mode, the debugger goes to ScriptResource.axd and stop at the following line:

Var offsetl = w.screenleft – top.screenleft – top.document.documentElement.scrollleft + 2;

 
Can you help me?

Hanoch
Hanoch Faran
Top achievements
Rank 1
 answered on 02 Mar 2009
2 answers
159 views
As a quick test I made a page with a regular ASP.NET dropdown and added an event handler to its Init event. Then in that event handler I created a large array of strings and used DataSource and DataBind() to populate the dropdown with the data. When I do this the Viewstate of the page is nearly empty.

But when I do the same thing with a RadComboBox the Viewstate is huge. Is there any way to do a normal data bind with the RadComboBox before Viewstate tracking starts and have it work the same way as the normal ASP.NET controls (preferably without disabling Viewstate on the entire control)?
Brad
Top achievements
Rank 1
 answered on 02 Mar 2009
2 answers
64 views
Hi,

I seem to have found a random bug in IE7 ONLY. I have a treeview with approx 300 parent nodes & mulitple child nodes. Only the child nodes are checkable (checkbox) the problem i am getting in IE7 only is when i check a child node the page scrolls down with the current checked node not in focus. This only happens in IE7, i have checked in Firefox 3, IE6 Chrome etc...

Any ideas ?

Thanks
Luke
Top achievements
Rank 1
 answered on 02 Mar 2009
3 answers
82 views
Sir,

In my project i have a one grid in telerik control.This is a Hirarchical grid.But in this grid i click plus button then first record displayed but i click second record then not closed first record.

I need for this code.

Regards,
Apeksha
Daniel
Telerik team
 answered on 02 Mar 2009
1 answer
129 views
I am using the menu control to create a drop down button.  Essentially it is a single root level item that drops down a selection list.  I have the main button taking my css, as well as the individual menu items but cannot figur out how to set the css for the group of items.  In other words, the menu displays but there is no background behind the items.

<telerik:RadMenu ID="RadMenu1" runat="server" Skin="" ClickToOpen="true"> 
                    <DefaultGroupSettings ExpandDirection="down" /> 
                    <Items> 
                        <telerik:RadMenuItem Text="Override Status"  GroupSettings-ExpandDirection="Down" CssClass="CommandButton" > 
                            <Items> 
                                <telerik:RadMenuItem Text="test"  CssClass="DropMenuButton"></telerik:RadMenuItem> 
                                <telerik:RadMenuItem Text="test2" CssClass="DropMenuButton"></telerik:RadMenuItem> 
                                <telerik:RadMenuItem Text="test3" CssClass="DropMenuButton"></telerik:RadMenuItem> 
                            </Items> 
                        </telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenu> 
in a related issue...i cannot get the menu to expand down....so it behaves like a "drop up" button.  Any help would be appreciated.


Veselin Vasilev
Telerik team
 answered on 02 Mar 2009
1 answer
134 views
Hi,

How and where is the value  field of the  tooltipupdateeventsargs set?

http://www.telerik.com/help/aspnet-ajax/telerik.web.ui-telerik.web.ui.tooltipupdateeventargs-value.html 

I am unable to locate any information on how to use this field other then the link above.  If there is a demo please point me at it. 

Thanks,
Dean
Tsvetie
Telerik team
 answered on 02 Mar 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?