Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
I use Telerik RadEditor version 2012.1.411.40. When I copy content from MSWord and paste to RadEditor, I have problem, that it auto remove spaces in words (Plz see attach file). In source code, I used property StripFormattingOptions  with value 
EditorStripFormattingOptions.ConvertWordLists & EditorStripFormattingOptions.MSWordRemoveAll

I try all value of EditorStripFormattingOptions, but not solve problem.

Plz help me.



Marin Bratanov
Telerik team
 answered on 11 Oct 2013
9 answers
302 views
Hi,
How I can Hide Overwrite if file exists? Checkbox from all upload popups in RadEditor. or stop overwriting attachment file in folder.
Ianko
Telerik team
 answered on 11 Oct 2013
1 answer
148 views
Hi guys

How can I remove the selected date of the date picker from server side? I was using the raddatepicker.DateInput.Clear() which is not working after updating to the latest version.

Any suggestions please?
Anu
Shinu
Top achievements
Rank 2
 answered on 11 Oct 2013
3 answers
217 views
hello guys,

My website has always worked. yesterday after starting the computer, launch the web page and I get this error message:

Telerik.Web.UI.RadFormDecorator with ID='QsfFromDecorator' was unable to find an embedded skin with the name 'Sunset'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.


but the dll of the skin is located in the bin folder, I do not understand why this error.

Please help me
Shinu
Top achievements
Rank 2
 answered on 11 Oct 2013
6 answers
166 views
Please have a look at the attached image.

As you can see the dropdown is misplaced. It only appears o be the case on this grid edit form template; wherever else I use comboboxes they're OK.

The form template code is reproduced below ...
                <FormTemplate> 
                    <telerik:RadTextBox runat="server" ID="txtInternalId" Text='<%# DataBinder.Eval(Container, "DataItem.InternalId") %>' Style="display: none;"></telerik:RadTextBox> 
                    <table> 
                        <tr> 
                            <td> 
                                Surname: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtSurname" runat="server" MaxLength="50" Text='<%# DataBinder.Eval(Container, "DataItem.Surname") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="200px" > 
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Forename: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtForename" runat="server" MaxLength="50" Text='<%# DataBinder.Eval(Container, "DataItem.Forename") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="200px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Email: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtEmail" runat="server" MaxLength="200" Text='<%# DataBinder.Eval(Container, "DataItem.Email") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="300px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Phone: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtPhone" runat="server" MaxLength="20" Text='<%# DataBinder.Eval(Container, "DataItem.Phone") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="150px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td> 
                                Organisation: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtOrganisation" runat="server" MaxLength="50" Text='<%# DataBinder.Eval(Container, "DataItem.Organisation") %>' 
                                    Enabled='<%# DataBinder.Eval(Container, "DataItem.IsExternal") %>' 
                                    SkinID="rad_textbox" 
                                    Width="300px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td style="vertical-align: top;"
                                Special Notes: 
                            </td> 
                            <td> 
                                <telerik:RadTextBox ID="txtSpecialNotes" runat="server" Rows="5" Text='<%# Bind("SpecialNotes") %>' 
                                    SkinID="rad_textbox" 
                                    TextMode="MultiLine" Width="300px"
                                </telerik:RadTextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td style="vertical-align: top;"
                                Status: 
                            </td> 
                            <td> 
                                <telerik:RadComboBox ID="cboState" runat="server" SelectedValue='<%# DataBinder.Eval(Container, "DataItem.State") %>' SkinID="rad_combo"
                                    <Items> 
                                        <telerik:RadComboBoxItem Text="Not Confirmed" Value="AwaitingUserAcceptance" /> 
                                        <telerik:RadComboBoxItem Text="Attending" Value="Attending" /> 
                                        <telerik:RadComboBoxItem Text="Not Attending" Value="NotAttending" /> 
                                    </Items> 
                                </telerik:RadComboBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="2" style="text-align: right; padding-right: 5px"
                                <asp:Button runat="server" ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' 
                                    CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' /> 
                                <asp:Button runat="server" ID="btnCancel" Text="Cancel" CommandName="Cancel" CausesValidation="false" /> 
                            </td> 
                        </tr> 
                    </table> 
                </FormTemplate> 
 
