Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
105 views
Hi there I have a radcalendar which has highlighted dates from a dictionary which contains a list of datetimes. The dates are expiry dates for courses and in the dictionary I have the names matched against the right dates. Only the last course name of the list of courses expiring for a date is being displayed so if i have "Word Course", and "Excel Course" and they both expire 31/12/13 the tooltip is coming out as "Excel Course" only instead of "Word Course, Excel Course". I'm unsure how to get this working any help would be greatly appreciated. Here is my current code:

  public void RadCalendar_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
    {


        DBSecurity security = SecurityBAL.TryCastSecurity(Session);
        int index = 0;
        foreach (KeyValuePair<string, DateTime?> pair in expiringCourses)
        {
            RadCalendarDay calendarDay = new RadCalendarDay();
            string name = pair.Key;
            DateTime? date = pair.Value;
            calendarDay.ItemStyle.BorderColor = Color.Blue;
            calendarDay.Date = date.Value;
            if (!calendarDay.ToolTip.Contains(name))
            {
                calendarDay.ToolTip += name;
                calendarEvents.SpecialDays.Add(calendarDay);
            }

        }
}
James
Top achievements
Rank 1
 answered on 05 Feb 2013
1 answer
368 views
Hi

     How can I hide the add new record button if there are more than 10 row in radgrid. Please help

thanks
RT
Shinu
Top achievements
Rank 2
 answered on 05 Feb 2013
3 answers
196 views
Hi,

Is it possible to have a chart which displays only positive values without setting manually Min and Max values?
What I am looking for is a property like the LinearAxis.RangeExtendDirection in the SIlverlight ChartView, is it available in the .net control?

Thanks,

Michele
Peshito
Telerik team
 answered on 05 Feb 2013
1 answer
103 views
Hi All,

I am facing very strange issue in form editing of Grid. I have one column in my grid which is combobox. I have tried different approach but not able to resolve this.

Case 1 : Grid DropDown Column

<telerik:GridDropDownColumn DataSourceID="StateDataSource" Visible="false"
                                    HeaderText="State" ListTextField="StateName" ListValueField="StateID"
                                    UniqueName="StateTestDropDown" ColumnEditorID="StateTestDropDownEditor" >
                                </telerik:GridDropDownColumn>
but in the UI, It is just showing me first row data, also i am not able to select other items. It seems disabled dropdown.

Case 2 : Grid Template Column

<telerik:GridTemplateColumn HeaderText="State" Visible="false">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container.DataItem, "StateID")%>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadComboBox Width="100px" ID="StateClientContactDropDown" runat="server" SelectedValue='<%#Bind("StateID") %>'
                                    DataTextField="StateName" DataValueField="StateID" DataSourceID="StateDataSource">
                                     </telerik:RadComboBox>
                                </EditItemTemplate>                         
                                </telerik:GridTemplateColumn>

Same issue with this too, It only shows first item of datasource in the disabled mode.

Please let me know what should i change for making available other values of dropdown?
Eyup
Telerik team
 answered on 05 Feb 2013
6 answers
152 views
When we have a RadMenu like this below, with the width set to 100%:

http://demos.telerik.com/aspnet-ajax/menu/examples/appearance/imageonly/defaultcs.aspx?#qsf-demo-source

how can I have a custom literal control (asp literal) sit on top of the menu bar but positioned to the far right of the menu bar? What styling/code would I need to add to set the position of the literal to be on top of the menu bar to the far right?
Kate
Telerik team
 answered on 05 Feb 2013
2 answers
81 views
I like the way the RadWindow operates in maximized mode, how it can have a header and a status bar, and latches onto the browser, so when the browser resizes so does the window (how  it get's it's own scrollbars etc...). However I haven't been having much luck using that as a basis to house other pages that might have other RadWindows in them. Is there an easy alternative to create a basic header/footer frame for my site that looks and operates similar to the RadWindow in maximized mode?

It would be great if Telerik had some sort of layout assistance control to anchor items to top/bottom left/right etc. If one exists I'm unaware of it. I know there is a dock, but from the examples it doesn't seem to be what I need...

Any advice would be appreciated.
Marin Bratanov
Telerik team
 answered on 05 Feb 2013
1 answer
53 views
Maybe I'm missing something or it just isn't possible...

Can't edit the RadRibbonBar in Design View (vs2012)... Only in the HTML code can I edit then have to run the project to see results.

Definitely not the way I want to design the bar. Other controls allow me to click the "tasks" and edit items without issue.


Thanks
Mike
Kate
Telerik team
 answered on 05 Feb 2013
1 answer
159 views
When can we expect an announcement about whether or not we are going to see a formal adoption of LESS or SASS for the ASP.NET AJAX controls?

Or did I miss it?

-- 
Stuart
Ivan Zhekov
Telerik team
 answered on 05 Feb 2013
2 answers
171 views
My Grid is stuck in edit mode after hitting Save but not Cancel.

The cause appears to be: AllowAutomaticInserts="true"

So I'm guessing the EntityDataSource has an error on save - how do I get the error?
Peter
Top achievements
Rank 1
 answered on 05 Feb 2013
1 answer
260 views
Hello Telerik!

I have my RadTreeView:

<telerik:RadTreeView runat="server" ID="TreeViewUnit"  CssClass="TreeView"
           ShowLineImages="False" Skin="Forest"

    OnDataBound="TreeViewUnit_DataBound"
    OnNodeClick="TreeViewUnit_NodeClick"
          
meta:resourcekey="TreeViewUnitResource1">

And I have binding in code behind where I set two attributes:
item.Attributes["Item"] = "Unit";
or
item.Attributes["Item"] = "Respondent";


Also I set node images in code behind and it's bad.
item.ImageUrl = imageFolder + "folder-icon.png";
node.ImageUrl = imageFolder +
"profile_icon.png";


So I want to do it right way in order to reduce traffic and use CSS for node image.
I tried:

.RadTreeView .rtImg {
    background-image: url("/Styles/images/plusminus_icon.png") !important;
}
.RadTreeView_Forest .rtImg {
    background-image: url("/Styles/images/profile_icon.png") !important;
}


but it does not work.

For example:
.RadTreeView_Forest .rtPlus, .RadTreeView_Forest .rtMinus {
    background-image: url("/Styles/images/plusminus_icon.png") !important;
}


works perfectly fine for minus sign images.


Any ideas how can I do it? And It will be great if there was a way to select image depending on node attribute. I think I can manage to do it using javascript and DOM elements, but adding images using CSS still a question.
Thanks)





Vitalii
Top achievements
Rank 1
 answered on 05 Feb 2013
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?