Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
144 views
Is there any way to change the increment that the previous and next buttons execute?

I would like the timeline view to display perhaps 2 weeks worth of time, but it would be nice to have the prev / next buttons to only shift the view by 1 week.  After looking at the documentation, it wasn't clear if this was possible by default.

Presumably i could just create some javascript to hook into the buttons, and perhaps manually tell the control what view extents to display.

Any easier way?

-RP
Justavian
Top achievements
Rank 1
 answered on 02 Aug 2013
1 answer
63 views
Hello, i had spend a lot of time, and for some reason the UserControl uc:MultiContactSelector
never hits his Page_Load where its data is loaded, it always appear empty.
I have no errors either compiling or runing
The User Control its working properly in other pages without RadWindows and inside UpdatePanels.

Can you give me some hint why it never hit the User Control Page_Load.


<
telerik:RadWindow Title="Event Info" EnableEmbeddedBaseStylesheet="false" EnableTheming="false"
        EnableEmbeddedSkins="false" ID="rwNewEvent" Modal="false" runat="server" Width="780px" Height="440px"
        VisibleStatusbar="false" Behaviors="Close">
        <ContentTemplate>            
            <asp:UpdatePanel ID="upNewEvent" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div class="form m5_rw_form">
                        <uc:FormTextbox ID="txbSubject" Label="Title" runat="server" />
                       <uc:MultiContactSelector runat="server" ID="mcsEventContacts"  />
                    </div>
 
                    <asp:Panel ID="Panel1" CssClass="m5_rw_actions" runat="server">
                        <asp:LinkButton CssClass="btnAction" ID="btnSaveEvent" Text="Save" OnClientClick="return okRadWindowNewEvent();" OnClick="btnSaveEvent_Click" runat="server" />
                        <asp:LinkButton CssClass="btnAction" ID="btnCancel" Text="Cancel" OnClientClick="return cancelRadWindowNewEvent();" runat="server" />
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>
Nuno
Top achievements
Rank 1
 answered on 01 Aug 2013
5 answers
222 views
All I'm looking for is a simple example of dragging and dropping from one list view to another with custom item/select templates I want the selected item template to be different in the destination listview... the telerik demo is a little more than i need to dissect for something that should be simple ... does anyone out there have a SIMPLE example that does not require all of the objects/data sources  etc.
Konstantin Dikov
Telerik team
 answered on 01 Aug 2013
8 answers
538 views
I've read every article available, and have verified that all three .dll versions (2.0, 3.5, and 4.0) are located in the GAC.  However, Telerik.Web.UI is STILL not listed in the Add References list.  This only happened since I uninstalled the trial version and replaced it with the paid-for version.

I even tried adding a registry key, and that didn't help.

Am I missing something?

Kyle
Danail Vasilev
Telerik team
 answered on 01 Aug 2013
1 answer
92 views
Hi,
Aspx:

    <telerik:RadWindow ID="RadWindow1" Skin="ContainerStyle" VisibleStatusbar="false"
        EnableEmbeddedSkins="false" Modal="true" Title="RadWindow Output" Width="800px"
        Height="500px" Behavior="Close" runat="server"  >
    </telerik:RadWindow>
Cs:
  RadWindow1.NavigateUrl = objFileManager.GetVirtualFilePath(objFileManager.GetFile(valTPContractUploadFile.CopiedFileFullPath));
  RadWindow1.VisibleOnPageLoad = true;

I've above code using rad window but it open twice

Ive tried the scenario
 
enable view state false,ReloadOnShow = true,ShowContentDuringLoad = false,RadWindow1.DestroyOnClose = true;
above is working in Firefox not in ie8 that is the pdf not opening

also I tried

        RadWindow radWindow = new RadWindow();
        radWindow.Modal = true;
        radWindow.Title = "RadWindow Output";
        radWindow.NavigateUrl = objFileManager.GetVirtualFilePath(objFileManager.GetFile(valTPContractUploadFile.CopiedFileFullPath));
        radWindow.VisibleStatusbar = false;
        radWindow.Width = Unit.Pixel(800);
        radWindow.Height = Unit.Pixel(500);
        radWindow.Visible = true;
        radWindow.VisibleOnPageLoad = true;
        RadWindowManager1.Windows.Add(radWindow);

it is working in Firefox not in IE . while upload the word file it showing multiple open dialogue

We have Telerik 2008 , Dotnet 3.5 , browser Mozilla 9+  and Ie 6 +
Thanks,
Kannan.


Danail Vasilev
Telerik team
 answered on 01 Aug 2013
4 answers
145 views
Hi,

We have upgraded our Telerik Version to 2013 Q2 (2013.2.611.40) and since then the RadAsyncUpload control does not work in IE9. When i select a file to upload it straight away rejects the file and shows me a red light. We use a custom asynhandler that uploads the file.

The same file works fine in Firefox & Chrome. 

Our markup looks as below 
<telerik:RadAsyncUpload runat="server" id="fileUpload"  Width="100%"
                            HttpHandlerUrl="~/CustomAsyncHandler.ashx"
                            DisablePlugins="True" DisableChunkUpload="True"
                            EnableInlineProgress="true"
                            MultipleFileSelection="Automatic"
                            AllowedFileExtensions="xls,csv,txt,xlsx"                             
                            OnClientValidationFailed="onFileValidationFailed"
                            />


