Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
182 views
Hi,

My RadComboBox is positioned at the bottom of the page. The DropDown is opened to the top of the arrow, so that is correct. But the height of the DropDown is automatically only about 100px, while there are more than 20 ComboBox items in the list.

Is it possible to set the height of the DropDown (server side ór client side)?

Thx,
Danny
Danny Scheelings
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
38 views
Do I need to have an <asp:Panel ...> </asp:Panel> in order for the RadAjaxManager to work?
Shinu
Top achievements
Rank 2
 answered on 18 Nov 2010
2 answers
70 views
Does the Rad Editor support inline HTML images per RFC 2557?

Meaning, that you can specify images as follows: 

<img src="data:image/png;base64,actual bytes of image go here/>

Cheers,

Daniel
Daniel
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
64 views
Hi, My custom dialogs just stop working, my code is exactly like http://demos.telerik.com/aspnet-ajax/editor/examples/customdialogs/defaultcs.aspx ,
when i click in the custom dialog button show me an error "the command xxx is not implemented yet"
Rumen
Telerik team
 answered on 17 Nov 2010
2 answers
98 views
Hello,

I would like to replace the Timeline Button with an Add Button. When the add button is selected I'd like to bring up the new appointment dialog.

Thanks,

Scott
Scott
Top achievements
Rank 1
 answered on 17 Nov 2010
4 answers
113 views
Hi Im new to telerik and asp.net. Im trying to use a gridview and seem to have it going, but the insert and update do not work.
Can anyone give me a tip on what the problem is. 
Thanks

