Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
323 views
Hi, I have a RADTabStrip defined in my page.
On clicking one of the tabs i load a user control.
Now in the user control, i have a button and a click handler for the same.
In the button click handler (client side function), i would like to change the text of the tab.
I saw examples which use something like $find("<%= RadTabStrip1.ClientID %>")
But I am not sure how to use this when the RadTabStrip is defined in the parent page.
Please provide clues / suggestions on how to get this done.

Thanks
Suchitra

Suchitra
Top achievements
Rank 1
 answered on 20 Jun 2014
3 answers
161 views
Hi,

My appologies if this is a very basic question.

Please see the attached image. When we drag a row there is some white area above the row. Where are the styles defined for the row being dragged?  All I see in the css file for Drag/Drop is GridItemDropIndicator_blah.

Any pointers would be appreciated.

Thanks!
Rich
Konstantin Dikov
Telerik team
 answered on 20 Jun 2014
3 answers
166 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
484 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
305 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
422 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
197 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
131 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
89 views
testing
Marin Bratanov
Telerik team
 answered on 19 Jun 2014
1 answer
206 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?