Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
110 views
I have an issue with RadWindow in IE9. I have one aspx page with one Iframe. There are some office docs and pdf docs in that iframe. I have some RadWindows on its master page. Now when Radwindow comes on top of the Iframe then the lower border of Radwindow is overlapped by the inner content of RadWindow. This issue comes with the Browser IE9 only. It is working fine with IE7 and IE8.

I am using version v4.0.30319 (2010.3.1317.40).
Please find attached image for batter understanding.

Following code is used to show RadWindow:
html:
<telerik:RadWindow runat="server" ID="rdWMy_Account" Overlay="true"  Behaviors="Close" Title="test"
                ReloadOnShow="true">
 </telerik:RadWindow>

JS:
            var oWnd = $find("<%= rdWMy_Account.ClientID %>");
            oWnd.show();
            oWnd.setSize(600, 444);
            oWnd.setUrl("<%=Request.ApplicationPath %>"+ '/GlobalSec/My_Account.aspx');
            //oWnd.setUrl('../GlobalSec/My_Account.aspx');
            oWnd.center();
Marin Bratanov
Telerik team
 answered on 11 Oct 2011
5 answers
227 views
Hello Support

Through various telerik references provided by you. I am able to create the pop-up as per the requirements. Thanks
Only one issue is that, I want to remove the border. I have remove the title bar. But still thick border is coming.

