Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
99 views
I am using the jQuery Mobile framework (1.3.1) with a mobile site combined with the RadDatePicker (and RadTimePicker) using the MetroTouch skin. While building the site I noticed in IE10 there was an extra textbox and in Chrome there is an extra bar, both showing above the controls. When I did an Inspect Element on the element I found the following HTML:

<div id="ctl00_cpContent_rdStartDate_wrapper" class="RadPicker RadPicker_MetroTouch" style="display:inline-block;width:160px;">
    <!-- 2013.1.417.45 --><input style="visibility:hidden;display:block;float:right;margin:0 0 -1px -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;" id="ctl00_cpContent_rdStartDate" name="ctl00$cpContent$rdStartDate" type="text" class="rdfd_ radPreventDecorate" value="" title="Visually hidden input created for functionality purposes." />

The problem appears to be with the parent wrapper as the jQuery framework sees this as a normal control and adds some additional styling to it which causes it to be visible, though you can't actually interact with it. 

To recreate a sample, just add these four lines to a web form (to setup jQuery mobile) and then add a standard RadDatePicker with the MetroTouch skin (version 2013.1.417.45).


Any thoughts on how to make this not show?
Marin
Telerik team
 answered on 09 May 2013
1 answer
125 views
Hello,
When i paste some html in html mode of RadEditor and trying to save this content in database.here i am getting some script error unexpectedly some times.
observe the attached image attached.

This is my editor with all the properties,
<telerik:RadEditor ID="RadEditor1" EditModes="Design,Html" OnClientModeChange="OnClientModeChange"
OnClientLoad="GetContentLength" OnClientPasteHtml="OnClientsubmit" runat="server"
ToolsFile="~/Editor/RadEditorTools/RadTools.xml" Height="550px" Width="100%"
EnableResize="false" ContentFilters="DefaultFilters" OnClientCommandExecuting="changeImageManager"
unselectable="on">
<CssFiles>
    <telerik:EditorCssFile Value="~/Editor/RadEditorTools/EditorContentArea.css" />
</CssFiles>
<Tools>
    <telerik:EditorToolGroup>
        <telerik:EditorTool Name="ImageManager" />
        <telerik:EditorTool Name="InsertLinks" />
    </telerik:EditorToolGroup>
</Tools>
<Content></Content>
<ImageManager ViewPaths="~/Editor/Images" DeletePaths="~/Editor/Images" UploadPaths="~/Editor/Images"
    SearchPatterns="*.gif,*.jpg,*.jpeg,*.png,*.bmp" />
<TemplateManager ViewPaths="~/Editor/SampleDocs/Templates" UploadPaths="~/Editor/SampleDocs/Templates"
    DeletePaths="~/Editor/SampleDocs/Templates" />
<DocumentManager ViewPaths="~/Editor/SampleDocs/Docs" UploadPaths="~/Editor/SampleDocs/Docs"
    DeletePaths="~/Editor/SampleDocs/Docs" />
</telerik:RadEditor>

any solution?

Regards,
Anwar
Stamo Gochev
Telerik team
 answered on 09 May 2013
1 answer
248 views
I know I can subscribe to the ItemDataBound event for the grid to change a grid row background color. What I need to figure out is how to ignore this background color when the grid row is selected. I want to maintain the skins background color on row selection. The tough part is that I don't know what this color is because I allow the user to switch between multiple skins.
Princy
Top achievements
Rank 2
 answered on 09 May 2013
1 answer
60 views
Hi..
How do you get the menu to look like the menu in your Olympic examples - the large silver 'tabs'?
I can't seem to figure how you set the style or use the CSS to get this 'look'
Any ideas?
thx again
Magdalena
Telerik team
 answered on 09 May 2013
1 answer
114 views
Hi, i'm trying to get sorting working using dynamic data but it's throwing errors, when I try to sort I get the error

No property or field 'Forenames' exists in type 'Object'

[ParseException: No property or field 'Forenames' exists in type 'Object'] Telerik.Web.UI.ExpressionParser.ParseMemberAccess(Type type, Expression instance) +922 Telerik.Web.UI.ExpressionParser.ParseIdentifier() +382 Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +31 Telerik.Web.UI.ExpressionParser.ParsePrimary() +14 Telerik.Web.UI.ExpressionParser.ParseUnary() +262

Is it possible with dynamic data to sort?