Regards
Rajesh
Venkata Rajesh
Top achievements
Rank 1
 answered on 01 Aug 2013
1 answer
257 views
We have several pages that are rendered in RadWindows from a Parent page.  To speed along keyboard driven entry, we were setting the focus to the first prompt in the RadWindow - but when we do this, it seems that the Parent Screen will always scroll to the top (which is not the behavior we want).  We have moved the focus code from code behind to javascript, but the problem persists.

Is there a recommended way to handle this?  For now we have removed the .focus() calls and the problem has gone away - but we would like to set the focus on load in the RadWindow while holding the scroll position on the parent page.
Danail Vasilev
Telerik team
 answered on 01 Aug 2013
1 answer
115 views
Hi, I am having problem with firing client side ajax for radAsyncControl within RadGrid.(WithGrid.aspx)  I have RadGrid on page and I have radAsyncControl as part of each row on Grid upload. When I select file and fire client side event "OnClientFilesUploaded", I want to fire a Ajax event that will perform task on server side.

If I don't use radgrid and put control on directly on page then this event works fine (WithoutGrid.aspx)

Please find code per page as belows
WithGrid.aspx
    <title></title>
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
 
        <script type="text/javascript">
 
            function OnClientFilesUploaded(sender, args) {
 
                $find('<%=RadAjaxManager1.ClientID %>').ajaxRequest();
 
            }
 
        </script>
 
    </telerik:RadScriptBlock>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <div>
            <table>
                <tr>
                    <td style="width: 100%">
                        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnablePageHeadUpdate="false">
                            <AjaxSettings>
                                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                                    <UpdatedControls>
                                        <telerik:AjaxUpdatedControl ControlID="dgChartList" />
                                    </UpdatedControls>
                                </telerik:AjaxSetting>
                            </AjaxSettings>
                        </telerik:RadAjaxManager>
                        <telerik:RadGrid ID="dgChartList" runat="server" AutoGenerateColumns="False"
                            Skin="Vista" AllowSorting="True" AllowPaging="True" PageSize="5" GridLines="Horizontal" BorderColor="#999999" BorderStyle="Solid" CellSpacing="0" >
                            <ClientSettings EnableRowHoverStyle="true">
                                <Selecting AllowRowSelect="true"></Selecting>
                            </ClientSettings>
                            <MasterTableView>
                                <PagerStyle Mode="NextPrevNumericAndAdvanced" Position="Top" />
                                <Columns>
                                    <telerik:GridBoundColumn DataField="ScheduleDate" HeaderText="Due Date" ItemStyle-Width="80">
                                        <HeaderStyle Font-Bold="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridTemplateColumn HeaderText="Chart Location">
                                        <ItemTemplate>
 
                                            <telerik:RadAsyncUpload ID="AsyncUpload1" Width="100px" runat="server" TemporaryFolder="Files" PostbackTriggers="btnSave"
                                                OnFileUploaded="AsyncUpload1_FileUploaded" Style="float: left;"
                                                OnClientFilesUploaded="OnClientFilesUploaded"
                                                MultipleFileSelection="Automatic">
                                                <Localization Select="Browse" />
                                            </telerik:RadAsyncUpload>
                                        </ItemTemplate>
                                        <HeaderStyle Font-Bold="True" />
                                    </telerik:GridTemplateColumn>
                                </Columns>
                            </MasterTableView>
                            <PagerStyle Mode="NumericPages"></PagerStyle>
                            <GroupHeaderItemStyle CssClass="Grid_Header" Height="20px" HorizontalAlign="Left"
                                VerticalAlign="Middle" />
                            <ClientSettings AllowDragToGroup="true" />
                        </telerik:RadGrid>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
WithGrid.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
         
 
        dgChartList.DataSource = BindGrid();
        dgChartList.DataBind();
    }
}
 
private DataTable BindGrid()
{
    DataTable dataTable = new DataTable();
   
    dataTable.Columns.Add("ScheduleDate", typeof(string));
   
    dataTable.Rows.Add(new object[] { "05/03/1986" });
    dataTable.Rows.Add(new object[] {  "12/12/1966"});
    dataTable.Rows.Add(new object[] { "15/06/1956" });
    dataTable.Rows.Add(new object[] {  "01/04/1979" });
 
    return dataTable;
}
 
public void AsyncUpload1_FileUploaded(object sender, FileUploadedEventArgs e)
{
    string test = "event Called";
 
    string strFileName = e.File.FileName;
}
Plamen
Telerik team
 answered on 01 Aug 2013
0 answers
72 views
Hi ,
I need a bar chart indicating multiple diamond mark in the Horizontal bar as shown in the attached image.
Please help on this.
  
Thanks & Regards!
Srini
Srinivasakumar
Top achievements
Rank 1
 asked on 01 Aug 2013
1 answer
233 views

I put the physical path in Image manager

            <ImageManager 
                ViewPaths="C:\MyData\Temp\images\pub"
                UploadPaths="C:\MyData\Temp\images\pub"
                DeletePaths="C:\MyData\Temp\images\pub" 
                MaxUploadFileSize="512000">
            </ImageManager>

It gave me this error:

'C:\MyData\Temp\images\pub' is not a valid virtual path.



Is there anyway I can use physical path instead of virtual path for image manager. The reason is we have 3 different websites need to access the same DB and image folder.

I am using 2011 Q2.

Darren
Rumen
Telerik team
 answered on 01 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?