function AlertCust() {
    var wnd = radopen("../Alerts.aspx?", "Window1");
    wnd.set_modal(false);

    var oManager = GetRadWindowManager();
    var oWindow = oManager.GetWindowByName("Window1");

    oWindow.set_visibleTitlebar(false);
    oWindow.setSize(500, 150);
    oWindow.moveTo(20, 320);


Since I have generated the pop-up using javascript hence I have to do something from here itself so that border is invisible.

Thanks
Asif
Marin Bratanov
Telerik team
 answered on 11 Oct 2011
1 answer
59 views
Hi,

    I am using rad grid. In grid i want to display few textboxes for each row.. I have placed those text boxes in edit item template..
I dont use grid's row update event for saving the changes done to the row immediately.. Instead i will change whatever needed and will fire the button click event for saving all the changes made to the grid. I couldnt fetch the modified values of text boxes.. Can you provide me a sample

Thx
Nirmal.
Shinu
Top achievements
Rank 2
 answered on 11 Oct 2011
1 answer
61 views

I need the ability to capture the PDF Doc from a radScheduler export. I don’t want to render it to the screen. Instead I would like to get the stream and do other things with it.

 

I made an assumption that the Scheduler would work like the grid but at this time I cannot find a way to capture the Stream.

 

Any Ideas?



Thanks
Peter
Telerik team
 answered on 11 Oct 2011
1 answer
49 views
I've been using the RadSplitter a lot to organize my page layouts and have been doing lots of nesting with them. I've run into a sitatuion where the content of a RadSplitter's pane does not show unless the RadSplitter VisibleDuringInit property is set to True? Even then the layout initially displays as crammed in the top left and if I resize the browser then it correctly fills the page?

My Page is organized like this:

<RadSplitter1>
<RadPane> Tabstrip</RadPane>

<RadPane>

<RadMultipage>
<RadPageView>
<RadSplitter2><RadPane>
Content doesn't show up unless VisibleDuringInit=True
</RadPane></RadSplitter2>
</RadPageView>
</RadMultipage>

</RadPane>
</RadSplitter1>


Thanks, JM
Dobromir
Telerik team
 answered on 11 Oct 2011
2 answers
90 views
While attempting to use the RadRotator, built upon one of telerik's examples, the data seems to be read fine from the database, however when attempting to display the RadRotator just freezes displaying on partilal data. Here is my code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="OCSNews.aspx.vb" Inherits="NewsFeed_OCSNews" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title>News Ticker</title>
</head>
<script runat="server">
    Protected Function GetDayOfWeek(dateTimeString As String) As String
        Dim result As DateTime = DateTime.Parse(dateTimeString)
        Dim dayOfWeek As String = [Enum].GetName(GetType(DayOfWeek), result.DayOfWeek)
        Return dayOfWeek
    End Function
    Protected Function GetTimeOnly(dateValue As String) As String
        Return System.DateTime.Parse(dateValue).ToString("hh:mm tt")
    End Function
    Protected Function GetDateOnly(dateValue As String) As String
        Return System.DateTime.Parse(CDate(dateValue)).ToString("ddd, MMM d, yyyy")
    End Function
 
</script>
<body>
    <form id="frmDefault" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <table id="tblNews" runat="server">
        <tr>
            <td>
                <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="InfoUpdatePanel">
                    <AjaxSettings>
                        <telerik:AjaxSetting AjaxControlID="rotSchoolNews">
                            <UpdatedControls>
                                <telerik:AjaxUpdatedControl ControlID="panSchoolNews" />
                            </UpdatedControls>
                        </telerik:AjaxSetting>
                    </AjaxSettings>
                </telerik:RadAjaxManager>
                <telerik:RadAjaxLoadingPanel ID="InfoUpdatePanel" runat="server" Transparency="30"
                    BackColor="#E0E0E0">
                    <asp:Image ID="imgLoading" runat="server" ImageUrl="~/Images/sm_loading.gif" Width="60px"
                        Style="border: 0px;" AlternateText="Loading..." ToolTip="Loading..." />
                </telerik:RadAjaxLoadingPanel>
                <div id="panSchoolNews" runat="server">
                    <a href='<%# Eval("Event_DTG").ToString() %>' style="cursor: pointer; text-decoration: none;
                        color: Black; background-image: url('images/Monday.png');"></a>
                    <div>
                        <div class="backElement">
                            <br />
                            <telerik:RadRotator ID="rotSchoolNews" ScrollDirection="Up" ScrollDuration="2000"
                                runat="server" Width="493px" ItemWidth="493px" Height="344px" ItemHeight="64px"
                                FrameDuration="1" InitialItemIndex="-1" CssClass="rotator" DataSourceID="SqlNews">
                                <ItemTemplate>
                                    <div class="itemTemplate" onclick="javascript:popwindowfull('NewsFeed/OCSNews.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"Event_ID") %>')"
                                        style="background-image: url('images/<%# Me.GetDayOfWeek(Eval("Event_DTG").ToString()) %>.png');">
                                        <div class="dateTime">
                                            <div class="time">
                                                <%# (Me.GetTimeOnly(DataBinder.Eval(Container.DataItem, "Event_DTG")))%>
                                            </div>
                                            <div class="date">
                                                <%# (Me.GetDateOnly(DataBinder.Eval(Container.DataItem, "Event_DTG")))%>
                                            </div>
                                        </div>
                                        <div class="title">
                                            <span>
                                                <%# System.Web.HttpUtility.HtmlEncode(DataBinder.Eval(Container.DataItem, "Event_Headline").ToString())%>
                                            </span>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </telerik:RadRotator>
                        </div>
                        <asp:SqlDataSource ID="SqlNews" runat="server" ConnectionString="<%$ ConnectionStrings:OglethorpeConnectionString %>"
                            SelectCommand="SELECT Event_ID, Event_DTG, Event_Headline, Event_Text, Event_Group, Event_Location FROM OCS_Event WHERE (Event_EffectiveDate <= getdate()) AND (Event_DTG >= getdate()) ORDER BY Event_DTG">
                        </asp:SqlDataSource>
                    </div>
                </div>
 
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
I can't seem to figure out what's going on. Can anyone please help? Thanks
P.S. I have attached a screen shot to help visualize the isssue.
Slav
Telerik team
 answered on 11 Oct 2011
1 answer
142 views
I'm currently using a RadTreeList control and I want to enable this control by a function in Javascript, how can i do that?
Another way to solve my problem is, how can i select a specified row from a radtreelistview searching by the ID control.
Radoslav
Telerik team
 answered on 11 Oct 2011
1 answer
47 views
I am using the RadGrid default skin and when rendering in IE7, I am not getting the alternating row styles or the hover row style. Please see the attached image.
Pavlina
Telerik team
 answered on 11 Oct 2011
3 answers
118 views
Hello ,
    
    I have a problem that when export grid data to word ,word column width problem 

Refer attachment 
Nithin
Top achievements
Rank 1
 answered on 11 Oct 2011
1 answer
99 views
I'm currently trying to get an iFrame to dynamically load pages based upon menu click. I've tried various methods but none want to work. Ideally, though, I'd prefer to have them loaded into a Panel if possible.

My code at the minute looks like this (obviously it's not complete as I'm only testing things):

protected void RadMenu1_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
 {
     RadMenuItem item = e.Item as RadMenuItem;
 
     switch (item.Text)
     {
         case "Banners": Panel1.Attributes.Add("src", "~/Banners.aspx");
             break;
         case "Categories":
             break;
         case "Countries and Counties":
             break;
         case "Facilities":
             break;
         case "Links Manager":
             break;
         case "Login Security Questions":
             break;
         case "Regions":
             break;
         case "Vouchers":
             break;
         case "User Accounts":
             break;
     }
 }

And here's the markup:

<telerik:RadAjaxPanel runat="server" ID="AjaxPanel" HorizontalAlign="NotSet">
        <table align="center" border="0px" cellpadding="0px" cellspacing="0px">
            <tr>
                <td>
                    <telerik:RadMenu ID="RadMenu1" runat="server" Skin="Forest" Width="950px" Style="top: 0px;
                        left: 0px" OnItemClick="RadMenu1_ItemClick">
                        <Items>
                            <telerik:RadMenuItem runat="server" Owner="RadMenu1" Text="User Accounts" CssClass="left">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem runat="server" Owner="RadMenu1" Text="System Setup" CssClass="left">
                                <Items>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Banners" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Categories" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Countries and Counties" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Facilities" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Links Manager" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Login Security Questions" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Regions" CssClass="left">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" Owner="" Text="Vouchers" CssClass="left">
                                    </telerik:RadMenuItem>
                                </Items>
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenu>
                </td>
            </tr>
        </table>
        <div>
            <asp:LoginName ID="LoginName1" runat="server" />
            <asp:LoginStatus ID="LoginStatus1" runat="server" />
        </div>
        <div class="center_panel">
            <iframe id="Panel1" width="100%" runat="server"></iframe>
        </div>
    </telerik:RadAjaxPanel>
    <telerik:RadAjaxManager runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadMenu1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadMenu1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
Peter
Telerik team
 answered on 11 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?