Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
79 views
I am working on a CMS that tracks changes and I am having difficulty with the Radeditor returning consistent values. If I load the edit page that has the Content Property databound, and submit the form without changing anything, the returned content value is different. It seems to return the properties of a and img tags in different order than the one it was sent thus telling the system there was a change to the page when there wasn't one.

Anyone know how to fix this issue?
Rumen
Telerik team
 answered on 03 Nov 2010
1 answer
97 views
Hi,

I've this javascript:

function radwin_close(radWin) {

var objArg;
objArg = radWin.Argument;
document.getElementById("<%= txtPath.ClientID %>").value = objArg.Path
}

I'm calling this function on RadWindowManager: OnClientClose="radwin_close". I'm putting this as a user control, if I have 2 same user controls (1.ascx, 2.ascx) in the same page, in runtime, the page will generate 2 same function radwin_close(radWin). so how can i differentiate when i open radwindow from 1.ascx, it will call the 1.ascx javascript function?

Regards.
Georgi Tunev
Telerik team
 answered on 03 Nov 2010
1 answer
116 views

Well it could just be me not knowing when and how the ItemUpdated is fired but I’m really puzzled.


I have some simple custom objects set to the RadListView data source in NeedDataSource
In the EditTemplate I have an update command having the CommandName set to ‘Update’ when pressed it fires the ItemUpdating event but the ItemUpdated never fires?


My Edit, Delete and Insert events all fires as I expect.


Best Søren

Pavlina
Telerik team
 answered on 03 Nov 2010
2 answers
140 views
Is there a limit to the number of functioning tabs on a tab strip in the trial version? I am trying to build a prototype using 3 tabs on a tab strip.  I have not purchased the full developer license yet.  The first and second tabs are functioning perfectly, but the 3rd tab will not work.  Please see code below.

<telerik:RadAjaxPanel ID="TabContainer" runat="server" height="200px" 
                width="980px" BorderStyle="None" BorderWidth="0px">
    <div  id="DivTabs" style="position:relative;">
    <telerik:RadAjaxPanel ID="Bar4" runat="server" Height="32px" Width="987px" 
            BorderColor="White" BorderStyle="Solid" BorderWidth="2px"  
            style="z-index: 6000; position:relative; top: 0px; left: 5px;" 
            BackColor="#C3D9FF" >
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server"   
            MultiPageID="RadMultiPage1" Skin="Outlook" SelectedIndex="2" 
            ReorderTabsOnSelect="True" BackColor="#C3D9FF" 
            BorderColor="#ADC9F7" BorderStyle="Solid" BorderWidth="0px" Height="25px" 
            Width="900px" 
            style="z-index: 6001; left: 10px; top: 6px; position: absolute">  
            <Tabs>  
                <telerik:RadTab runat="server" PageViewID="PageView1" Text="Daily" Selected="True">
                </telerik:RadTab>  
                <telerik:RadTab runat="server" PageViewID="PageView2" Text="Weekly">  
                </telerik:RadTab>  
                <telerik:RadTab runat="server" PageViewID="PageView3" Text="ToDo's">  
                </telerik:RadTab>  
            </Tabs>  
        </telerik:RadTabStrip>  
         </telerik:RadAjaxPanel>
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"   
            Style="z-index: 5000; border: 0px solid #ADC9F7; margin-top: -65px;margin-left: 0; position: absolute;" Height="200" >  
            <telerik:RadPageView ID="PageView1" runat="server"><iframe id="MainFrame" runat="server" frameborder="0" height="2000" 
                    name="Events" scrolling="no" src="events.aspx" width="990"></iframe></telerik:RadPageView>  
            <telerik:RadPageView ID="PageView2" runat="server"><iframe id="WeekTab" runat="server" frameborder="0" height="2000" name="Events" 
                    scrolling="no" src="eventsweek.aspx" width="990"></iframe></telerik:RadPageView>  
            <telerik:RadPageView ID="Page3View" runat="server"><iframe id="ToDoTab" runat="server" frameborder="0" height="2000" 
                    name="Reminders" scrolling="no" src="events.aspx" width="988"></iframe></telerik:RadPageView>  
        </telerik:RadMultiPage>  
         
    </div
    </telerik:RadAjaxPanel>

 

 

 

 

jeff cox
Top achievements
Rank 1
 answered on 03 Nov 2010
1 answer
221 views

I'm trying to use formatted RadToolTips in a RadScheduler.  I've implmented tooltips like those shown in the Examples (http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultvb.aspx), but this approach is apparently limited to working with the properties of the appointment, and I need to work with columns from a database.

You can see an example of what I'm doing by:
1. Go to: http://comsimplicity.com/WLAC/ScheduleOfClasses.aspx
2. Select the first three checkboxes in the far right "PLANNER" column of the grid
3. Click on the "2 MyPlanner" tab, top center of page
4. This will open the MyPlanner page.  This has
   - a RadScheduler
   - a "Time: TBA" list to the right of the RadScheduler
5. Hover your mouse over the "ACCTG 002" item in the "Time: TBA" list
6. Hover over the "ACCTG 001" appointment in the RadScheduler, note the lack of formatting.

What we want is for the RadScheduler tooltips to look like the "Time: TBA" tooltips.

Can you can suggest an approach to this, or better yet, point me to an example of how this might be done?

