Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
147 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
127 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
425 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
93 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
81 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
1 answer
126 views
I'm trying to use a Treeview control in a Razor Host script within DNN 6.2.  I'm not sure what the basics are in that regard.  Here is what I have so far.  Am I even close?  Are there existing Razor examples I could look at?  Thanks for any help you can provide.

@using DotNetNuke.Entities.Tabs
@using DotNetNuke.Web.UI.WebControls
@{ 
    var tabs = TabController.GetTabsByParent(2938, Dnn.Portal.PortalId);
    var tree = new DnnTreeView();
    tree.DataSource = tabs;
    tree.DataTextField = "TabName";
    tree.DataValueField = "TabId";
    tree.DataFieldParentID = "ParentId";
    tree.DataBind();
    System.IO.StringWriter tw = new System.IO.StringWriter();
    System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw);
}
@{
    tree.RenderControl(hw); 
}
Daniel
Telerik team
 answered on 25 Jun 2012
2 answers
517 views
Hi,
     I want to show radgrid row in blue color on hover. Somebody help me out. Thanks in advance
RT
Andy Green
Top achievements
Rank 2
 answered on 25 Jun 2012
3 answers
174 views
Good Evng
   

                      Hai i want to hide the grid rows in rad file explorer i.e i want to display recently uploaded file only with uniqe name.
Dobromir
Telerik team
 answered on 25 Jun 2012
1 answer
94 views
Hi,

In TimeLineView I have grouping by resources. There is a scroll at the right of scheduler to scroll the appointments. But scrolling them doesn't scroll a column with resources names.
How can I fix it?
Peter
Telerik team
 answered on 25 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?