Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
182 views
I have a RadGrid that is currently configured for paging and grouping...  the grouping will display group footers with aggregate=sum for a data column.

Question

After the data is bound, I would like to replace the pre-existing total values in the GridGroupFooterItems with my own custom values.

More importantly, before I devise my custom values, I would like to determine the group by expression that is associated to that particular GridGroupFooterItem (i.e. GroupByExpression columnname = x; column value = x, and aggregate columnname=x, and aggregate=x).  How can I find this information?

Shinu
Top achievements
Rank 2
 answered on 05 Jun 2012
2 answers
382 views
I downloaded version Q1 2010 SP1 Released 2010/04/15 and followed the installation instructions and received no errors.  I am using Windows 7 and Visual Studio 2008.
1) Created new project (RadControls Web Application)
- Telerik.Web.UI Assembly:  v.2010.1.415.35 [Installation Folder] [Trial]
2) Opened Default.aspx
- Switched to design mode
- Click on the Toolbox => There is no RadControls tab
Other tabs exist with controls:
Standard, Data, Validation, Navigation, Login, WebParts, AJAX Extensions, Reporting, HTML, Ajax Controls Toolkit and General (only tab with no controls)

Tried creating another project as an ASP.NET Web Application, same result.  No RadControls tab.

Any suggestions?
Prassin
Top achievements
Rank 1
 answered on 05 Jun 2012
5 answers
111 views
We have found that the items list in our RADmenu top navigation for SharePoint 2010 are being indexed on every page by the SharePoint search. This makes it difficult to find a meaningful search result as many terms show up on every page in our site.
We have found an article on this topic

http://www.matdesmarais.com/2011/12/sharepoint-2010-excluding-navigation-nodes-from-search-crawl/  , which refers to including NOINDEX in the navigation items.

Is there a way to set our master page using RADmenu to insert the NOINDEX in all of the DIVs associate with the menu navigation?


Peter
Telerik team
 answered on 05 Jun 2012
1 answer
155 views
Hello,
I have a raddatepicker and I want to show radtooltip for that datepicker.

It is not working. Is it a know issue or am I doing something wrong ?

TIA
Shinu
Top achievements
Rank 2
 answered on 05 Jun 2012
0 answers
93 views
Allan
Top achievements
Rank 2
 asked on 04 Jun 2012
4 answers
234 views
Hi,

I want to add the date format as a  watermark to the datepicker. How can i do that?

Also,
when the format of the datepicker is dd/MM/yyyy. If i enter 05/20/2012 (manually) , in that case a postback occurs and the datepicker automatically changes the date to 20/05/2012.

I do not want this to happen, i want an error to be thrown as the user has to input the date in dd/MM/yyyy format only, and it has to be validated against that format.

Please let me know how i can implement the above.

Ash
Top achievements
Rank 1
 answered on 04 Jun 2012
2 answers
157 views
When i press on EqualTo filter function in GridDateTimeColumn in a RadGrid ,it works but when i want to remove the filter from it pressing on NoFilter ,it'd do nothing but it'd still show the datetime i already chosen 
Richard
Top achievements
Rank 1
 answered on 04 Jun 2012
5 answers
443 views
Hi.  I'm new to Telerik Controls.  I recently joined a company that uses these controls religiously, and am happy to say that I really like working with them.
HOWEVER, i have a bit of an issue with some styling needs.  I've surfed around the forums looking for some tidbits of information on how to style the group headers (found this one - fairly helpful to a point.)
What I need to do is each group header item has to be a different color, and I was going to us a SWITCH (Case) statement to make the color choices.

Can some one assist with what I may be doing wrong?

I'm populating the grid with a datatable and want to style the group headers within the same function - because of the use of some variables.  I know my placement of the styling is off.  So, if someone could point out the error of my ways and help me to correct it, It'd be much appreciated.

Thanks in advance

