Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
154 views
When i click the button radwindow is opened...when i close the window how can i rebind radscheduler in that page.....
Shinu
Top achievements
Rank 2
 answered on 04 Jan 2010
3 answers
219 views
I am having an issue with the Image Manager in the RadEditor.

I insert an image into the editor area using the Image Manager. I then select the image in the editor area and click the Image Manager button again. When the image dialog window opens it is not focused on the image and I cannot see what the properties are. I would expect that I would see my image selected and I should be able to examine and change the properties from the properties tab

The demo at

http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx

has the same problem.

I also have a custom FileBrowserContentProvider for my Image Manager and I can see that when my provider is constructed the first time that the selectedUrl and selectedItemTag parameters are set with the selected image src value but I cannot see what to do with these values. I do pass them to the base constructor in FileBrowserContentProvider.
Rumen
Telerik team
 answered on 04 Jan 2010
3 answers
130 views
Hi,

is it possible to show only the edit mode icons, e.g. without the text preview or html. Before we changed to Telerik ASP.NET AJAX Controls we had at the classic controls a property to define that only the icons will be shown.

Thanks for any hints.

Frank
Martin
Telerik team
 answered on 04 Jan 2010
10 answers
347 views
I am using the editor in a radwindow that opens a page that has a Theme applied to it. When the editor loads, it loads the styles in the css files of the theme as well as the css styles in the webresource used to in the radEditor skin. This is not desired.

How can I make it so that it ONLY loads styles of style sheets that I specify? I have already tried putting the style sheets I want in the toolsfile, doing it programmatically, and putting it in the aspx file. All of those methods successfully add the styles fromt he stylesheets that I specify, but they do not override the other styles that the editor is adding.

Note: I noticed that the same issue exists on your demo page when you go to First Look > Default settings and switch tools file from "Default" to "Full set of Tools". You can see that it adds the styles from the page into the dropdown list.

Edit: I have discovered that since I am using the editor in a multipage and one of those pages has rad calendars on it, the editor is picking up THOSE styles and not the styles in the WebResources (which I noticed that the javascript weeds out). So, How do I make the rad calendar not render its styles on the page? The editor still picks up the styles in the theme though, so I still need to know how to prevent that.
Rumen
Telerik team
 answered on 04 Jan 2010
12 answers
225 views
Hi, 
 

We are using Q1 2007 version controls. We are getting problem with combo box in safari browser.

When we try to write some text in editable combo box, safari browser throws unhandled exception (xp, vista OS) and web application gets hanged. While,in Mac OS, browser gets closed for this same scenario.
Error message is: “Safari Web Browser has encountered a problem and needs to close” Also we are not able to track that where problem is occurring.  For other browsers (IE 6/7, Fire fox), its working perfectly fine. 

My combo box declaration is like this :

 

<

 

radC:RadComboBox ID="ddlUDC1" Skin="Default2006" Height="60px" runat="server" Width="200px" DropDownWidth="187px" meta:resourcekey="ddlUDC1Resource1" SkinsPath="~/RadControls/ComboBox/Skins" MarkFirstMatch="true" >

 

 

</radC:RadComboBox>

 

 

 

 

Please suggest solution for this.
Please note we want to continue with Q1 2007 version only. We do not want to upgrade it.

Any help on this will be appreciated.

Thanks,
Mittal

  

Veselin Vasilev
Telerik team
 answered on 04 Jan 2010
11 answers
327 views
Hi - I see references here in the forum to making image thumbnails, but I cannot for the life of me find a way to enable this functionality.

