Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
175 views
Hi,

when we try to let a link in an image map open in a new window, this setting won't save. Links in image maps always open in the same window (RadE 4.5.3.0).

Is this a known bug? Any fix for that?

Regards,

Robert
Sebastien
Top achievements
Rank 1
 answered on 08 Nov 2011
1 answer
91 views
using:

<HeaderStyle VerticalAlign="Bottom" Wrap="True" BackColor="Blue" />

the back color will not change.

 

<telerik:RadGrid AutoGenerateColumns="false" ID="grdPendingClaims" AllowSorting="True"
    GridLines="Both" OnSortCommand="grdPendingClaims_SortCommand" OnNeedDataSource="grdPendingClaims_NeedDataSource"
    Height="200px" Width="9in" runat="server" CellSpacing="0">
    <HeaderStyle VerticalAlign="Bottom" Wrap="True" BackColor="Blue" />
     <ClientSettings>
        <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="True" >
        </Scrolling>
    </ClientSettings>
    <ItemStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="25px" />
    <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true" />
    <MasterTableView TableLayout="Auto" Width="100%" AllowNaturalSort="false" GridLines="Both" >
        <Columns>
            <telerik:GridBoundColumn HeaderText="Status" DataField="CurrentStatus" UniqueName="CurrentStatus"
                SortExpression="CurrentStatus"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">     
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="ClaimID" DataField="ClaimID" UniqueName="ClaimID"
                SortExpression="ClaimID" Visible="False" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Claim Number" DataField="ClaimNumber" UniqueName="ClaimNumber"
                SortExpression="ClaimNumber"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="MemberID" DataField="MemberID" UniqueName="MemberID"
                SortExpression="MemberID" Visible="False"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Member Name" DataField="Member Name" UniqueName="Member Name"
                SortExpression="Member Name" ItemStyle-Wrap="False"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
                <ItemStyle Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Start Date" DataField="BeginDate" UniqueName="BeginDate"
                SortExpression="BeginDate" DataType="System.DateTime"
                ItemStyle-Wrap="False" DataFormatString="{0:MM/dd/yyyy}" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
                <ItemStyle Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="End Date" DataField="EndDate" UniqueName="EndDate"
                SortExpression="EndDate" DataType="System.DateTime"
                ItemStyle-Wrap="False" DataFormatString="{0:MM/dd/yyyy}" ShowSortIcon="False"
                ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
                <ItemStyle Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Units" DataField="Units" UniqueName="Units"
                SortExpression="Units"
                DataType="System.Int32" DataFormatString="{0:###,##0}"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
                <ItemStyle HorizontalAlign="Right" Wrap="False" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Division" DataField="Division" UniqueName="Division"
                SortExpression="Division"
                ShowSortIcon="False" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="False">
                <ItemStyle HorizontalAlign="Center" Wrap="False" />
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Pavlina
Telerik team
 answered on 08 Nov 2011
19 answers
712 views
For some reason the onitemsrequested event is no longer firing when I use Q1 2010 for .net 4.  This code worked perfectly well in previous versions


<telerik:RadComboBox ID="RadComboBoxCountry" runat="server"  
                        EnableItemCaching="True" EnableLoadOnDemand="True" 
                        onitemsrequested="RadComboBoxCountry_ItemsRequested" Width="250px" 
                        Skin="Vista">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadComboBox>  



protected void RadComboBoxCountry_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
        {
            PopulateCountries(e.Text);
        }
 
        private void PopulateCountries(string e)
        {
            List<Country> lst = new List<Country>();
 
            lst = timeZoneManager.FilterCountries(e);
            this.RadComboBoxCountry.Items.Clear();
            if (lst.Count > 0)
            {
                foreach (Country c in lst)
                {
                    this.RadComboBoxCountry.Items.Add(new Telerik.Web.UI.RadComboBoxItem(c.CountryName, c.CountryName));
                }
 
            }
        }


has anything changed that I need to be aware of ?
Vivek
Top achievements
Rank 1
 answered on 08 Nov 2011
1 answer
178 views
We're using RadCompression in our project and I've run into a small snag.  On one of our pages, we download a Zip file to the client.  We're using pretty standard code to download the file (similar to the following:  link), but the resulting file on the client is always coming up as corrupted.  I've verified that the source file on the server is good. 

After digging around a little, I tried disabling the EnablePostbackCompression setting in the web.config.  Now, the downloads are just fine.  So, is there a way to turn this setting off for a specific postback?  Or is there a better way to have both postback compression and the ability to download zip files?  Any help is appreciated!

Dave
Martin
Telerik team
 answered on 08 Nov 2011
0 answers
69 views
In my grid I have 2 column, first is clientselectColumn and second is a template column in which i hae a raddatepicker. This grid is in a dialog window. When I click OK button in my window I must validate that all row whith clientselectcolumn checked must have a date selected. How I can do this ?
ericc34
Top achievements
Rank 1
 asked on 08 Nov 2011
