Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
155 views
Hi,

Description: Some of our webpages having "AutoRefresh" option, as per our requirement we have implemented radWindow Popups when clicking a specified column on the grid.Problem: Whenever webpage refreshing, with that web page our called radWindow popup is also closing.
Either we should stop refreshing parent page until popup is in active (or) even parent page refreshing, but still want to display popup page.

help me either of the ways

Details (Way of implementation):

1. Parent Page AutoRefresh:  Response.AddHeader("Refresh", rsi.dispatchesRefresh.ToString());
2. Code for RadWindow open : <a  class="HyperlinkValue" href='Javascript: AddAction("<%# DataBinder.Eval(Container.DataItem, "RequestNumber") %>....</a>function AddAction(requestNumber) {
---
---
var oWnd1 = window.radopen('ActionCreate.aspx?para=' + strData, 'List');
                oWnd1.setSize(800, 490); //set as per req
                oWnd1.set_modal(true);
                oWnd1.set_behaviors(4 + 32);
}


Thanks in Advance

Regards,
Venu


karunakar
Top achievements
Rank 1
 asked on 27 Jun 2014
6 answers
358 views
I'm having a problem with the Advanced Edit/Insert Templates. The problem is that they are not showing up when I double-click a time slot. Here is the Scheduler setup I'm using:
<telerik:RadScheduler ID="rsTasks" runat="server" DayEndTime="23:59:59" EnableRecurrenceSupport="False" 
        Width="1024px" WorkDayEndTime="23:59:59" StartInsertingInAdvancedForm="True"> 
        <Localization AdvancedAllDayEvent="All day" /> 
        <AdvancedForm DateFormat="dd/MM/yyyy" Modal="True" TimeFormat="h:mm tt" /> 
        <TimelineView UserSelectable="False" /> 
        <AdvancedEditTemplate> 
            <div class="row"> 
                <span class="label">Description:</span> 
                <telerik:RadTextBox ID="txtDescription" runat="server" Text='<%#Bind("Subject") %>' 
                    MaxLength="100" Width="280px"> 
                </telerik:RadTextBox> 
            </div> 
            <div class="row"> 
                <span class="label">Date/Time:</span> 
                <telerik:RadDateTimePicker ID="dtpDateToPurchase" runat="server" SelectedDate='<%# Bind("Start") %>'> 
                    <Calendar ShowOtherMonthsDays="False" ShowRowHeaders="False" UseColumnHeadersAsSelectors="False" 
                        UseRowHeadersAsSelectors="False" ViewSelectorText="x"> 
                    </Calendar> 
                    <TimeView CellSpacing="-1" Culture="English (Canada)" Interval="00:30:00" StartTime="08:00:00" 
                        EndTime="23:59:59" Columns="4"> 
                    </TimeView> 
                    <TimePopupButton HoverImageUrl="" ImageUrl="" /> 
                    <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                </telerik:RadDateTimePicker> 
            </div> 
            <div class="row"> 
                <span class="label">Property:</span> 
                <telerik:RadComboBox ID="ddlProperty" runat="server" Width="280px"> 
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </telerik:RadComboBox> 
            </div> 
            <div class="row"> 
                <span class="label">Assigned To:</span> 
                <telerik:RadComboBox ID="ddlBuyer" runat="server" Width="280px" AllowCustomText="true" 
                    Filter="Contains" ShowDropDownOnTextboxClick="true" ShowToggleImage="false"> 
                </telerik:RadComboBox> 
            </div> 
            <div class="row"> 
                <span class="label">Staus:</span> 
                <telerik:RadComboBox ID="ddlStatus" runat="server"> 
                    <Items> 
                        <telerik:RadComboBoxItem Text="Not Completed" Value="0" /> 
                        <telerik:RadComboBoxItem Text="Completed" Value="1" /> 
                    </Items> 
                </telerik:RadComboBox> 
            </div> 
            <div class="button-row"> 
                <asp:LinkButton ID="btnSave" runat="server" Text="Save" CommandName="Update" /> 
                <asp:LinkButton ID="btnCancel" runat="server" Text="Save" CommandName="Cancel" CausesValidation="false" /> 
            </div> 
        </AdvancedEditTemplate> 
        <AdvancedInsertTemplate> 
            <div class="row"> 
                <span class="label">Description:</span> 
                <telerik:RadTextBox ID="txtDescription" runat="server" MaxLength="100" Width="280px" 
                    Text='<%# Bind("Subject") %>'> 
                </telerik:RadTextBox> 
            </div> 
            <div class="row"> 
                <span class="label">Date/Time:</span> 
                <telerik:RadDateTimePicker ID="dtpDateToPurchase" runat="server" SelectedDate='<%# Bind("Start") %>'> 
                    <Calendar ShowOtherMonthsDays="False" ShowRowHeaders="False" UseColumnHeadersAsSelectors="False" 
                        UseRowHeadersAsSelectors="False" ViewSelectorText="x"> 
                    </Calendar> 
                    <TimeView CellSpacing="-1" Culture="English (Canada)" Interval="00:30:00" StartTime="08:00:00" 
                        EndTime="23:59:59" Columns="4"> 
                    </TimeView> 
                    <TimePopupButton HoverImageUrl="" ImageUrl="" /> 
                    <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                </telerik:RadDateTimePicker> 
            </div> 
            <div class="row"> 
                <span class="label">Property:</span> 
                <telerik:RadComboBox ID="ddlProperty" runat="server" Width="280px"> 
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </telerik:RadComboBox> 
            </div> 
            <div class="row"> 
                <span class="label">Assigned To:</span> 
                <telerik:RadComboBox ID="ddlBuyer" runat="server" Width="280px" AllowCustomText="true" 
                    Filter="Contains" ShowDropDownOnTextboxClick="true" ShowToggleImage="false"> 
                </telerik:RadComboBox> 
            </div> 
            <div class="row"> 
                <span class="label">Status:</span> 
                <telerik:RadComboBox ID="ddlStatus" runat="server"> 
                    <Items> 
                        <telerik:RadComboBoxItem Text="Not Completed" Value="0" /> 
                        <telerik:RadComboBoxItem Text="Completed" Value="1" /> 
                    </Items> 
                </telerik:RadComboBox> 
            </div> 
            <div class="button-row"> 
                <asp:LinkButton ID="btnSave" runat="server" Text="Save" CommandName="Insert" /> 
                <asp:LinkButton ID="btnCancel" runat="server" Text="Save" CommandName="Cancel" CausesValidation="false" /> 
            </div> 
        </AdvancedInsertTemplate> 
    </telerik:RadScheduler> 