Here's what I want:

  1. User hits the image manager button in the toolbar, gets the image manager dialog. 
  2. User chooses image
  3. User either hits Image Editor button or some other "make thumbnail" button (doesn't matter to me)
  4. Thumbnail is created
  5. Image is placed as thumbnail with appropriate <a> tags to link to full-sized version

Step 5 is where I'm getting hung-up - I don't see any means of creating the link, short of hitting the link manager and manually entering the URL for the full-size image - that's too complicated for my end-users, I need an automatic or visual method. Seems like this is supposed to be a feature of the image manager. (At the very least, it should be.)

How do I do this?

Thank you!!
Daniel Mettler
Top achievements
Rank 2
Iron
 answered on 04 Jan 2010
2 answers
114 views
In RadEditor 2009.1.1311 Image Manager doesn't contain the options "Link to original" and "Open original in new window" for thumbnails anymore.

Did you remove this feature? If so, what's the reason and will it get re-implemented soon?
Daniel Mettler
Top achievements
Rank 2
Iron
 answered on 04 Jan 2010
1 answer
64 views
I am attempting to recreate the demo Grid / Window Editing and have run into a problem on the protected sub:

Protected

 

Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
I am receiving an "unknown type" error in reference to UI.AjaxRequestEventArgs
I have included all of the imports from the demo, but it seems like one may be missing?
Imports System
Imports System.Data
Imports System.Configuration
Imports System.Collections
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls
Imports Telerik.Web.UI

 

Princy
Top achievements
Rank 2
 answered on 04 Jan 2010
3 answers
162 views
The following tabstrip was created in the order of Notes, Contact Mechanisms, Relationships.  Recently, we changed the order as shown below.  The content in each tab is correct as per markup below.   However, no matter which order I change the RadTab controls, the tab headers appear in the original order that each was created.  Why is this happening and how can I fix it?

I put this markup on a new page and replace each RadMultiPage content with just a label ... it works fine.  I thought maybe the code-behind was accessing some part of this control, so I changed the name of all IDs expecting to get a compilation error.  However, as expected, the code-behind is not accessing any part of this control.

 

<asp:Panel ID="pnlTabStrip" runat="server" Visible="true">

 

 

<telerik:RadTabStrip ID="rtsContact" runat="server" SelectedIndex="0" MultiPageID="rmpContact" ReorderTabsOnSelect="true">

 

 

<Tabs>

 

 

<telerik:RadTab Text="Contact Mechanisms" />

 

 

<telerik:RadTab Text="Relationships"/>

 

 

<telerik:RadTab Text="Notes" />

 

 

</Tabs>

 

 

</telerik:RadTabStrip>

 

 

<telerik:RadMultiPage ID="rmpContact" runat="server" SelectedIndex="0">

 

 

<telerik:RadPageView ID="rpvMechanism" runat="server">

 

 

<uc1:WucContactMechanism ID="wucContactMechanism" runat="server" />

 

 

</telerik:RadPageView>

 

 

<telerik:RadPageView ID="rpvRelationships" runat="server">

 

 

<uc2:WucAssignedParties ID="wucAssignedParties" runat="server" />

 

 

</telerik:RadPageView>

 

 

<telerik:RadPageView ID="rpvNotes" runat="server">

 

 

<telerik:RadTextBox ID="txtNotes" Runat="server" Rows="15" TextMode="MultiLine" Width="650px" TabIndex="90" BorderColor="LightGray" BorderWidth="1" EnableEmbeddedSkins="false" Skin="IBMS" />

 

 

</telerik:RadPageView>

 

 

</telerik:RadMultiPage>

 

 

</asp:Panel>

 

Gary
Top achievements
Rank 2
 answered on 04 Jan 2010
1 answer
173 views
Hi

I have build a grid with a formtemplate. I want to set the label text through a button click. The problem is that it cant find the reference to the label. What to do?

reg
D

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Itemcommand.aspx.vb" Inherits="Itemcommand" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title></title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <telerik:RadScriptManager runat="server"> 
        </telerik:RadScriptManager> 
        <telerik:RadGrid ID="RadGrid1" runat="server"  GridLines="None" 
             AutoGenerateColumns="False" 
            ShowStatusBar="True" DataSourceID="SqlDataSource1"> 
            <MasterTableView CommandItemDisplay="TopAndBottom" GridLines="None" DataKeyNames="EmployeeID" 
                AllowFilteringByColumn="False" AllowSorting="True" DataSourceID="SqlDataSource1"> 
                <Columns> 
                    <telerik:GridEditCommandColumn UniqueName="EditCommandColumn"> 
                    </telerik:GridEditCommandColumn> 
                    <telerik:GridBoundColumn UniqueName="EmployeeID" HeaderText="EmployeeID" DataField="EmployeeID" 
                        DataType="System.Int32" ReadOnly="True" SortExpression="EmployeeID"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="City" HeaderText="City" SortExpression="City" 
                        UniqueName="City"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Country" HeaderText="Country" SortExpression="Country" 
                        UniqueName="Country"> 
                    </telerik:GridBoundColumn> 
                </Columns> 
                <EditFormSettings EditFormType="Template"> 
                    <EditColumn UniqueName="EditCommandColumn1"> 
                    </EditColumn> 
                    <FormTemplate> 
                        <table id="Table3" cellspacing="1" cellpadding="1" width="250" border="0" class="module"> 
                            <tr> 
                                <td> 
                                </td> 
                                <td> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td> 
                                    Country: 
                                </td> 
                                <td> 
                                    <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind( "Country"  ) %>'> 
                                    </asp:TextBox> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td> 
                                    City: 
                                </td> 
                                <td> 
                                    <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind( "City") %>' TabIndex="1"> 
                                    </asp:TextBox> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td> 
                                    <asp:Button ID="btnTest" CommandName="test" text="go" runat="server" /> 
                                    <asp:Label ID="lb1" runat="server"></asp:Label> 
                                </td> 
                            </tr> 
                        </table> 
                        </table> 
                    </FormTemplate> 
                </EditFormSettings> 
            </MasterTableView> 
        </telerik:RadGrid> 
    </div> 
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:nwindConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:nwindConnectionString.ProviderName %>" SelectCommand="SELECT * FROM [Employees]"> 
    </asp:SqlDataSource> 
    </form> 
</body> 
</html> 
 

Imports Telerik.Web.UI 
 
Partial Class Itemcommand 
    Inherits System.Web.UI.Page 
 
    Protected Sub RadGrid1_ItemCreated1(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated 
        If e.Item.ItemType = GridItemType.EditFormItem And e.Item.IsInEditMode Then 
 
            Dim testbut As Button = CType(e.Item.FindControl("btnTest"), Button) 
 
            Dim lbref As Label = CType(e.Item.FindControl("lb1"), Label) 
 
            AddHandler testbut.Click, AddressOf testbutclicked 
 
        End If 
    End Sub 
 
    Protected Sub testbutclicked(ByVal sender As Object, ByVal e As EventArgs) 
        Dim lb As Label = RadGrid1.FindControl("lb1") 
        lb.Text = "hi" 
    End Sub 
End Class 
 
Shinu
Top achievements
Rank 2
 answered on 04 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?