Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
83 views
Hi,
please bee good with me on this one, I'm sure the solution is stupid, but it is driving me crazy !
The problem is:
I have a Page with a RadWindowManager which contains a single RadWindow which contains ContentTemplate with some controls inside. In the same page I have a simple Link that triggers a javascript function that opens the window and triggers an ajaxrequest.

In the code behind of the page i get the ajaxrequest and I "should" do something on the controls inside the RadWindow.
The problem is that the RadWindow opens correctly, the ajaxrequest event gets raised correctly, but nothing happens on the controls inside the window !

Here is the code:
test.aspx
 
<%@ Page Title="" Language="VB" MasterPageFile="~/Resources/PAI_MasterPage.master" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_Body" Runat="Server">
<script language="javascript">
    function MyOpen() {
        
        var oWM = $find("<%=MyWM.ClientID%>");
        var oWin = oWM.open(null, 'W_PaiToolPackItem');
        var ajaxManager = $find("<%= M.ClientID %>");
        ajaxManager.ajaxRequest("IdCustomer");
    }
</script>
<telerik:RadAjaxManager runat="server" ID="M">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="B">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="P" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
<a href="javascript:MyOpen();">Open</a>
 
<telerik:RadWindowManager runat="server" ID="MyWM" Enabled="True">
<Windows>
    <telerik:RadWindow runat="server" ID="W_PaiToolPackItem">
        <ContentTemplate>
 
                <asp:Button runat="server" ID="B" Text="Bottone" />
             
                <asp:Panel runat="server" ID="P">
                 
                    <asp:Label runat="server" ID="L"></asp:Label>
                     
                </asp:Panel>
                 
        </ContentTemplate>
     
    </telerik:RadWindow>
</Windows>
 
</telerik:RadWindowManager>
 
</asp:Content>


here is the code behind:
test.aspx.vb
Partial Class test
    Inherits System.Web.UI.Page
 
 
    Protected Sub M_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles M.AjaxRequest
        L.Text = "Ajax Load"
 
    End Sub
 
End Class

The action to perform is stupid, but it does not happen !
If I click onto the button (and a postback starts) the Label loads !

Please help

Thank you

Lorenzo

Lorenzo
Top achievements
Rank 1
 answered on 19 Nov 2010
1 answer
40 views
I have added the panel bar control and pre-populated it with some sample menus. I keep having problems (VS2005) with the control when I debug the application. I have chosen a Windows 7 skin for the control but for some reason it doesn't apply correctly because it cannot find the images to apply? Instead I keep getting an "downloading picture" message which never completes.
I have attached a screenshot of the control and message that keeps appearing in IE8.
Does anybody know how I can fix this?
Peter
Telerik team
 answered on 19 Nov 2010
1 answer
87 views
Hie everyone,

I have a project with different permissions. I would like to disable contextmenu on a certain folder based on the permissions. I have tried using OnClientItemSelected to no avail. Any assistance will be greatly appreciated.

Regards,
Claude
Fiko
Telerik team
 answered on 19 Nov 2010
1 answer
84 views

i have done this and got the id but how to get the values pertaining to this id

string id = item.GetDataKeyValue("AgeGroup").ToString();

Nikolay Rusev
Telerik team
 answered on 19 Nov 2010
1 answer
163 views
Hi guys

i'm currently evaluating the full featured radeditor for moss 2007.

However i can't find a list of all configuration-options for the ConfigFile.xml.

What i've found is the old (pre ajax) reference under http://www.telerik.com/help/aspnet/editor/usingtheconfigfilexml.html

But it seems, some changes have been done. As example: for the Flash Manager i should set the "AllowSpecialTags"-property to "true". The property "AllowSpecialTags" is completely missing the reference above. So is there a list of the configuration options for the radeditor moss (ajax edition)?

Thank you very much.

Carlos
Stanimir
Telerik team
 answered on 19 Nov 2010
1 answer
84 views

Dear Forum,

We are having issues with the RadGrid only under very specific circumstances. When we activate the "static headers", "scrolling", and "client column resize" the browser launches a JS exception. We are able to reproduce the problem from scratch on a new page. When we try the same code on Goggle Chrome, it doesn't occur.
The exception is always thrown when we invoke the TableView.resizeColumn() method.
I will appreciate any tip you could give us.