I have no idea why it doesn't display my advanced forms. I'm using the latest version of the controls 2.826. If you could tell me if I'm doing something wrong or if I have to do something else in order for them to show up.

Thanks.
Mehmet
Top achievements
Rank 1
 answered on 27 Jun 2014
5 answers
260 views
Hi,

See the attached screenshot for an example of the issue.
We have observed that this occurs in Chrome and Safari on the Mac and Chrome on Windows.
IE and Firefox (Windows and Mac) appear to be OK.

I thought this might be related to the use of Resize="Vertical" that we implemented recently, but that doesn't seem to be the case.

Any suggestions?

Thanks in advance.

Jim
Nick McConnell
Top achievements
Rank 1
 answered on 27 Jun 2014
1 answer
73 views
Hi, Here is my code:

<telerik:GridHyperLinkColumn DataTextField="ID" HeaderText="ID" DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/Send.aspx?qn={0}" />
clicking on ID in the grid is actually giving me a popup to call in Iphone. it works fine in desktop and Android.
Konstantin Dikov
Telerik team
 answered on 26 Jun 2014
1 answer
65 views
Hi, Here is my code:

<telerik:GridHyperLinkColumn DataTextField="ID" HeaderText="ID" DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/Send.aspx?qn={0}" />
clicking on ID in the grid is actually giving me a popup to call in Iphone. it works fine in desktop and Android.

Could please lemme know how to supress this.
Konstantin Dikov
Telerik team
 answered on 26 Jun 2014
3 answers
91 views
Hi, Here is my code:

