Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
128 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
204 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
131 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
372 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
156 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
60 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
80 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
124 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
4 answers
189 views
Hi!

I have a problem when manuelly setting DataSource of my Grid. I habe a Tabstrip where the first tabs are used to add an remove articles to an articlelist, the last tab should display the ordered Articles in the Grid. The Problem is when i click the Tab(Article Summary) the datasource of the grid changes properly but the Grid still displays the old items.

here are my code snippets

Master Page Declaration
<telerik:RadGrid ID = "SummaryGrid" 
                             runat="server" 
                             PageSize="10" 
                             AllowSorting="true" 
                             AllowPaging="true" 
                             AllowMultiRowSelection="false" 
                             AutoGenerateColumns="false" 
                             GridLines="None" 
                             OnNeedDataSource="SummaryGridNeedsData" 
                             Skin="Telerik"
                            <PagerStyle Mode="NumericPages" /> 
                            <MasterTableView GroupLoadMode="Client" TableLayout="Fixed"
                            <Columns> 
                               some columms 
                        </Columns> 
                        <NoRecordsTemplate> 
                            <div>There are no articles to Display</div> 
                        </NoRecordsTemplate> 
                   </MasterTableView> 
                   <ClientSettings AllowGroupExpandCollapse="true" ReorderColumnsOnClient="true" AllowColumnsReorder="true" AllowDragToGroup="true"
                   <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True" 
                            ResizeGridOnColumnResize="False"></Resizing> 
                   </ClientSettings> 
                 </telerik:RadGrid> 

Ajax Settings

<telerik:RadAjaxManagerProxy runat="server"
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="TabStrip"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="TabStrip" /> 
                <telerik:AjaxUpdatedControl ControlID="MultiPage" /> 
                <telerik:AjaxUpdatedControl ControlID="SummaryGrid"/> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="SummaryGrid"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="SummaryGrid" /> 
             </UpdatedControls> 
        </telerik:AjaxSetting> 
</AjaxSettings> 
    </telerik:RadAjaxManagerProxy>   

DataBinding

SummaryGrid.DataSource = String.Empty; 
            List<PriceRow> pricelist = GetItems(); 
            if (pricelist != null
                SummaryGrid.DataSource = pricelist; 
I hope somebody can help me with this issue.

Greetings
Martin


Jake
Top achievements
Rank 1
 answered on 02 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?