1 answer
79 views
Hello,
I create runtime some RadTooltip in order to zoom the selected image. If this image (the target one) has an alt text, in the tooltip I see the alt text instead of the zoommed image. If the target image has no alt text, all works fine. The code I use is this one:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
            Try
                If Not Page.IsPostBack Then
 
                    Dim lController As New ZoomTooltipImmagini.ZoomTooltipImmagini_Controller
                    Dim lParametri As List(Of ZoomTooltipImmagini_Info)
                     lParametri = lController.GetParametri(PortalId, ModuleId)
                     'Estraggo il controlid e lo uso per aggiungere il controllo al tooltipmanager
                    For Each lParametro In lParametri
                        Dim lTooltip As New RadToolTip
                        lTooltip.ID = "RadToolTip_" + lParametro.ControlID
                        lTooltip.TargetControlID = lParametro.ControlID
                        lTooltip.IsClientID = True
                        lTooltip.Width = lParametro.Width
                        lTooltip.Height = lParametro.Height
                        lTooltip.ShowDelay = 100
                        lTooltip.AutoCloseDelay = 10000
                        lTooltip.RelativeTo = ToolTipRelativeDisplay.Element
                        lTooltip.Animation = ToolTipAnimation.None
                        lTooltip.Position = ToolTipPosition.BottomCenter
                        lTooltip.ContentScrolling = ToolTipScrolling.None
                        lTooltip.ShowCallout = True
 
                        Dim lImage As New System.Web.UI.WebControls.Image
                        lImage.ImageUrl = PortalSettings.HomeDirectory + lParametro.PercorsoImmagineEspansa
 
                        lImage.Width = lParametro.Width
                        lImage.Height = lParametro.Height
 
                        lImage.Style.Add("text-align", "center")
                        lImage.Style.Add("vertical-align", "middle")
                        lTooltip.Controls.Add(lImage)
 
                        Me.Controls.Add(lTooltip)
 
                    Next
 
 
                End If
 
            Catch exc As Exception        'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
 
        End Sub

Any Ideas?

Thanks
Mario
Top achievements
Rank 1
 answered on 08 Nov 2011
9 answers
212 views
Is there a way to get the RadRotator to scroll/rotate a single item? I want to display a dynamic list of items, and i have noticed that if there is only one item, it does not scroll, it stays at the top. How do I get it to sroll that one item?
Slav
Telerik team
 answered on 08 Nov 2011
3 answers
306 views
I want to change text Check All, Item selected when check select check box? Please support for me.
Irene Alpen
Top achievements
Rank 1
 answered on 08 Nov 2011
1 answer
415 views
Hi all,
        I am using a rad chart (type="Line") where x axis values are adding dynamically which is working smoothly. Now I need to add y axis values also in the same manner. I know minimum and maximum values of y axis but the major tick values binding on it should be specific. For instance: minimum Value=0 and Maximum Value=10. Now I want to display only major ticks like 0,2,5,9 & 10 in the y axis; and also distance between these values should be proportionate. Is it possible ? Any help would be highly appreciated
Thanks in advance
Shafi
Peshito
Telerik team
 answered on 08 Nov 2011
6 answers
192 views
Greetings,

I have been trying to follow the steps of this demo to save the content of my Editor in my database.
http://demos.telerik.com/aspnet-ajax/editor/examples/saveindatabase/defaultcs.aspx
But it is not working unfortunately

<form id="form1" runat="server">
<div>
<input type="hidden" name="EditedNews" runat="server" id="EditedNews" />
    <telerik:RadEditor ID="NewsEditor" runat="server">
    </telerik:RadEditor>
</div>
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
<asp:SqlDataSource ID="SqlDataSourceRadEditor" runat="server"
    ConflictDetection="OverwriteChanges"
    ConnectionString="<%$ ConnectionStrings:IntranetConnectionString %>"
    DeleteCommand="DELETE FROM [rendezvous] WHERE [idRDV] = @idRDV"
    InsertCommand="INSERT INTO [rendezvous] ([rapport]) VALUES (@rapport) WHERE idRDV = @idRDV "
    SelectCommand="SELECT [idRDV], [rapport] FROM [rendezvous]"
    UpdateCommand="UPDATE [rendezvous] SET [rapport] = @rapport WHERE [idRDV] = @idRDV">
    <DeleteParameters>
        <asp:Parameter Name="idRDV" Type="Int32" />
        <asp:Parameter Name="rapport" Type="String" />
    </DeleteParameters>
    <InsertParameters>
        <asp:Parameter Name="rapport" Type="String" />
    </InsertParameters>
    <UpdateParameters>
        <asp:QueryStringParameter Name="idRDV" QueryStringField="idRDV" Type="Int32" />
        <asp:Parameter Name="rapport" Type="String" />
    </UpdateParameters>
</asp:SqlDataSource>
</form>

protected void Button1_Click(object sender, EventArgs e)
{
    if (EditedNews.Value == string.Empty)
    {
       
        SqlDataSourceRadEditor.UpdateParameters.Add("NewsText", NewsEditor.Content);
        SqlDataSourceRadEditor.Update();
    }
 
     
}


PS: the RadEditor control is within a RadWindow and i pass an ID from a RadGrid to the window, that's why i have a
<asp:QueryStringParameter Name="idRDV" QueryStringField="idRDV" Type="Int32" />

To get back the ID.
The Command i try to do is the update.

Thanks in advance for your help
Adigard
Top achievements
Rank 1
 answered on 08 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?