Anyone any ideas?

--
Stuart

Kate
Telerik team
 answered on 11 Oct 2013
7 answers
236 views
I'm getting an error when I try to perform radconfirm from a page that is already a popup attached is a sample of what I'm trying to do and the error will occur once you run the program.

How to replicate below:

Step 1. A page that has an ajaxpanel with a radwindowmanager outside of the ajaxpanel and a button
Step 2.In the button click event call javascript that is within a radcodeblock that calls the javascript below

function launchModalWindow(args, height, title) {

var oWnd = $find("<%= popupEditContactWindow.ClientID %>");

oWnd.set_behaviors('None');

oWnd.set_height(height);

oWnd.set_title(title);

oWnd.setUrl(args);

oWnd.show();

return false;
 
Step4. In Step 3 button click event I call the javascript below :

 

function launchModalWindow(message, callback, title) {

radconfirm(message, callback, 330, 100, null, title);

return false;

 

 

 

 

}

 

 

 

}


Marin Bratanov
Telerik team
 answered on 11 Oct 2013
8 answers
251 views
I'm nearly positive that when I updated last week to the latest hotfix (v 2012.1.403.30), that build broke part of my application. Previously I was running the Q1 2012 release ( v.2012.1.215.40) with no serous problems other than a minor issue which is why I upgraded to the hotfix. The hotfix did correct my minor issue with RadScheduler, but it apparently has caused a more serious issue, as described here:

I am opening a window (on double-click within various RadGrid cells) using this code:
function ShowTestForm() {
    var wnd = window.radopen("Test.aspx", "WindowName");
    wnd.setSize(900, 700);
    wnd.center();
    return false;
}

The form begins to load, but now it throws this error: 
Microsoft JScript runtime error: Unspecified error.

which originates from this line of code in the ScriptResource.axd file:

this._focused=(document.activeElement==this._textBoxElement)&&!this.isReadOnly();


If you highlight  "document.activeElement", it gives: Unspecified error.

"this._textBoxElement" evaluates to a telerik:RadDatePicker control, so as a test I removed the RadDatePicker, the error goes away! However, my form absoluately needs this and other RadDatePickers. I've simplied my Test.aspx form all the way down to just one single control, no javascript, no code behind, it loads no data. Just one RadDatePicker and yet it still throws this error.
But, if I set my application to "Startup" with Test.aspx, the page loads just fine. So the problem only occurs when I try and go to Test.aspx with a window.radopen.

Help. This error never happened before with previous quarterly releases, I'm surely positive the hotfix has broken this. But I need to use the hotfix for another part of my application, so I can't just rollback to Q1 2012. Is there something else that I can do or test to get this working? The problem also occurs with other types of controls, such as RadDateTimePicker, RadTextBox. But no problems with RadComboBox, that control seems to be ok on the form, no error is thrown.

Thank you.



Marin Bratanov
Telerik team
 answered on 11 Oct 2013
1 answer
160 views

Hello,

I am using:

  • RadControls for ASP.NET v. 2013.2.717.40
  • .NET Framework 4.0
  • Windows 7 Enterprise 64-bit
  • Visual Studio 10
  • IE 9 and Firefox 24

I am creating an application based on the Window - RadWindow and MDI demo.  I have this working so far.  The main difference with my application and your demo is that I am using a RadToolBar at the top of the page instead of a RadMenu at the bottom left of the page to open new MDI RadWindows.  This is working fine as well.

I would like to create a ContextMenu for each tab that gets added to the tabstrip.  For example, when a new RadWindow is opened, I want to add a ContextMenu with the following menu items:  Minimize, Maximize, Restore, Arrange Horizontal, Arrange Vertical, Cascade, etc. In addition, depending on the specific RadWindow, I may want to add other menu items.

I initially started looking at how to do this from Javascript, but from what I read on the forums, the ContextMenu being a server control, must be created on the server.  So I would think I could create the ContextMenu in the RadToolBar button click event where I create the new RadWindow.  This seems easy enough but I don't know how to associate the newly created ContextMenu (from my server code) with the newly created Tab (from the Javascript code).

