Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
105 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
144 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
88 views
Allan
Top achievements
Rank 2
 asked on 04 Jun 2012
4 answers
203 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
147 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
421 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
244 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.0K+ 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
1 answer
189 views
How do I implement vertical scrolling text using ticker or rotator? I want to load each line item one by one on a button click.


for (i=0; i<=5; i++){
 
 
if (i==1){
Show Line 1
}else if(i==2){
Show Line 2
}
 
 
}
Slav
Telerik team
 answered on 04 Jun 2012
6 answers
284 views
I'm getting a javascript error when a RadDatePicker uses a shared calendar AND is set to autopostback.  It only happens the second time a date is selected and only if the month is changed using the arrows or the month picker.  We're using version 2011.1.519.40.

Steps to reproduce:
1. DatePicker with shared calendar and autopostback = true
2. Click the calendar button and choose a date in the default month.
3. Click the calendar button again, click the right arrow to change to the next month, and then select a new date from that month.

The error I'm getting in the Firefox Error Console is "b is null."  Clicking the link in the error console to Telerik.Web.UI.WebResource.axd shows a highlight on "},_setStyleToRenderedDate:function(b,c){b.IsSelected=c;"  

I can work around this by not using a shared calendar but do you have any ideas?  I recreated the issue in the sample VS2010 website but I can't attach a zip file here.
Nino
Top achievements
Rank 1
 answered on 04 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?