Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
116 views
Hello,

I am using telerik rad scheduler in our application. I want to scroll into view a specific time slot on initial page load for day view.
I have implemented all the necessary steps mentioned in the below link:-
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-scroll-into-view-a-specific-time-slot-on-initial-page-load.aspx

After implementing all the steps mentioned in above link, I am getting the below mentioned error.
"Microsoft JScript runtime error: Unable to get value of the property 'get_allowDelete': object is null or undefined"

Could you please let me know how to resolve this error.

Thanks and Regards,
Deepti
Plamen
Telerik team
 answered on 24 Jan 2012
1 answer
147 views
I have a TreeList object that allows inplace editing. Two of the columns are TemplateColumns that display using a label but edit using a RadComboBox. When I press the edit button everything works fine (my drop downs load and everything) but when i press Cancel or Update after editing the system throws a "Failed to load viewstate" error. Treelist code below:

                <telerik:RadTreeList ID="rtl_Content" runat="server" 
                    AutoGenerateColumns="False" DataKeyNames="ID" ParentDataKeyNames="ID_Parent" Skin="Office2010Blue" EditMode="InPlace">
                    <ExportSettings ExportMode="RemoveControls"><Pdf PageHeight="11in" PageWidth="8.5in"></Pdf></ExportSettings>
                    <Columns>
                        <telerik:TreeListBoundColumn DataField="ID" UniqueName="column" Visible="False">
                        </telerik:TreeListBoundColumn>
                        <telerik:TreeListBoundColumn DataField="ID_Parent" UniqueName="column1" Visible="False">
                        </telerik:TreeListBoundColumn>
                        <telerik:TreeListTemplateColumn DataField="Display" HeaderText="Content" UniqueName="col_Display">
                            <ItemTemplate>
                                <asp:Label ID="lblCDisplay" runat="server" Text='<%# Eval("Display") %>' />
                            </ItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadTextBox runat="server" ID="rtb_CDisplay" Skin="Office2010Blue" Text='<%# Bind("Display") %>' Width="100%" Height="40px" TextMode="MultiLine" />
                            </EditItemTemplate>
                        </telerik:TreeListTemplateColumn>
                        <telerik:TreeListTemplateColumn DataField="Type" HeaderText="" UniqueName="col_Type">
                            <ItemTemplate>
                                <asp:Label ID="lblCType" runat="server" Text='<%# Eval("Type") %>' />
                            </ItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadComboBox runat="server" ID="rcb_CType" Skin="Office2010Blue" SelectedValue='<%# Bind("Type") %>' DataSource='<%# (new string[] {"Team Lead", "EDA"}) %>' Width="100%" />
                            </EditItemTemplate>
                            <ItemStyle Width="75px" HorizontalAlign="Center" />
                            <HeaderStyle Width="75px" HorizontalAlign="Center" />
                        </telerik:TreeListTemplateColumn>
                        <telerik:TreeListEditCommandColumn UniqueName="EditColumn" ButtonType="LinkButton" ShowAddButton="true" HeaderText="">
                            <ItemStyle HorizontalAlign="Center" Width="100px" />
                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                        </telerik:TreeListEditCommandColumn>
                        <telerik:TreeListButtonColumn UniqueName="DeleteColumn" ButtonType="LinkButton" HeaderText="" CommandName="Delete" Text="Delete">
                            <ItemStyle HorizontalAlign="Center" Width="50px" />
                            <HeaderStyle Width="50px" />
                        </telerik:TreeListButtonColumn>
                    </Columns>
                </telerik:RadTreeList>

Not sure if it makes a difference but the whole thing is inside a RadPageView
Antonio Stoilkov
Telerik team
 answered on 24 Jan 2012
3 answers
72 views
The thread title pretty much covers it;

but i've got a PagerStyle-Position="Bottom" because i want the user to scroll past the items in the grid before being able to change page.
but i'd also like to display the item count at the top of the grid ; # items in # pages

Sure this is very simple to do,

Thanks

Alan
Alan T
Top achievements
Rank 1
 answered on 24 Jan 2012