<%@ Page Title="" Language="C#" MasterPageFile="~/NestedMasterPageTemplate.master"
    AutoEventWireup="true" CodeFile="TEST.aspx.cs" Inherits="Study_Abroad_TEST" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl controlid="RadGrid1" loadingpanelid="RadAjaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadGrid ID="RadGrid1" DataSourceID="SessionDataSource1" AllowSorting="True"
        AutoGenerateColumns="false" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="true"
        AllowPaging="True" GridLines="None" runat="server" ShowFooter="True" PageSize="7"
        AllowAutomaticInserts="True">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView CommandItemDisplay="Top" DataSourceID="SessionDataSource1" DataKeyNames="ProgramID"
            Width="700">
            <Columns>
                <telerik:GridBoundColumn DataField="ProgramName" HeaderText="Program Name">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Institution" DataField="Institution">
                </telerik:GridBoundColumn>
                <telerik:GridDateTimeColumn DataField="StartDate" HeaderText="Start Date" Visible="false"
                    EditFormColumnIndex="0">
                </telerik:GridDateTimeColumn>
                <telerik:GridDateTimeColumn DataField="EndDate" HeaderText="End Date" Visible="false"
                    EditFormColumnIndex="0">
                </telerik:GridDateTimeColumn>
                <telerik:GridBoundColumn HeaderText="Country" DataField="Country">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="City" DataField="City">
                </telerik:GridBoundColumn>
                <telerik:GridCheckBoxColumn HeaderText="On Campus Housing" DataField="OnCampusHousing"
                    Visible="false">
                </telerik:GridCheckBoxColumn>
                <telerik:GridDropDownColumn HeaderText="Housing Type" DataField="HousingType" ListTextField="HousingType"
                    ListValueField="HousingType" DataSourceID="SessionDataSource3" Visible="false">
                    <ItemStyle Width="20" />
                </telerik:GridDropDownColumn>
                <telerik:GridTemplateColumn DataField="Description" HeaderText="Description" Visible="false">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" Text='<%# Bind( "Description") %>' Columns="30" Rows="5"
                            TextMode="MultiLine" runat="server"></asp:TextBox>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
            <EditFormSettings ColumnNumber="3" CaptionFormatString="Edit details for Program {0}"
                CaptionDataField="ProgramName">
                <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="100%" />
                <FormTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="2" CssClass="module"
                    Height="110px" Width="100%" />
                <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                <EditColumn UpdateText="Update" UniqueName="EditCommandColumn1" CancelText="Cancel">
                </EditColumn>
                <FormTableButtonRowStyle HorizontalAlign="Left" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
            </EditFormSettings>
        </MasterTableView>
        <ClientSettings>
            <Selecting AllowRowSelect="True" EnableDragToSelectRows="True" />
        </ClientSettings>
    </telerik:RadGrid>
    <br />
    <asp:SqlDataSource ID="SessionDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MIS5050DBConnectionString_General %>"
        DeleteCommand="DELETE FROM [SAPrograms] WHERE [ProgramID] = @ProgramID" InsertCommand="INSERT INTO [SAPrograms] ([ProgramName], [Description], [StartDate], [EndDate], [OnCampusHousing], [HousingType], [CreateDate], [ModDate], [Country], [City], [PostalCode], [Institution]) VALUES (@ProgramName, @Description, @StartDate, @EndDate, @OnCampusHousing, @HousingType, @CreateDate, @ModDate, @Country, @City, @PostalCode, @Institution)"
        SelectCommand="SELECT * FROM [SAPrograms] ORDER BY [ProgramName]" ConflictDetection="CompareAllValues"
        OldValuesParameterFormatString="original_{0}" UpdateCommand="UPDATE [SAPrograms] SET [ProgramName] = @ProgramName, [Description] = @Description, [StartDate] = @StartDate, [EndDate] = @EndDate, [OnCampusHousing] = @OnCampusHousing, [HousingType] = @HousingType, [CreateDate] = @CreateDate, [ModDate] = @ModDate, [Country] = @Country, [City] = @City, [PostalCode] = @PostalCode, [Institution] = @Institution WHERE [ProgramID] = @ProgramID">
        <DeleteParameters>
            <asp:Parameter Name="ProgramID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="ProgramName" Type="String" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="StartDate" Type="DateTime" />
            <asp:Parameter Name="EndDate" Type="DateTime" />
            <asp:Parameter Name="OnCampusHousing" Type="Boolean" />
            <asp:Parameter Name="HousingType" Type="String" />
            <asp:Parameter Name="CreateDate" Type="DateTime" />
            <asp:Parameter Name="ModDate" Type="DateTime" />
            <asp:Parameter Name="Country" Type="String" />
            <asp:Parameter Name="City" Type="String" />
            <asp:Parameter Name="PostalCode" Type="String" />
            <asp:Parameter Name="Institution" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="ProgramName" Type="String" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="StartDate" Type="DateTime" />
            <asp:Parameter Name="EndDate" Type="DateTime" />
            <asp:Parameter Name="OnCampusHousing" Type="Boolean" />
            <asp:Parameter Name="HousingType" Type="String" />
            <asp:Parameter Name="CreateDate" Type="DateTime" />
            <asp:Parameter Name="ModDate" Type="DateTime" />
            <asp:Parameter Name="Country" Type="String" />
            <asp:Parameter Name="City" Type="String" />
            <asp:Parameter Name="PostalCode" Type="String" />
            <asp:Parameter Name="Institution" Type="String" />
            <asp:Parameter Name="ProgramID" Type="Int32" />
            <asp:Parameter Name="original_ProgramID" Type="Int32" />
            <asp:Parameter Name="original_ProgramName" Type="String" />
            <asp:Parameter Name="original_Description" Type="String" />
            <asp:Parameter Name="original_StartDate" Type="DateTime" />
            <asp:Parameter Name="original_EndDate" Type="DateTime" />
            <asp:Parameter Name="original_OnCampusHousing" Type="Boolean" />
            <asp:Parameter Name="original_HousingType" Type="String" />
            <asp:Parameter Name="original_CreateDate" Type="DateTime" />
            <asp:Parameter Name="original_ModDate" Type="DateTime" />
            <asp:Parameter Name="original_Country" Type="String" />
            <asp:Parameter Name="original_City" Type="String" />
            <asp:Parameter Name="original_PostalCode" Type="String" />
            <asp:Parameter Name="original_Institution" Type="String" />
        </UpdateParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SessionDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MIS5050DBConnectionString_General %>"
        DeleteCommand="DELETE FROM [SAPrograms] WHERE [ProgramID] = @ProgramID" InsertCommand="INSERT INTO [SAPrograms] ([ProgramName], [Description], [StartDate], [EndDate], [OnCampusHousing], [HousingType], [CreateDate], [ModDate], [Country], [City], [PostalCode], [Institution]) VALUES (@ProgramName, @Description, @StartDate, @EndDate, @OnCampusHousing, @HousingType, @CreateDate, @ModDate, @Country, @City, @PostalCode, @Institution)"
        SelectCommand="SELECT * FROM [SAPrograms] ORDER BY [ProgramName]" ConflictDetection="CompareAllValues"
        OldValuesParameterFormatString="original_{0}" UpdateCommand="UPDATE [SAPrograms] SET [ProgramName] = @ProgramName, [Description] = @Description, [StartDate] = @StartDate, [EndDate] = @EndDate, [OnCampusHousing] = @OnCampusHousing, [HousingType] = @HousingType, [CreateDate] = @CreateDate, [ModDate] = @ModDate, [Country] = @Country, [City] = @City, [PostalCode] = @PostalCode, [Institution] = @Institution WHERE [ProgramID] = @ProgramID">
        <DeleteParameters>
            <asp:Parameter Name="ProgramID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="ProgramName" Type="String" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="StartDate" Type="DateTime" />
            <asp:Parameter Name="EndDate" Type="DateTime" />
            <asp:Parameter Name="OnCampusHousing" Type="Boolean" />
            <asp:Parameter Name="HousingType" Type="String" />
            <asp:Parameter Name="CreateDate" Type="DateTime" />
            <asp:Parameter Name="ModDate" Type="DateTime" />
            <asp:Parameter Name="Country" Type="String" />
            <asp:Parameter Name="City" Type="String" />
            <asp:Parameter Name="PostalCode" Type="String" />
            <asp:Parameter Name="Institution" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="ProgramName" Type="String" />
            <asp:Parameter Name="Description" Type="String" />
            <asp:Parameter Name="StartDate" Type="DateTime" />
            <asp:Parameter Name="EndDate" Type="DateTime" />
            <asp:Parameter Name="OnCampusHousing" Type="Boolean" />
            <asp:Parameter Name="HousingType" Type="String" />
            <asp:Parameter Name="CreateDate" Type="DateTime" />
            <asp:Parameter Name="ModDate" Type="DateTime" />
            <asp:Parameter Name="Country" Type="String" />
            <asp:Parameter Name="City" Type="String" />
            <asp:Parameter Name="PostalCode" Type="String" />
            <asp:Parameter Name="Institution" Type="String" />
            <asp:Parameter Name="ProgramID" Type="Int32" />
            <asp:Parameter Name="original_ProgramID" Type="Int32" />
            <asp:Parameter Name="original_ProgramName" Type="String" />
            <asp:Parameter Name="original_Description" Type="String" />
            <asp:Parameter Name="original_StartDate" Type="DateTime" />
            <asp:Parameter Name="original_EndDate" Type="DateTime" />
            <asp:Parameter Name="original_OnCampusHousing" Type="Boolean" />
            <asp:Parameter Name="original_HousingType" Type="String" />
            <asp:Parameter Name="original_CreateDate" Type="DateTime" />
            <asp:Parameter Name="original_ModDate" Type="DateTime" />
            <asp:Parameter Name="original_Country" Type="String" />
            <asp:Parameter Name="original_City" Type="String" />
            <asp:Parameter Name="original_PostalCode" Type="String" />
            <asp:Parameter Name="original_Institution" Type="String" />
        </UpdateParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SessionDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:MIS5050DBConnectionString_General %>"
        SelectCommand="SELECT DISTINCT [HousingType] FROM [SAPrograms] ORDER BY [HousingType]">
    </asp:SqlDataSource>