protected void ResultsGrid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
.....................
 
    List<dynamic> contacts = new List<dynamic>();
    foreach (Entity result in results.Entities)
    {
        Contact contact = result.ToEntity<Contact>();
        contacts.Add(
            new
            {
                Id = contact.Id,
                Forenames = contact.FirstName,
                Surname = contact.FirstName,
                ReferenceNumber = contact.mps_ReferenceNumber,
                AddressLine1 = contact.Address1_Line1,
                AddressPostalCode = contact.Address1_PostalCode,
                AddressCountry = (contact.mps_address1_country == null) ? "" : contact.mps_address1_country.Name
            }
        );
    }
 
    ResultsGrid.DataSource = contacts;
}
David Rhodes
Top achievements
Rank 1
 answered on 09 May 2013
3 answers
180 views
Hi,

I get following error when I EnableConfigurationPanel property to true 

There was a error rendering control in Design View

<telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" EnableConfigurationPanel="true">
    <OlapSettings ProviderType="Adomd">
   <AdomdConnectionSettings ConnectionString="Data Source=IT;Catalog=Cost" Cube="Costing"  DataBase="Cost">
   </AdomdConnectionSettings>
   </OlapSettings>
</telerik:RadPivotGrid>

Telerik Support Pls help. I tried the connection string to successfully connect to analysis server. So not sure what's wrong.
we are evaluating this control and kind of stuck...
Radoslav
Telerik team
 answered on 09 May 2013
0 answers
189 views

Hi,

 

Previously we were using 2009 version of telerik controls and the javascript  code like this

eventArgs.set_cancel(true) ;


was not cancelling the enter key  press event in Radtextbox.

 

Now we are using 2013.1.403.35 version of telerik controls and above javascript code is cancelling the enter key press event in RadTextbox.


Please confirm this change of behaviour is due to new telerik control.s

Please confirm as soon as possible.

 

 

Regards

Vishal Sahni

 

 

 

 

Vishal
Top achievements
Rank 1
 asked on 09 May 2013
0 answers
70 views

Hi,

 

Previously we were using 2009 version of telerik controls and using javascript like this in our application.

 

document.getElementById(sender.get_id() + '_text');

 

Now we are using 2013.1.403.35 version of telerik controls and above javascript code  is not working and we are using javascript like this.

 

document.getElementById(sender.get_id());

 

 

Please confirm this javascript change is due to new telerik controls.

 

Please confirm as soon as possible.

 

 

Regards

Vishal Sahni

Vishal
Top achievements
Rank 1
 asked on 09 May 2013
1 answer
93 views
Hi Telerik Community,

I am using the Telerik ASP.NET AJAX controls (version 2011.1.519.35) and trying to export a file. I would like the file extension to be .txt, but it just freezes on the button click - see code below.

Protected Sub btnExport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExport.Click       
        RadGrid1.ExportSettings.FileName = "Export"
        RadGrid1.ExportSettings.ExportOnlyData = True
        RadGrid1.ExportSettings.IgnorePaging = True
        RadGrid1.ExportSettings.Csv.ColumnDelimiter = Telerik.Web.UI.GridCsvDelimiter.Tab
        RadGrid1.ExportSettings.Csv.RowDelimiter = Telerik.Web.UI.GridCsvDelimiter.NewLine
        RadGrid1.ExportSettings.Csv.EncloseDataWithQuotes = False
        RadGrid1.ExportSettings.Csv.FileExtension = "txt"
        RadGrid1.MasterTableView.ExportToCSV()
End Sub

When I use any thing else for the file extension, it works properly, but when I set the FileExtension = "txt" it does not work, just freezes up. For example, if I use FileExtension = "tx" it will work just fine. It only freezes when it is "txt"

Does anyone have any ideas of what is causing this, or how to get it to export with the txt extension?

Thanks,
Joe
Eyup
Telerik team
 answered on 09 May 2013
1 answer
122 views
Hello,

I have a radgrid with 6 columns, the first two columns(EmpID,EmpName) will get the data selected from the popup which is opened from the third column, similarly I have the 4th and 5th column (CountryID,CountryName) which will get the data from the popup which is opened from the 6th column.

On Adding of a new row and after the popup button is clicked and after the data is selected in the popup, How can I update the new row's EmpID and EmpName fields.
Eyup
Telerik team
 answered on 09 May 2013
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?