Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
596 views
I have RadGrid with many custom filters and I want to use RadToolTip(Manager) to show tooltip window with information of applied filter on column with filter. Tooltip can be closed by user manually and then I programmatically remove filter. I have been trying unsuccessfully for three hours to attach RadToolTip to column header because that element does not have either server or client ID. How to open programmatically RadToolTip over column name?
Marin Bratanov
Telerik team
 answered on 13 Aug 2018
3 answers
158 views

I have been looking for a bit, and have not found the answer.  I feel like I just might have overlooked it.  

How does the RadSiteMap control know where to break the items into the next column.  I am using one of your demos (loading it with XML from code behind - which doesn't work straight out of the ZIP btw).  The menu item is set up with a RadSiteMap control with three columns.  I can add and remove items from each of the groups, and it will continue to break in the same place.  There are two groups under the first column, and one group under each of the others.  How does it know, or - more importantly - how do I tell it when to break to another column?

Brian
Top achievements
Rank 1
 answered on 13 Aug 2018
1 answer
240 views

Hi,

how i can compare cell value to his grand total (for after change color).

I try in CellDataBound, but how access to the grand total ?

 

 

 

 

Eyup
Telerik team
 answered on 13 Aug 2018
1 answer
218 views

Is it possible to use ColumnValidation and EditFormIndexColumnIndex index together?  

I  have a grid where the validation was working as expected.  Added editformcolumnindex and now it cannot "find" those columns. 

 

Example following works fine without EditFormIndexColumnIndex

 

<telerik:GridDropDownColumn DataField="itemManager" UniqueName="editManager" HeaderText="Manager"
    DataSourceID="sqlDataSource6" ListValueField="adId" ListTextField="adName" EditFormColumnIndex="2"
    EnableEmptyListItem="true" EmptyListItemText="Select" DropDownControlType="RadComboBox">
    <ColumnValidationSettings EnableRequiredFieldValidation="true" EnableModelErrorMessageValidation="true">
        <RequiredFieldValidator ForeColor="Red" ErrorMessage="  Required Field"></RequiredFieldValidator>
        <ModelErrorMessage BackColor="Red" />
    </ColumnValidationSettings>
</telerik:GridDropDownColumn>
Peter Milchev
Telerik team
 answered on 13 Aug 2018
0 answers
95 views

Hi

I bind Appointments manually with resources, but i can't see the added appointment in radscheudler.

 

RadScheduler1.Resources.Clear();
RadScheduler1.ResourceTypes.Clear();
ResourceType UserName = new ResourceType("User");
UserName.ForeignKeyField = "TEILNEHMERID";
UserName.KeyField = "TEILNEHMERID";
UserName.TextField = "NACHNAME";
UserName.DataSource = dsTLNINGRP_VIEW.Tables[0].DefaultView;
RadScheduler1.ResourceTypes.Add(UserName);
RadScheduler1.GroupBy = "User";
//RadScheduler1.GroupingDirection = GroupingDirection.Vertical;
RadScheduler1.DataSource = ds.Tables[0].DefaultView;
bindHolidays(dsTLNINGRP_VIEW);
RadScheduler1.DataBind();

Here is the bindHolidays Method

 

…

 

Appointment appointment = new Appointment();
appointment.ID = ds.Tables[0].Rows[i]["TEILNEHMERID"].ToString();
appointment.Subject = WAMResource.Abwesend;
appointment.Attributes["TYP"] = "A"; //Abwesend Custom Attributes
appointment.Attributes["BACKCOLOR"] = Color.Red.ToString();
appointment.BackColor = Color.Red;
appointment.Resources.Add(new Telerik.Web.UI.Resource("User", ds.Tables[0].Rows[i]["TEILNEHMERID"].ToString(), "Toprak"));
appointment.Start = DateTime.Parse(ds.Tables[0].Rows[i]["STARTTIME"].ToString());
appointment.End = DateTime.Parse(ds.Tables[0].Rows[i]["ENDTIME"].ToString());
RadScheduler1.InsertAppointment(appointment);

 

Support ATT
Top achievements
Rank 1
 asked on 13 Aug 2018
1 answer
307 views

Hi,

We have some columns one decimal and some are two decimals. When we export to excel one decimal column values exported to two decimals and hide the last "o" digit. For example, we have a value in a grid 10.20 while export to excel showing 10.2. How to fix the decimal value issues? Any sample application would be appreciated.

Eyup
Telerik team
 answered on 13 Aug 2018
1 answer
1.0K+ views

Hi,

We need to set the column width in export to excel file. Currently, its fit the width by using its Header Text. We need to customize it like in grid we have 50px column width but when we export to excel we want to set 20px. How can we achieve the goal? Any sample application would be appreciated.

Eyup
Telerik team
 answered on 13 Aug 2018
2 answers
262 views

Hi All,

Have  RadGrid, which works fine.

I want data Loadding  in RadGrid

It Works fine in FireFox and IE

But Google Chrome RadGrid is not Full displayed. 

Have attached the screen shot.

Is there any option to rectify this

 

 

Thanking You


Eyup
Telerik team
 answered on 13 Aug 2018
3 answers
596 views

I need to retrieve the value of the docTitle GridTemplateColumn, but I'm not having any luck.  How can I modify my code to get the docTitle value of the selected row:

 

Here's the grid markup:

<telerik:RadGrid ID="rgVenDocs" runat="server" DataSourceID="sdsRgVenDocs" AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="True" ShowGroupPanel="True" Skin="Office2010Black" OnPreRender="rgVenDocs_PreRender" OnItemCommand="rgVenDocs_ItemCommand" OnSelectedIndexChanged="rgVenDocs_SelectedIndexChanged" ShowStatusBar="true" ViewStateMode="Enabled">
    <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True" ReorderColumnsOnClient="True" >
    </ClientSettings>
    <MasterTableView DataKeyNames="docIdPk" DataSourceID="sdsRgVenDocs" PagerStyle-AlwaysVisible="true">
        <Columns>
            <telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Select" Text="Select"></telerik:GridButtonColumn>
            <telerik:GridBoundColumn DataField="docIdPk" ReadOnly="True" HeaderText="docIdPk" SortExpression="docIdPk" UniqueName="docIdPk" DataType="System.Int32" FilterControlAltText="Filter docIdPk column"></telerik:GridBoundColumn>                            
            <telerik:GridBoundColumn DataField="docFileName" HeaderText="docFileName" SortExpression="docFileName" UniqueName="docFileName" FilterControlAltText="Filter docFileName column"></telerik:GridBoundColumn>        
            <telerik:GridTemplateColumn DataField="docTitle" HeaderText="Document" UniqueName="docTitle" SortExpression="docTitle" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="true">
                <ItemTemplate>
                    <asp:LinkButton ID="lnkDownload" Text='<%# Eval("docTitle") %>' CommandArgument='<%# Eval("docPath") %>' runat="server" OnClick="lnkDownload_Click"></asp:LinkButton>              
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

 

Here's the SelectedIndexChanged code:

protected void rgVenDocs_SelectedIndexChanged(object sender, EventArgs e)
{  
    foreach (GridDataItem item in rgVenDocs.SelectedItems)
{  
doctitletest.Text = item["docTitle"].Text;
}
}

 

 

Jerald
Top achievements
Rank 1
 answered on 10 Aug 2018
5 answers
295 views

Requirements

Telerik Product and Version

2014.1.410.0

Supported Browsers and Platforms

Windows 7 - Internet Explorer 11, Chrome Version 34.0.1847.131 m, Firefox v28.0

Components/Widgets used (JS frameworks, etc.)

PHP, Javascript, JQuery, HTML, CSS

PROJECT DESCRIPTION 
Problem: Setting up automation for clicking calendar drop down datepicker the tools supplied cannot click the date picker selection.

What about setting up a automated input for the date picker, by which selecting? I have the following value I am trying to input a value automatically...the Mouse Left Click does not work. OnClick doesn't seems to work with Java selection as well...

I am new to this Telerik. How would I go about making this automated (selecting any date and that date populating)?


Here are the screen shots of the Date picker I have...
http://content.screencast.com/users/Sam.Dawson/folders/Jing/media/3a5acdf1-eb31-47cf-bb5f-ef8497f49c5a/2014-04-25_1141_001.png


Here is the HTML I am trying to change the (RED arrows) value with individual Names (Green arrows)
http://content.screencast.com/users/Sam.Dawson/folders/Jing/media/e6f4c5cf-d6c8-4751-bd72-6eb89d25ead1/2014-04-25_1140.png

 

 Note: I have also asked this on the datepicker forum prior but need a response to get past this roadblock asap (http://www.telerik.com/forums/datepicker-calendar-popup#bRJpiHAOnka99DPfKX0mlQ)


Karthika
Top achievements
Rank 1
 answered on 10 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?