<telerik:GridHyperLinkColumn DataTextField="ID" HeaderText="ID" DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/Send.aspx?qn={0}" />
clicking on ID in the grid is actually giving me a popup to call in Iphone. it works fine in desktop and Android.

Could please lemme know how to supress this.
Konstantin Dikov
Telerik team
 answered on 26 Jun 2014
2 answers
393 views
Hi,

I have two RadAsyncUpload on a page.  How can I set different width for each control.  I would like to have a result like the attachment (Replace and Add Version).

To customize the control, I modify the control using css:
.ruBrowse
{
  background-position: 0 -46px !important;
  width: 117px !important;
}
 
.RadAsyncUpload
{
    height: 25px !important;
}
 
.RadUpload {
    text-align: left;
    width: 117px;
}

But I don't know how I can set style individually.

I'm using the version 2013.3.1217.40.

Thank you and have a nice day!

Steeve
Steeve
Top achievements
Rank 1
 answered on 26 Jun 2014
2 answers
457 views
I'm using the RadScheduler and using a SqlDataSource.
In the page load I'm assigning the basic data to the Scheduler via the RadScheduler1.DataStartField = "r_fieldname" construct.
I'm having difficulty finding where to assign data values to the custom attributes.
In my particular case, I have a fieldname "r_location" that will correspond to the custom attribute "Location".
Where do I assign the value of r_location to Location ?
Mike Bolton
Top achievements
Rank 2
 answered on 26 Jun 2014
1 answer
166 views
When I select a file for uploading in RadFileExplorer with an extension that is not allowed I get the message:
===========
The size of the uploaded file exceeds max size allowed
The extension of the uploaded file is not valid. Please, provide a valid file!
===========
The size does not exceed the max size allowed.

Also when I select a file with an allowed extension and a size that does exceeds the max size I also get this double message.
Why do I receive both messages and can this be more accurate?

Paul
Vessy
Telerik team
 answered on 26 Jun 2014
1 answer
168 views
01.protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
02.        {
03.              
04.            e.Appointment.ToolTip = e.Appointment.Subject + ": " + e.Appointment.Description;
05. 
06.            if (e.Appointment.Attributes["JobStatusID"] == COMMON.Enumerations.JobStatusEnum.BOOKING.ToString())
07.            {
08.                e.Appointment.AllowDelete = true;
09.            }
10.            else if (e.Appointment.Attributes["JobStatusID"] != COMMON.Enumerations.JobStatusEnum.COMPLETED.ToString() || e.Appointment.Attributes["JobStatusID"] != COMMON.Enumerations.JobStatusEnum.CANCELLEDBYADMINISTRATOR.ToString() || e.Appointment.Attributes["JobStatusID"] != COMMON.Enumerations.JobStatusEnum.CANCELLEDBYMOBILE.ToString() || e.Appointment.Attributes["JobStatusID"] != COMMON.Enumerations.JobStatusEnum.CLOSED.ToString())
11.            {
12.                string colorValue = COMMON.Enumerations.GetJobStatusColor((COMMON.Enumerations.JobStatusEnum)int.Parse(e.Appointment.Attributes["JobStatusID"]));
13.                e.Appointment.BackColor = Color.FromName(colorValue);
14.                e.Appointment.AllowDelete = false;
15.                e.Appointment.AllowEdit = false;
16.                //e.Appointment.Attributes.CssStyle.Add("rsAptDelete ", "display:none !important;");
17.            }
18.            else
19.            {
20.                string colorValue = COMMON.Enumerations.GetJobStatusColor((COMMON.Enumerations.JobStatusEnum)int.Parse(e.Appointment.Attributes["JobStatusID"]));
21.                e.Appointment.BackColor = Color.FromName(colorValue);
22.                e.Appointment.AllowDelete = false;
23.                e.Appointment.AllowEdit = true;
24.                //e.Appointment.Attributes.CssStyle.Add("rsAptDelete ", "display:none !important;");
25.            }
26.        }

Hi, the above is my code and Allow Delete & Allow Edit are not working certainly. Does anybody have an idea ?
thank you

Boyan Dimitrov
Telerik team
 answered on 26 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?