Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
110 views
Hi

We have a radwindow that is used to display a variety of reports

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleStatusbar="false"
        ReloadOnShow="true" RestrictionZoneID="MainArea">
        <Windows
            <telerik:RadWindow ID="ReportWindow1" runat="server" KeepInScreenBounds="True" Modal="True"                
                Behaviors="Close,Maximize" Height="800px" Width="1000px"
                ShowContentDuringLoad="True"  Title=""  EnableEmbeddedSkins="False" DestroyOnClose="False">
            </telerik:RadWindow>              
        </Windows>
    </telerik:RadWindowManager>

The issue is that if you close the window when it had one report open and reopen it with a new report, the previous title is displayed until the page loads.

This happens even if destroyonclose is set to true (for some reason it also ignores the sizeing when you open it the second time as well when destroyoclose is tue)

Why does it do this?

Cheers

Marin Bratanov
Telerik team
 answered on 22 Jul 2011
6 answers
150 views
Hi, during debugging with VS 2008 (Q2 2008 build 723) we remarked the following behavior:

On the first request to the page, we have the page load event called, and then a series of TimeSlotCreated event raised.  Then if we cause a refresh of the scheduler using ajax  (we click on the day or week button on the ajaxified scheduler) , we notice that the TimeSlotCreated event are fired before the page load event, and then again after the page load event, which  caused us problems.

We noticed this after upgrading from the future build  (708) to the release sp2 build (723).  In the future build, the TimeSlotCreated  event is always raised after the page load event.

We can fix our problem, but i'd like to know why the behavior is different (set of TimeSlotCreated  raised twice in the latest build)

Thanks
Plamen
Telerik team
 answered on 22 Jul 2011
10 answers
509 views
hi,

I have a button. On click of the button (server side) i am displaying a rad window(modal). What should i do to display the rad window in the 'top-left corner' of the browser instead of center.

Regards,
Shashank V

Marin Bratanov
Telerik team
 answered on 22 Jul 2011
7 answers
2.2K+ views
I am using RadControl AJAX, I want to open a radwindow from code behind after some functions are handled, I try to use registerStartupScript as below:
string newWindowUrl = "Popups/Default1.aspx?WindowArgs=" + windowArgs;
           string javaScript =
            "<script type='text/javascript'>\n" +
            "<!--\n" +
            "var newwindow =  window.radopen('" + newWindowUrl + "' +',' + 'RadWindow1');\n" +
            "newwindow.focus();\n" +
             "// -->\n" +
            "</script>\n";
           Page.ClientScript.RegisterStartupScript(t, "Email", javaScript);
           
and my aspx page is:
<telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false" EnableViewState="true"
      ReloadOnShow="true" runat="server" Skin="Default" EnableShadow="false" >
      <Windows>
          <telerik:RadWindow ID="RadWindow1" VisibleTitlebar="false" runat="server" Behaviors="Close, Move, Resize" AutoSize="true" NavigateUrl="~/Popups/Default1.aspx">
          </telerik:RadWindow>
      </Windows>
  </telerik:RadWindowManager>

But it doesn't work. Any suggestions?

Thanks in advance!
Marin Bratanov
Telerik team
 answered on 22 Jul 2011
1 answer
77 views

Hello,
At run time, my Rascheduler displays a blank header (please see attachment) (on Windows 7). I'm using Telerik version 2011.2.712.40 with VisualStudio 2010. In the designer, the header is shown as expected.
Does anyone have this problem? Thanks.

Below is my simple aspx file.

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

 

<!

 

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>

 

 

<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

<Scripts>

 

<%

--Needed for JavaScript IntelliSense in VS2010--%>

 

<%

--For VS2008 replace RadScriptManager with ScriptManager--%>

 

 

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />

 

 

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />

 

 

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />

 

 

</Scripts>

 

 

</telerik:RadScriptManager>

 

 

<script type="text/javascript">

 

 

//Put your JavaScript code here.

 

 

</script>

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