Thanks

ASP.NET version:                                     3.5 SP1  

OS:                                                             Windows XP SP3

Browser version:                                     IE 8.0.6001.18702

Telerik Product:                                        RadControls for ASP.NET AJAX Q2 2010 SP2  

Preferred programming language:        C#


Webpage error details
  
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 4.0.20506; .NET CLR 2.0.50727)
Timestamp: Mon, 15 Nov 2010 23:17:35 UTC
  
  
Message: Invalid argument.
Line: 3557
Char: 81
Code: 0
URI: http://localhost/test/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.929.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a15a8cff0-9e51-4282-a100-c2dcd204ecf2%3a16e4e7cd%3a58366029%3ab7778d6c%3ae085fe68%3af7645509%3a24ee1bba%3a1e771326%3aaa288e2d%3ae330518b%3ac8618e41%3ae4f8f289

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadGridResizeTest.aspx.cs" Inherits="Pacer.PLS.BackOffice.Web.UI.RadGridResizeTest" %>
<%@ 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></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
  
        <script type="text/javascript">
            function GridCreated(sender) {
                var masterTableView = sender.get_masterTableView();
                masterTableView.resizeColumn(0, 100);
            }    
        </script>
  
    </telerik:RadCodeBlock>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadGrid ID="rgdResizeTest3" runat="server" AllowSorting="True" Skin="Default" EnableEmbeddedSkins="True" PagerStyle-AlwaysVisible="true" AllowFilteringByColumn="True" DataSourceID="SqlDataSource1" GridLines="None">
        <mastertableview allowpaging="True" pagesize="10" commanditemdisplay="None" allowmulticolumnsorting="true" editmode="InPlace" allowfilteringbycolumn="True" datasourceid="SqlDataSource1">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <EditFormSettings>
                <EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif" CancelImageUrl="Cancel.gif">
                </EditColumn>
            </EditFormSettings>
            <PagerStyle AlwaysVisible="True"></PagerStyle>
            <CommandItemTemplate>
            </CommandItemTemplate>
            <Columns>
            </Columns>
        </mastertableview>
        <clientsettings enablerowhoverstyle="true">
            <ClientEvents OnGridCreated="GridCreated"></ClientEvents>
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling>
            <Resizing AllowColumnResize="True" ResizeGridOnColumnResize="False" ClipCellContentOnResize="True" EnableRealTimeResize="False" />
        </clientsettings>
        <pagerstyle position="Bottom" />
    </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT [ProductName], [UnitPrice], [UnitsInStock], [UnitsOnOrder], [QuantityPerUnit], [ReorderLevel], [Discontinued] FROM [Products]"></asp:SqlDataSource>
    </form>
</body>
</html>
Tsvetina
Telerik team
 answered on 19 Nov 2010
11 answers
130 views
Hi,

When using a standard button I am noticing that a lot of the time the right side of the button appears before the page finishes loading and well before the rest of the button finishes loading.  I'm noticing this on IE8 and haven't tested on any other browsers.  

Let me know if you want a screenshot...

Cheers,
Jon
Bozhidar
Telerik team
 answered on 19 Nov 2010
1 answer
74 views
Hi,

I'm wanting to use some context based code on a RadDock drag handle but when I hookup my javascript to the right click/oncontextmenu that works great but the dock fires off the OnClientDockPositionChanged event. Can anyone help me in removing the handler from the right mouse button/oncontextmenu so the dock does not fire off the extra events.

Thanks.
Pero
Telerik team
 answered on 19 Nov 2010
2 answers
70 views
Hi,
I'm using the RAD Editor as content management tool in ASP.NET. Now I want to remove some unwanted formatting comes from MSWord when copying a Table created in Word. Is there any way to remove the specific attributes or retaining only width or height attributes only. if you have provide some samples.

Regards,
Elangovan P
Elangovan
Top achievements
Rank 1
 answered on 19 Nov 2010
5 answers
485 views
I've tried "http://demos.telerik.com/aspnet-ajax/controls/examples/integration/aspajaxchartapplication/defaultcs.aspx?product=chart",
but I have noticed a blink/flickers. how to eliminate the blink
/flickers.
Phil
Top achievements
Rank 2
 answered on 19 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?