(One thing we don't absolutely need is the AJAX which I got from the Example page.)

Svetlina Anati
Telerik team
 answered on 03 Nov 2010
1 answer
149 views
Hi
I want to add a RadGrid GridBoundColumn FilterDelay property value in web.config file so that by default it is applicable for all radgrids available in my project. please suggest what should i add for this in web.config file and how i can retrieve these values or bind with my radgrid?
Iana Tsolova
Telerik team
 answered on 03 Nov 2010
8 answers
391 views
Hi

I have a site map datasource and a RadMenu with security trimming enabled, Now I want to use multiple columns, how can I do this?

I also need direction, when using a datasource, I have a top level node in a table, with child nodes, I'm trying to display the top nodes (no problem) and the child nodes in a multi column - this is where I'm also having trouble.


Andy
Veronica
Telerik team
 answered on 03 Nov 2010
7 answers
443 views
Hello Sir,

I am using Scheduler control. i wnat to find Click Event Of Day, Week, Month Tab Of Scheduler Control.
How can i achive. Please help me.

Thanks
Chandan
Peter
Telerik team
 answered on 03 Nov 2010
12 answers
289 views
Hi,

I have two pages. Details and orderdetails. In Details page i have radwindow with window manager. I am opening orderdetails page using iframe in details page. See code below.

<telerik:RadWindowManager ID="RadWinManager" runat="server" OnClientDragStart="WindowDragStart"
    OnClientResize="WindowDragStart" OnClientResizeStart="WindowDragStart" OnClientResizeEnd="WindowDragStart">
    <Windows>
        <telerik:RadWindow ID="DetailRadWind" runat="server" ShowContentDuringLoad="false"
            BackColor="Green" Behaviors="Default" Animation="FlyIn" Skin="Forest">
            <contenttemplate>
                            <div>
                                <iframe frameborder="0" style="width: 100%; height: 100%; border-style: none; border-width: 0px"
                                    id="ifrmRadWin" runat="server"></iframe>
                            </div>
                        </contenttemplate>
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
ScriptManager.RegisterClientScriptBlock(this.up, this.GetType(), "strSearSiteName", "document.getElementById('ctl00_PagePlaceholder_DetailRadWind_C_ifrmRadWin').src='OrdDet.aspx'", true);
                LinkButton lnkSiteName = (LinkButton)rw.FindControl("lnkSiteName");
                string Title = "Order Details : " + lnkSiteName.Text;
                ScriptManager.RegisterClientScriptBlock(this.up, this.GetType(), "BlkRejection", "OpenSiteWindow('" + Title + "')", true);
function OpenSiteWindow(Title) {
    var WinTitle = Title;
    var oWnd = GetRadWindowManager().GetWindowByName("DetailRadWind");
    oWnd.set_width(810);
    oWnd.set_height(580);
    oWnd.set_title(WinTitle);
    var radwind = window.radopen("", "DetailRadWind");
 
}

once i clikc the button in details page radwindow will open and displays the data in orderdetails page. And i have another radwindow in orderdetails page.(this window is in orderdetails page). once the popup comes up i have reject button in it. and if i click the reject button anthoer window will open. Now the problem is How to open the window that is orderdetails page. i tried to do it on visibleonpageload = true. but its loading on every pageload. How to open this window using javascript.

Here is orderdetails Page

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="smOrddet" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="upOrdTsk" runat="server">
        <ContentTemplate>
            <div>
                Some HTML Code HERE</div>
            <telerik:RadWindow ID="RadWinReject" runat="server" Height="340px" Width="515px"
                Title="Bulk Task Completion" Behaviors="Default" CustomCSS="CSS/CustomStyle.css"
                ShowContentDuringLoad="false" BackColor="Green" Animation="FlyIn" Skin="Forest">
                <contenttemplate>
                    <asp:UpdatePanel ID="uprej" runat="server" OnUnload="Registerpanel5">
                        <ContentTemplate>
                        <div>Some HTML HERE</div>
                          </ContentTemplate>
                    </asp:UpdatePanel>
                </contenttemplate>
            </telerik:RadWindow>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
Georgi Tunev
Telerik team
 answered on 03 Nov 2010
4 answers
134 views
I'm sure this is simple but I'm missing something and I can't figure out what. I'm just trying to get my function to respond when I click on a button within a ajax panel. Here is my aspx.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="admin_Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
         
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" HorizontalAlign="NotSet">
             
            Please select a file:
            <asp:FileUpload ID="FileUpload1" runat="server" /><br />
             
            <asp:Button ID="upload" Text="Upload" runat="server" /><br />
            <asp:Label ID="output" runat="server"></asp:Label>
             
    </telerik:RadAjaxPanel>
 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Transparency="10" BackgroundPosition="Center">
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.LoadingProgressBar.gif") %>'
            style="border: 0px;" />
        </telerik:RadAjaxLoadingPanel>
    </div>
    </form>
</body>
</html>


And here is my vb. What am I missing
Partial Class admin_Default
    Inherits System.Web.UI.Page
 
    Protected Sub upload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles upload.Click
        Response.Write("test")
 
        If (FileUpload1.HasFile) Then
 
            Try
                Dim name As String = FileUpload1.FileName.ToString
                Dim ext As String = System.IO.Path.GetExtension(FileUpload1.FileName)
 
                If (ext = ".csv") Then
 
                    FileUpload1.SaveAs(Server.MapPath("~/admin/temp/" & name))
 
                Else
 
                    output.Text = "<span style='color: red;'>Invalid file type. File must be CSV.</span>"
 
                End If 'if ext = .csv
 
 
            Catch ex As Exception
                Response.Write(ex.ToString)
            End Try 'fileupload.hasfile
 
        Else
 
            output.Text = ("<span style='color: red;'>Please make sure you have selected a file and the size is greater than 0 bytes.</span>")
 
        End If 'fileupload.hasfile
 
    End Sub
End Class

Sebastian
Telerik team
 answered on 03 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?