(ps, there's more code showing where the data is actually coming from - I didn't post it because I didn't think it was pertinent to this portion.... thanks again.)
dataTable = db.StoredProcedures.FlashDataTable(strFyStartDate, strFyEndDate, strCntrStartDate, strCntrEndDate);
 
            string strProfName = "";
            string strEventProfileContact = dataTable.Rows[0]["EventProfileContact"].ToString();
 
            foreach (DataRow dRow in dataTable.Rows)
            {
                if(strProfName != strEventProfileContact)
                {
                    dRow["EventProfileContact"] = dataTable.Rows[0]["EventProfileContact"].ToString();
 
                    foreach (GridGroupHeaderItem groupHeader in reportView.MasterTableView.GetItems(GridItemType.GroupHeader))
                    {
                        string evProfCont = dataTable.Rows[0]["EventProfileContact"].ToString();
 
                        switch (evProfCont)
                        {
                            case "Person1 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#9DB232");
                                break;
                            case "Person2 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#737CA1");
                                break;
                            case "Person3 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#8467D7");
                                break;
                            case "Person4 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#79BAEC");
                                break;
                            case "Person5 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#C12267");
                                break;
                            case "Person6 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#32B29C");
                                break;
                            case "Person7 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#F88017");
                                break;
                            case "Person8 Name":
                                groupHeader.BackColor = System.Drawing.ColorTranslator.FromHtml("#ADA96E");
                                break;
                        }
                    }
 
                    dRow["RebateID"] = dataTable.Rows[0]["RebateID"].ToString();
                    dRow["PromoName"] = dataTable.Rows[0]["PromoName"].ToString();
                    dRow["StartDate"] = dataTable.Rows[0]["StartDate"].ToString();
                    dRow["EndDate"] = dataTable.Rows[0]["EndDate"].ToString();
                    dRow["FinalDate"] = dataTable.Rows[0]["FinalDate"].ToString();
                    dRow["WTDNoOfRBTs"] = dataTable.Rows[0]["WTDNoOfRBTs"].ToString();
                    dRow["WTDAvgPERRBT"] = dataTable.Rows[0]["WTDAvgPERRBT"].ToString();
                    dRow["WtdTtlDOLLARS"] = dataTable.Rows[0]["WtdTtlDOLLARS"].ToString();
                    dRow["FY#OfRBTs"] = dataTable.Rows[0]["FY#OfRBTs"].ToString();
                    dRow["FyAVG$PerRBT"] = dataTable.Rows[0]["FyAVG$PerRBT"].ToString();
                    dRow["FyTtlDOLLARS"] = dataTable.Rows[0]["FyTtlDOLLARS"].ToString();
                    dRow["BudgetAmount"] = dataTable.Rows[0]["BudgetAmount"].ToString();
                    dRow["VarianceTOBudget"] = dataTable.Rows[0]["VarianceTOBudget"].ToString();
                    dRow["EndingBudgetFY2011"] = dataTable.Rows[0]["EndingBudgetFY2011"].ToString();
                }
 
                strProfName = strEventProfileContact;
            }
 
             
 
            reportView.DataSource = dataTable;
            reportView.DataBind();
Mark
Top achievements
Rank 1
 answered on 04 Jun 2012
5 answers
254 views
Hi,

I'm trying to make in CSS a single background, for expanded elements and the root element. (cf. Picture)
But, I can't get both in the same class.



When the rootItem is collapse the Css is :
.MainMenu .rmHorizontal .rmRootLink
{
background: -moz-linear-gradient(center top , #E7E7E7, #FFFFFF) repeat scroll 0 0 #F9F9F9;
background: #F9F9F9 -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #E7E7E7), color-stop(100%, white));
background: #F9F9F9 -webkit-linear-gradient(top, #E7E7E7 0%, white 100%);
background: #F9F9F9 linear-gradient(top, #E7E7E7 0%, white 100%);<br>...<br> 
}


I have the expanded item with that :
.MainMenu .rmHorizontal .rmItem .rmSlide .rmVertical .rmItem a

Thanks in advance
Julie
Kate
Telerik team
 answered on 04 Jun 2012
1 answer
1.1K+ views
Hi,

In my Grid i have a Column that Show me a Date. Now i have to implement a logic that checks how many days are left until the date and after I have to set at the ride side from the date the Icon. I have 4 Icons. Can somone tell me an approach to implement this logic?

kind regards

<telerik:GridBoundColumn UniqueName="DueDate" SortExpression="DueDate" DataFormatString="{0:d}"
    HeaderText="<%$Resources:ESTV.A3, FieldDueDate%>" DataField="DueDate" />
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?