</asp:Content>
curt
Top achievements
Rank 1
 answered on 17 Nov 2010
3 answers
81 views
I am trying to use the demo code from this page:
http://demos.telerik.com/aspnet-ajax/spell/examples/googlespell/defaultvb.aspx

I have created a new project in VS2010 and added a new item (DefaultVB.aspx).

I then copied the entire aspx code and vb code into the respective files.  I did remove the code not needed:
<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
 
<qsf:HeadTag runat="server" ID="Headtag1"></qsf:HeadTag>
 
<qsf:Header ID="Header1" runat="server" NavigationLanguage="VB"></qsf:Header>
 
<qsf:Footer ID="Footer1" runat="server"></qsf:Footer>

I am getting an error message from VS (and the project won't build).  The error is:
'RadSpell1' is not declared.  It may be inaccessible due to its protection level. on Line 22

This is that code block (which includes the line causing the error:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
        RadSpell1.SpellCheckProviderTypeName = _
       GetType(GoogleSpellCheckProvider).AssemblyQualifiedName
End Sub

Any advice on what I am doing wrong?

Thanks,

LJ
Rumen
Telerik team
 answered on 17 Nov 2010
2 answers
276 views
I'd like to access the word count from RadEditor programmatically; preferably from the server-side. I've searched the Telerik website and saw refernences to "RadEditorStatistics word count", but as far as I could see, this only makes a word count visible to the user. Can someone direct me how to access this count from within the API?

Thanks
jeff bowder
Top achievements
Rank 1
 answered on 17 Nov 2010
0 answers
49 views
Hi,

I am unable to centralize the text in all of my RadNumericTextBoxes found in my RadGrid. Only the text in the first column is centralized. Attached is an image that could help explain what I am referring to. Please, can someone help! Unfortunately, I can't attach a word document.

I dynamically create RadGrid that includes a couple of columns that have RadNumericTextBox. All the columns are templateColumn sand below is some of the code I used.

 I followed hints provided in this link http://www.telerik.com/help/aspnet/grid/grdprogrammaticcreation.html  under

(Creating ItemTemplate/EditItemTemplate of GridTemplateColumn programmatically)


Never mind folks I resolved my issue by critically looking at the code in the above link and making necessary changes.

Jeffrey
Top achievements
Rank 1
 asked on 17 Nov 2010
24 answers
841 views
Where do I download the SharePoint 2010 RadEditor WSP files? I can't find any download link on the download pages nor can I find the WSPs after installing the latest RadControls.

This article describes the installation:

Installing RadEditor & RadGrid Web Parts on SharePoint 2010
http://www.telerik.com/help/aspnet-ajax/installing_radeditor__radgrid_web_parts_on_sharepoint_2010.html
Cyrus
Top achievements
Rank 1
 answered on 17 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?