</telerik:RadAjaxManager>

 

 

<div>

 

 

 

<telerik:RadScheduler ID="MainScheduler" runat="server" Culture="English (Australia)"

 

 

DayEndTime="20:00:00" DayStartTime="09:00:00" FirstDayOfWeek="Monday" Height="515px"

 

 

MinutesPerRow="15" NumberOfHoveredRows="1" Skin="Vista" TimeLabelRowSpan="4"

 

 

OverflowBehavior="Expand" DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End">

 

 

</telerik:RadScheduler>

 

 

 

</div>

 

 

</form>

 

</

 

body>

 

</

 

html>

 




Plamen
Telerik team
 answered on 22 Jul 2011
1 answer
208 views
Is there back/forward navigation like in a webbrowser.  For example in the demo of Radwindow I can open up Google in a radwindow and do a search.  If I click on a link how do I go back to the search results.

I could save the NavigateUrl property and reload that page when the user clicks a back button.  I was just hoping it was built in.

Thanks,
Corey
Marin Bratanov
Telerik team
 answered on 22 Jul 2011
2 answers
473 views
HI,

I have one radButton, when i click it i must open a link in a new blank page.
i see the property "target" on radButton but it does not work

Slav
Telerik team
 answered on 22 Jul 2011
2 answers
437 views
Hello,

    I have a Radgrid in my web application . When I edit a row in the Radgrid, I want to call a javascript function (which will get the geocodes ) from the update button. I know we can add the attributes if the button is on the form. But that is not the case now.

I am accessing that update button in the itemDatabound event like this

  Dim editItem As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
   Dim updateButton As ImageButton = DirectCast(editItem.FindControl("UpdateButton"), ImageButton)

Appreciate the Help
Thanks
Jagat
Top achievements
Rank 1
 answered on 22 Jul 2011
1 answer
119 views
Hello All,

I have created a tree dynamically. CreateTreeView() is called in createchildcontorls and I am populating the tree in PreRender.
When I click on any tree node, the page just postbacks but NodeClick event is not firing. \

private void CreateTreeView()
{
treeViewPane.ID = "TreeViewPane";
treeViewPane.Width = new Unit("150px");
treeView = new RadTreeView();
treeView.Nodes.Clear();
treeView.NodeClick += new RadTreeViewEventHandler(treeView_NodeClick);
treeViewPane.Controls.Add(treeView);
}

Could someone please help me.

Regards
Rajeev
Plamen
Telerik team
 answered on 22 Jul 2011
3 answers
83 views
HI I HAVE A RADDATECOLUMN ON MY GRID.I BIND IT WITH EF QUERY.BUT GRIDDATE COLUM CANT FILTERED IT CORRECTLY COLLACITON IS TURKISH_CI_AS
<telerik:RadGrid ID="grdSales" runat="server" AutoGenerateColumns="False" GridLines="None"
                    Height="350px" AllowPaging="True" EnableEmbeddedSkins="False"
                    Skin="customGrid" AllowFilteringByColumn="True">
                    <GroupingSettings CaseSensitive="False" />
                    <ClientSettings>
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                    <MasterTableView NoMasterRecordsText=""  AllowFilteringByColumn="True">
                        <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                        <RowIndicatorColumn>
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn>
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridDateTimeColumn AutoPostBackOnFilter="True" DataField="SALESDATE" SortExpression="SALESDATE"
                                DataFormatString="{0:dd/MM/yyyy}" UniqueName="SALESDATE" PickerType="None">
                            </telerik:GridDateTimeColumn>
                        </Columns>
                        <EditFormSettings>
                            <EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif"
                                CancelImageUrl="Cancel.gif">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <FilterMenu EnableEmbeddedSkins="False">
                    </FilterMenu>
                    <HeaderContextMenu EnableImageSprites="True" CssClass="GridContextMenu GridContextMenu_Default">
                    </HeaderContextMenu>
                </telerik:RadGrid>
Teoman
Top achievements
Rank 1
 answered on 22 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?