What is the best way to do this?

Thanks,
Randall Price
Senior Developer
Virginia Tech
Kate
Telerik team
 answered on 11 Oct 2013
6 answers
139 views
The new RadScheduler Q1 2013 will be full compatible with touch events like drag and grop appontements and long click for rad menu in IE10 Metro.

Now these events work only with iPad.

Thanks.  
Ivan Zhekov
Telerik team
 answered on 11 Oct 2013
2 answers
184 views

<

 

 

telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="objGetHaulsByTripcode" GridLines="Horizontal" AutoGenerateColumns="False">

 

 

 

 

 

 

 

<MasterTableView DataSourceID="objGetHaulsByTripcode">

 

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="TripCode" FilterControlAltText="Filter TripCode column" HeaderText="TripCode" SortExpression="TripCode" UniqueName="TripCode"></telerik:GridBoundColumn>

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="VessReg" FilterControlAltText="Filter VessReg column" HeaderText="VessReg" SortExpression="VessReg" UniqueName="VessReg"></telerik:GridBoundColumn>

 

 

 

 

 

 

 

<telerik:GridDropDownColumn DataField="TechniqueName" DataSourceID="getTechniques"

 

 

 

HeaderText="Technique" ListTextField="TechniqueFullName"

 

 

 

ListValueField="TechniqueCode" UniqueName="TechniqueName"

 

 

 

ColumnEditorID="TechniqueName" Reorderable="False"

 

 

 

Resizable="False"></telerik:GridDropDownColumn>

 

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

 

 

</telerik:RadGrid>

 

 

 

 

 

 

 

 

<asp:SqlDataSource ID="objGetHaulsByTripcode" runat="server" ConnectionString="<%$ ConnectionStrings:FisheriesConnectionString %>"

 

 

 

SelectCommand="SELECT [TripCode], [VessReg], [TechniqueName] FROM [vwDisHaulsDetailsAll] WHERE ([TripCode] = @TripCode) ORDER BY [TripCode], [VessReg]">

 

 

 

 

 

 

 

<SelectParameters>

 

 

 

 

 

 

 

<asp:ControlParameter ControlID="ddlTripCode" Name="TripCode" PropertyName="SelectedValue" Type="String" />

 

 

 

 

 

 

 

</SelectParameters>

 

 

 

 

 

 

 

</asp:SqlDataSource>

 

 

 

 

 

 

 

 

<asp:SqlDataSource ID="getTechniques" runat="server" ConnectionString="<%$ ConnectionStrings:FisheriesConnectionString %>"

 

 

 

ProviderName="System.Data.SqlClient" SelectCommand="SELECT DisTechnique.Code AS [TechniqueCode], DisTechnique.Name AS [TechniqueFullName] FROM DisTechnique INNER JOIN DisGearTechniqueAllowed ON DisTechnique.Code = DisGearTechniqueAllowed.Code INNER JOIN DisTrips ON DisGearTechniqueAllowed.METHOD_CODE = DisTrips.GearCode WHERE ([TripCode] = @TripCode)">

 

 

 

 

 

 

 

<SelectParameters>

 

 

 

 

 

 

 

<asp:ControlParameter ControlID="ddlTripCode" Name="TripCode" PropertyName="SelectedValue" Type="String" />

 

 

 

 

 

 

 

</SelectParameters>

 

 

 

 

 

 

 

</asp:SqlDataSource>



Hi,

For my GridDropDownColumn DataField="TechniqueName" how can I show the [TechniqueName] FROM [vwDisHaulsDetailsAll] WHERE ([TripCode] = @TripCode) in the grid?

In select mode, the dropdown does not show anything in the row(s). I wish it to show what it stored in the database table, based on a TripCode.

Now, in Edit mode, it lists the 4 options ok. But I wish the selected value to be what has been already stored in the database for a row, based on a Trip Code.

Any advice please? Hope this question makes sense!

Thanks, Ida

 

Ida
Top achievements
Rank 1
 answered on 11 Oct 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?