Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
149 views
Hi,

I am trying to use Telerik Ajaxify Timer to refresh the view at intervals determined by a configuration item . for this i have referred http://demos.telerik.com/aspnet-ajax/ajax/examples/common/ajaxifytimer/defaultcs.aspx link and in my  view.aspx page I have added :

<telerik:RadAjaxManagerProxy ID="ramDiary" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="TimerRefresh">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="DiarySchedule12" LoadingPanelID="LoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
 
and
 
 <telerik:RadScheduler Width="100%" ID="DiarySchedule12" runat="server" DayView-UserSelectable="false"
                                DataKeyField="ID" DataSubjectField="Description" DataStartField="Start" DataEndField="End"
                                WeekView-UserSelectable="False" TimelineView-UserSelectable="False" MonthView-UserSelectable="False"
                                Height="550px" NumberOfHoveredRows="1" DayStartTime="08:00:00" HoursPanelTimeFormat="HH:mm"
                                RowHeight="35px" Skin="Outlook" TimeLabelRowSpan="1" WorkDayEndTime="18:00:00"
                                WorkDayStartTime="08:00:00" ShowAllDayRow="False" Culture="en-GB" ShowFooter="true"
                                AllowDelete="False" AllowEdit="False" AllowInsert="False" DayEndTime="18:00:00"
                                EnableExactTimeRendering="True" CustomAttributeNames="Status" ShowNavigationPane="True"
                                MinutesPerRow="15" StartEditingInAdvancedForm="true" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick"
                                OnClientAppointmentContextMenuItemClicked="OnClientAppointmentContextMenuItemClicked">
                                <ResourceHeaderTemplate>
 </telerik:RadScheduler>
 
and
 
<asp:Panel ID="PanelTimer" runat="server">
       <%-- <asp:Timer ID="TimerRefresh" runat="server" Interval="900000" OnTick="TimerRefresh_Tick" />--%>
        <asp:Timer ID="TimerRefresh" runat="server" Interval="3000" OnTick="TimerRefresh_Tick" />
    </asp:Panel>
 And in my  view.aspx.cs page in Page_Load  I have added :

int btimerRefresh = AM.IntOption("timer_refresh");
 
 
   
           TimerRefresh.Interval = btimerRefresh * 1000;

Now the 

The view is  getting refreshed but, I am not getting the image while refreshing diary.

Please Suggest as it is urgent for me.

Regards,
ABC




Maria Ilieva
Telerik team
 answered on 26 Jun 2012
3 answers
349 views
 

I'm facing a problem with the use of the telerik's radgrid. So far i have been using simple grids with only column headers. I need know to get row headers.

I'm trying to work with this which is more or less what i am looking for : http://demos.telerik.com/aspnet-ajax/grid/examples/programming/pivot/defaultcs.aspx

the problem the Row/Column headers are not the column names from my table. I need to write them directly in the code.
Some help would be welcome! thanks in advance

Ronan BARRANGER
Top achievements
Rank 1
 answered on 26 Jun 2012
1 answer
58 views
I have an line series and this series I own figures in circles. This series is powered by an array of double. Two things I'm not getting done.

 1) I can not do it no plot, when the value of the array at that position is zero (0).

2) That it is series with the X axis, that is, zero. Within the circles I put a few labels. I wish to make circles stay in the middle of the line (series), as it is along the X axis, should come half circles at the top (positive) and half the bottom (negative). It has to do this?
Petar Marchev
Telerik team
 answered on 26 Jun 2012
1 answer
83 views
Is it possible to change the height of the first row?  Please refer to the attached file.
Plamen
Telerik team
 answered on 26 Jun 2012
0 answers
143 views
Hi all,

I have a problem, when i try to apply border on the current date and when user hovers on that particular date the border becomes invisible, as i have done some research on it and came to the point that "rcHover" class removes the current border class on hover.

Can it be possible to apply both the classes at the same point.


and same is happening when i highlighted the special date with my own class.

The scnerio is as follows:
I have higlighted the special date with my own class using the following code:

 RadCalendarDay[] inputItems = new RadCalendarDay[JobLogDataSet.Tables["JobLog"].Rows.Count];
                int i = 0;
                foreach (DataRow row in JobLogDataSet.Tables["JobLog"].Rows)
                {
                    inputItems[i] = new RadCalendarDay();
                    inputItems[i].Date = (DateTime)row["LogDate"];
                    inputItems[i].ItemStyle.CssClass = "HiglightedData";
                    //inputItems[i].ItemStyle.Width = Unit.Pixel(10);
                    //inputItems[i].ItemStyle.CssClass = "rcSelected";
                    i++;
}

when the date is higlighted and selected the default css gets applied i.e. "rcSelected" and when user hovers on that date it removes the "rcselected" class but it dosen't happen when there is no higlighted date on that day.

I want in both the case that it should not remove the prev. applied class.

Hope i made myself clear about it.

hoping to get the reply as soon as possible.

Thanks 
Gaurav Sharma 
 
