Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
149 views
I have these settings for radtreelist object
RadGrid1.ClientSettings.Scrolling.AllowScroll = true;
RadGrid1.ClientSettings.Scrolling.UseStaticHeaders = true;

When I use ExporttoPDF features Adobe gives me error message, that pdf is not valid
ExportTOCSV is working fine


Could you give me some advise what I Can do in the code or the settings to have this nice feature
UseStaticHeaders and able to Export to PDF without any issue.

Thanks
Princy
Top achievements
Rank 2
 answered on 20 Jun 2014
1 answer
462 views
Hi 

I have radtextbox I need to find the length of the characters  entered  on each entry of a letter in rad textbox ? I am not able to understand which client event to be fired as i have tried onKey press but none of the events are firing.Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 20 Jun 2014
2 answers
275 views
Hi,

Is there a way to get the list of available built-in skins without referencing a SkinManager? 

I understand that this will allow me to iterate through a SkinManager's list of skins:

Dim oChooser As RadComboBox = CType(oSkinManager.FindControl("SkinChooser"), RadComboBox)
For Each Item As RadComboBoxItem In oChooser.Items
...

However this won't work for us under certain situations because there may not be a SkinManager available when we need to find out if a skin still exists or not.
I tried to create a new RadSkinManager programmatically and then attempted to access its skin chooser, but the chooser comes back as an empty object.

Thank you for you help.
Condorito
Top achievements
Rank 1
 answered on 19 Jun 2014
2 answers
406 views
I have a radgrid in which the last column is a text box. I have added the text box through a GridTemplateColumn.
templateColumn = new GridTemplateColumn();
templateColumnName = "Billing Number"
this._RadGrid1.MasterTableView.Columns.Add(templateColumn);
templateColumn.ItemTemplate = new TextBoxTemplate(templateColumnName);
templateColumn.HeaderText = templateColumnName;;
templateColumn.DataField = templateColumnName;
templateColumn.AllowFiltering = false;
 The TextBoxTemplate is as follows:
   public class TextBoxTemplate : ITemplate
    {
        protected RadTextBox _textBox;      
        string _columnName;
        public TextBoxTemplate(string columnName)
        {
            this._columnName = columnName;
        }
        public void InstantiateIn(System.Web.UI.Control container)
        {
            
            this._textBox = new RadTextBox();
            this._textBox.ID = this._columnName;           
            container.Controls.Add(this._textBox);
            this._textBox.DataBinding += new EventHandler(_textBox_DataBinding);
        }
        void _textBox_DataBinding(object sender, EventArgs e)
        {
            RadTextBox txt = (RadTextBox)sender;
            GridDataItem container = (GridDataItem)txt.NamingContainer;
            txt.Text = ((DataRowView)container.DataItem)[this._columnName].ToString();
        }
}

This works fine when the grid is loaded for the first time. But when the text in the text box is changed and the "Save" button is clicked, instead of showing the new value it displays the previous one.
I checked that the value in the DB is not saved till the whole process ends. Hence the code :((DataRowView)container.DataItem)[this._columnName].ToString(), gets the value from the DB which is the old value. After the process finishes, the db gets the new value. 
For example, when the grid loads for the first time, the Billing number is displayed as 90. If I change it to 91, it again displays 90 instead of 91!
RB
Top achievements
Rank 1
 answered on 19 Jun 2014
1 answer
187 views


We are
facing rad grid css style issues in one of our aspx pages, in IE 8, IE 10 the
table gets rendered without solid border, where as the same grid gets rendered
with solid border when viewed in IE 9 browser. Whether this is a known issue in
Telerik rad grid or is there a problem with the dll versions we are referring?

These are
the versions of dll we are using Telerik.Web.Design - 2011.3.1115.40,
Telerik.Web.UI - 2012.3.1308.40, Telerik.Web.UI.Skins - 2012.3.1308.40.

We also tried the latest trial edition of
telerik rad controls, still the issues persists...Need urgent input/suggestions
on this as we need to fix these issues asap. Also would like to know whether there
are any standard CSS guidelines for cross browser support for telerik controls?
If yes, it will be great if they are shared across.
Pavlina
Telerik team
 answered on 19 Jun 2014
2 answers
115 views
I have read various threads and I understand that currently the ability to paste images from the user's clipboard is not possible in IE.  What I am not sure that I understand is why can text be pasted from the clipboard but not images?  Thanks.
Jane
Top achievements
Rank 1
 answered on 19 Jun 2014
1 answer
80 views
testing
Marin Bratanov
Telerik team
 answered on 19 Jun 2014
1 answer
183 views
Hi,

I am using radscheduler and at one point in the application I have to convert a time which is coming in timezone of -7:00 to EST considering the daylight savings. I am converting using as below:

string timestr="";
timestr = TimeZoneInfo.ConvertTimeBySystemTimeZoneId(test.time.Value.ToUniversalTime(), "Eastern Standard Time").ToString("hh:mm:ss");
I checked IsDayLightSaving(the test.time.value) and its value is true.
This is giving an additional 1 hour in the timestr variable. e.g. if test.time value is 07:06:47 AM (timezone of -7:00) is passed in above statement then after conversion it becomes 09:06:47 AM which is wrong as the result should come as 08:06:47AM

Please help me so that i can have the result as 08:06:47AM and don't want to subtract 1 hours based on booleanvalue of IsDaylightSaving method. Is there any other way I can calculate the correct value for daylightsaving time and non daylightsaving time in one go.
Boyan Dimitrov
Telerik team
 answered on 19 Jun 2014
3 answers
123 views
The text states that the incorrect word is highlighted in yellow, but it is highlighted in blue (see attached).  How can I change either the wording or highlighting so they match.  Thanks.
Ianko
Telerik team
 answered on 19 Jun 2014
3 answers
149 views
This is the skeleton of a template we have to use. In Firefox and IE it's not causing any problems. But there is major slowdown when it's in Chrome. Outside of the editor as it's own html file it has no problems. Just when it's in the Telerik Editor

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body>
        <table width="600" cellspacing="0" cellpadding="0" border="0" align="center">
            <tbody>
                <tr>
                    <td>
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                            <tr>
                                <td>
                                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                    <tbody>
                                        <tr>
                                            <td valign="top">
                                            <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                                <tbody>
                                                    <tr>
                                                        <td valign="top">
                                                        <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                                            <tbody>
                                                                <tr>
                                                                    <td valign="top" style="background-color: #616265;">
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    <table width="100%" cellspacing="20" cellpadding="0" border="0">
                                                                        <tbody>
                                                                            <tr>
                                                                                <td>
                                                                                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                                                                    <tbody>
                                                                                    </tbody>
                                                                                </table>
                                                                                </td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td style="background-color: #616265;">
                                                                    <table width="100%" cellspacing="20" cellpadding="0" border="0">
                                                                        <tbody>
                                                                            <tr>
                                                                                <td>
                                                                                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                                                                </table>
                                                                                </td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td style="width: 556px; background-color: #bdbdbd;"><br />
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                            </td>
                                            <td style="width: 22px; background-color: #bdbdbd;"><br />
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <br />
        <br />
    </body>
</html>
Ianko
Telerik team
 answered on 19 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?