3 answers
173 views
Hi,
RadTreeView expands a node by clicking the plus button or by double clicking the text node.
I want to change this by just simple click on plus or text.
I tried this by handling the ClientNodeClicked event but it's not working
<
script language="javascript"> function ClientNodeClicked(sender, eventArgs) { var node = eventArgs.get_node(); node.toggle(); } </script>
I used the load on demand server side. when i clicked the text  the plus button changed to minus and when i click on minus button it open the node and next time i redo the same operation on the same node  it works (because is already loaded).
please help.
Plamen
Telerik team
 answered on 24 Jan 2012
4 answers
390 views
Hi,

I want to disable all dates in my datepicker control except the first and the last date of the month.

I tried this code but this does not help:

protected void Calendar_OnDayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
        {
            DateTime dt = e.Day.Date;
            DateTime dtFirst = new DateTime(dt.Year, dt.Month, 1);
            DateTime dtLast = new DateTime(dt.Year, dt.Month, 1).AddMonths(1).AddDays(-1);

            if (e.Day.Date != dtFirst.Date)
            {
                RadCalendarDay calendarDay = new RadCalendarDay();
                calendarDay.Date = e.Day.Date;
                calendarDay.IsSelectable = false;
                rdpBeginDate.Calendar.SpecialDays.Add(calendarDay);
            }
        } 

aspx:

<telerik:RadDatePicker ID="rdpBeginDate" runat="server">
                        <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"
                            runat="server" OnDayRender="Calendar_OnDayRender">
                           
                        </Calendar>
                        <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
                        <DateInput EnableEmbeddedSkins="false" Enabled="false">
                        </DateInput>
                    </telerik:RadDatePicker>

Please help.
Richard
Top achievements
Rank 1
 answered on 24 Jan 2012
3 answers
83 views
Hi,

I have a requirement where I have a RadDock with 2 zones.
I want to load all docks on it initially and then set for each container its own refresh time.
For example dock A will refresh in 5 minutes. Dock B will refresh in 20 minutes.
I want to do this with no postback - everything updates seamlessly. How do I do this?

Note: I have the latest 2011 telerik version.


Update: I have tried using webservice and javascript to populate the docks but found a problem.
The types controls within my docks are TagCloud, Graph and Treeview. I found that if I use webservice and javascript
I can't populate my tag cloud because I have to bind it as a RadTagCloudItem.


Thank you so much,
C
Slav
Telerik team
 answered on 24 Jan 2012
1 answer
83 views
In rad editor, if i click  cut,copy and paste image buttons it shows please click ctrl + x for cut etc.. Please help me, Suppose i click  cut image button the selected text must be cut. what i do for it?
Rumen
Telerik team
 answered on 24 Jan 2012
5 answers
82 views
I have two radrotators, a horizontal scroller with 4 images at the bottom, and a single 'main' image radrotator at the top. I have it set up to display the disappearing item in the bottom scroller to the main image section as it moves forward. Is it possible to have the main image radrotator change based on the index of the lower one while still using the 'slide show' or 'automatic advance' rotator type? Or running two rotators off the same timer would help. After a couple minutes they get out of sync. I set both rotators to have the same scrollduration and frameduration. If this is possible, can you please offer a sample. Thanks!
Slav
Telerik team
 answered on 24 Jan 2012
1 answer
32 views
How to select the today column in week view? As I can see, there isn't a class that would select it.
Peter
Telerik team
 answered on 24 Jan 2012
3 answers
73 views
Hi all,
        I am new to rad controls ,I would Like to add rad editor to SharePoint Display form (DispForm.aspx ) , Because I am using visual webpart  and saving the data using "Rad Editor" to SharePoint list to one of the list item  "Rich Text-box" .I mapped rad editor data to save in "Rich text-box" .Here the stored data of "Rich text-box"  font style and  spaces in paragraphs is getting lot of changes when saving from rad editor. 

Thanks,
MOHAMMAD SIDDIQALI
Rumen
Telerik team
 answered on 24 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?