Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
137 views
I'm trying to set the header for dates on Month View to a white background. I'm doing this:

    div.RadScheduler .rsDateHeader
    { 
        background: white;  
    }     

All that does is set the background under the text of the date to white. But is leaves the rest of the header for the day the default color. See screenshot.
I would like to have the entire header for day have a white background.

How do I do that?

Brad
Top achievements
Rank 1
 answered on 08 Sep 2014
6 answers
282 views
Hi,

I have a radgrid that contains columns where I trim the text I am displaying (to 50 characters)  in the Item databound event of the RadGrid.

However, the problem I have is that by doing that when I then export the grid data to excel the text also appears trimmed in there. Is it possible to trim the text in the UI without it getting trimmed when I export to Excel?
Vaibhav
Top achievements
Rank 1
 answered on 08 Sep 2014
1 answer
95 views
Hi,

I have just started playing with the Tile List and I love the functionality. I have one thing that I can't seem to find out how to do. I have a number of context actions on the peek template and this works like a charm on desktop browsers but I cannot see a way to show the peek template on a touch based device such as an iPad.

I still want to maintain the ability to select some or all of the tiles but also to be able to access the peek template to use the context controls.

Has anyone done something like this, the mobile and touch section of the demos is only about a responsive layout.

Thanks

Chris
Marin Bratanov
Telerik team
 answered on 08 Sep 2014
1 answer
93 views
I am using RadTooltipmanager for a control in detailview section of a radgrid. Tooltipmanager is bound in item_databound event and associated with user control in Ajax update event. Tooltipmanager is properly invoked and page_load event of the user control is also fired but still user control is loaded in the tooltipmanager.

Code in item_databound event ->
    if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
                    {
                        Control target = e.Item.FindControl("imgFinal");
                        if (!Object.Equals(target, null))
                        {
                            if (!Object.Equals(this.RadToolTipManager1, null))
                            {
                                DataRowView currentRow = (DataRowView)e.Item.DataItem;
                                //Add the button (target) id to the tooltip manager

                                ToolTipTargetControl tltpCntrl = new ToolTipTargetControl(target.ClientID, ((Image)target).ImageUrl, true);
                                try
                                {
                                    this.RadToolTipManager1.TargetControls.Remove(tltpCntrl);
                                }
                                catch (Exception ex)
                                {

                                }
                                this.RadToolTipManager1.TargetControls.Add(tltpCntrl);
                            }
                        }
                    }



Ajax Update event 

 Control usrControl = Page.LoadControl("~/Common/Controls/EPScoring.ascx");
                e.UpdatePanel.ContentTemplateContainer.Controls.Add(usrControl);




























Marin Bratanov
Telerik team
 answered on 08 Sep 2014
1 answer
145 views
I am using RadTooltipmanager for a control in detailview section of a radgrid. Tooltipmanager is bound in item_databound event and associated with user control in Ajax update event. Tooltipmanager is properly invoked and page_load event of the user control is also fired but still user control is not loaded in the tooltipmanager.

Code in item_databound event ->


    if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)
                    {
                        Control target = e.Item.FindControl("imgFinal");
                        if (!Object.Equals(target, null))
                        {
                            if (!Object.Equals(this.RadToolTipManager1, null))
                            {
                                DataRowView currentRow = (DataRowView)e.Item.DataItem;
                                //Add the button (target) id to the tooltip manager

                                ToolTipTargetControl tltpCntrl = new ToolTipTargetControl(target.ClientID, ((Image)target).ImageUrl, true);
                                try
                                {
                                    this.RadToolTipManager1.TargetControls.Remove(tltpCntrl);
                                }
                                catch (Exception ex)
                                {

                                }
                                this.RadToolTipManager1.TargetControls.Add(tltpCntrl);
                            }
                        }
                    }



Ajax Update event 

 Control usrControl = Page.LoadControl("~/Common/Controls/EPScoring.ascx");
                e.UpdatePanel.ContentTemplateContainer.Controls.Add(usrControl);
Marin Bratanov
Telerik team
 answered on 08 Sep 2014
3 answers
103 views
I have a RadGrid in my page and the HeaderContextMenu & HeaderContextFilterMenu is enabled for the grid.

But for some of the grid columns it is not displaying properly the controls for filter menu like,
for some column the filter textbox to enter the filter value is smaller than the fit size of the Filter menu
where as for some it goes out of the menu means its size exceeds the size of the filter menu.

I want to know why it happens like this and what solution we may try for it ?

It seems it takes the filter control width of the in place filter controls used for each column in the top row below to header.
I had also set the FilterControlWidth for teh columns, is it the reason if yes then what should be solution for it to get the filter controls as in proper size in the filter menu ?

Can any body help me in this regard, please ?
Kostadin
Telerik team
 answered on 08 Sep 2014
2 answers
249 views
Hi,

Im using telerik auto complete textbox.
when i pastes a semicolon-separated list of entries into RadAutoCompleteBox,
and on TAB press it returns only last semicolon seperated value into token.

How to get all semicolon-separated value in to separate tokan?

Thank You
Zakir
Zakir
Top achievements
Rank 1
 answered on 08 Sep 2014
4 answers
45 views
I would appreciate any help/info on the following.

I have a WebUserControl used for an edit form on a RadGrid.

Everything works fine. The editing is ok, the insert is ok and the delete is ok.

However, even if I leave the page with the edit form closed (by either cansel or update), when the user re-opens the web site, that form is opened on the last row which was selected in the previous session!

I can not come up with a reasonable explanation.

Thanks
Eyup
Telerik team
 answered on 08 Sep 2014
1 answer
119 views
Hi
I used GridBatchEdit, i Sucess to get update and Insert Row but i can't get not changed row data


---------
how to get the finally all rowdata?

void gdvRadList_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
        {
            foreach ( GridBatchEditingCommand command in e.Commands )
            {
                Hashtable newValues = command.NewValues;
                Hashtable oldValues = command.OldValues;
                string newFirstName = newValues["CAPA"].ToString();
            }
        }
Eyup
Telerik team
 answered on 08 Sep 2014
2 answers
393 views
Hi,

how can i take row click(edit button of row) value on editcommand event in radgrid?

Thanks.
Konstantin Dikov
Telerik team
 answered on 08 Sep 2014
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?