Gaurav
Top achievements
Rank 1
 asked on 26 Jun 2012
4 answers
119 views
Hi,

I have a 3 level Radgrid with a footer row in the second level. The second level TableView has a column called 'Price' and the footer row displays the sum of the 'Price' column. The MasterTableView has a column called 'ItemTotalPrice'. Initially when there are no rows in the second level the 'ItemTotalPrice' column shows '0'. I would like to access the value of the footer in the second level and update the 'ItemTotalPrice' column of the corresponding parent row, whenever a new row is inserted into the second level.

Any help is greatly appreciated.

Thanks
Meera
Meera
Top achievements
Rank 1
 answered on 26 Jun 2012
1 answer
110 views

Telerik Team,

We are using 6.3.1 version of RAD Editor for SharePoint and using the complete toolbar provided by telerik.

Here the issue is about "Apply CSS Styles" dropdown, where the items are repeated atleast for 4 items. Attaching the document with the screenshot

We are following the approach given in the article http://www.telerik.com/help/aspnet-ajax/moss-sp2010-css_styles.html. Had our Custom Styles defined in one of the CSS file by overriding the classes in the below file.

/Program Files/Common Files/Microsoft Shared/web server extensions/14/Template/Layouts/1033/Styles/HtmlEditorStyles.css - Even in that case it should display twice - But it is displaying about 4 items.

Thanks

Rumen
Telerik team
 answered on 26 Jun 2012
2 answers
414 views
Hi i'm have this code:

<telerik:RadGrid ID="gridprod_paso1_tab2" runat="server" Skin="Office2010Blue"

OnGroupsChanging="agrupargridprod_paso1_tab2"
OnSortCommand="reordenargridprod_paso1_tab2" 
OnPageIndexChanged="cargarpagegridprod_paso1_tab2" 
OnPageSizeChanged="cambiopagesizegridprod_paso1_tab2"
OnItemCommand="cambioflitrogridprod_paso1_tab2"
OnItemDataBound="itemdataboundgridprod_paso1_tab2" 
OnPreRender="prerendercheckgridprod_paso1_tab2">
<PagerStyle Mode="NextPrevAndNumeric" CssClass="txt10333"/>
<AlternatingItemStyle BackColor="#EEEEEE" CssClass="txt10333"/>
<MasterTableView TableLayout="Fixed" AllowMultiColumnSorting="true" CssClass="txt10333">
<Columns>
<telerik:GridBoundColumn HeaderText="Marca de producto" Resizable="true" DataField="marca" UniqueName="marca" SortExpression="marca" FilterControlWidth="240">
<telerik:GridTemplateColumn AllowFiltering="True" HeaderText="Agregar" Groupable="false">
<FilterTemplate>
 <asp:CheckBox runat="server" id="checktodosel" AutoPostBack="true" OnCheckedChanged="seltodogridprod_paso1_tab2"/>
</FilterTemplate>

<ItemTemplate>
<asp:Label runat="server" ID="lblproductoID" Text='<%# Eval("productoID") %>' Visible="false"></asp:Label>
<asp:CheckBox runat="server" ID="checkselect" CssClass="txt11333" />
</ItemTemplate>
 <ItemStyle Width="80" VerticalAlign="Middle"/>
<HeaderStyle Width="80" />
</telerik:GridTemplateColumn>
</Columns>
<ItemStyle VerticalAlign="Top"/>
</MasterTableView>                                                                        
 <ClientSettings AllowDragToGroup="true" EnableRowHoverStyle="true"></ClientSettings>                                                                      </telerik:RadGrid>


and this function

Protected Sub prerendercheckgridprod_paso1_tab2(ByVal sender As Object, ByVal e As EventArgs)
     Dim item As GridFilteringItem = TryCast(gridprod_paso1_tab2.MasterTableView.GetItems(GridItemType.FilteringItem)(0),                          GridFilteringItem)
    DirectCast(item.FindControl("checktodosel"), CheckBox).Checked = lblcheckgridprod_paso1_tab2.Text
End Sub

is easy find the checkbox "checktodosel" in event OnPreRender of the radgrid, my problem is that i don't know find this control filter outside this event, i need find it in another function that is called for another control, in my case a RadioButtonList in the event OnSelectedIndexChanged.

Thanks for your attention.
Juan
Top achievements
Rank 1
 answered on 25 Jun 2012
1 answer
92 views
Hi

I have a setup which has a page (aspx) that contains 2 web user controls.
When the user performs an action in one of the controls, a grid in the other control needs to update.

How do I accomplish this?

Thx
Maria Ilieva
Telerik team
 answered on 25 Jun 2012
1 answer
74 views
I'm using a modified Metro skin.

When a column is sorted and the row is selected I'm still getting the old Metro blue on the bottom and left border of that one cell.  Obviously I'd like it to be the same color as the rest of the selected row.

Everything else looks great. 

Thanks!
Danny
Top achievements
Rank 2
 answered on 25 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?