Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
230 views
I am using the Rad Pane to display externally loaded pages.  I also have a button outside of this Rad Pane that, when clicked, will display the URL of the page that is currently being viewed in the Rad Pane.  However, this does not work.  Only the first url loaded into the Rad Pane is every returned by the "get_contentUrl()" javascript method of the RadPane.  If the user clicks on a link in the external page and a new page is loaded into the RadPane, the "get_contentUrl()" does not return the new url.  How can I get the current URL of whatever page is loaded in the RadPane?

Thanks,
Matt
Matthew
Top achievements
Rank 1
 answered on 02 Oct 2008
3 answers
147 views
Hi,
I have a Splitter in MasterPage, with FF3 it show well, but, with IE7 it not show the content
That I change must I do?



<%@ Master Language="C#" AutoEventWireup="true" Inherits="Web.WebNavigation" Codebehind="WebNavigation.master.cs" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>
<%@ Register TagPrefix="radT" Namespace="Telerik.WebControls" Assembly="RadTreeView.Net2" %>
<%@ Register TagPrefix="C" TagName="ApplicationName" Src="~/Controls/ApplicationName.ascx" %>
<%@ Register TagPrefix="C" TagName="SelectCompany" Src="~/Controls/SelectCompany.ascx" %>
<%@ Register TagPrefix="YTC" TagName="YearToCurrent" Src="~/Controls/YearToCurrent.ascx" %>
<%@ Register TagPrefix="radS" Namespace="Telerik.WebControls" Assembly="RadSplitter.Net2" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
 <head runat="server">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  <title>
    <%= Page.GetType().ToString().Replace(".","_") %>: <asp:ContentPlaceHolder id="m_cphTitle" runat="server" />
  </title>
  <script type="text/javascript" src="/Documentation/Default.js"></script>
  <script type="text/javascript" src="/Web/scripts/x.js"></script>
 </head>

<body class="mainBody">
<!--
<asp:HyperLink ID="m_hlLogoLink" runat="server"><asp:Image ID="m_imgLogo" BorderWidth="0" runat="server" /></asp:HyperLink>
<C:ApplicationName ID="m_ctlApplicationName" runat="server" />
-->
<form id="m_frmForm" runat="server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
  <tr>
    <td width="278" height="56" valign="top"><img id="Img3" alt="" runat="server" src="~/images/logo_top.gif" width="278" height="56"/></td>
    <td width="100%" class="techSupport">
        <img  alt=""
            src="../App_Themes/Default/onlinechat.gif" border="0"
            onClick="javascript:window.open('http://www.websitealive2.com/720/rrouter.asp?groupid=720&websiteid=63&departmentid=802&dl='+escape(document.location.href),'','width=450,height=400');"
            style="cursor:pointer;vertical-align:middle;"/>
        <asp:Hyperlink ID="m_hlContactSupport" NavigateUrl="~/ContactSupport.aspx" runat="server">Technical Support</asp:Hyperlink>
        &nbsp;|&nbsp;
        <a href="javascript:FMCOpenHelp( '<%= Page.GetType().ToString().Replace(".","_") %>', '', '', '' );"> Documentation</a>
        <!-- USAGE: FMCOpenHelp( ID, SkinName, SearchString, SearchStringValue ); -->
    </td>
  </tr> 
  </table>
  <radS:RadSplitter id="m_rSplitter" runat="server"  width="98%"  ResizeMode="Proportional" Height="100%" Skin="Default">
     <radS:RadPane id="m_navigationPane" runat="server" Width="278px" Height="" MinWidth="278" Scrolling="None" >
                        <!--
                            Left Pane Content
                        -->               
 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="17" align="left" valign="top" id="line_top"><img runat="server" alt=""  src="~/images/spacer_white_12x17.gif" width="12" height="17"/></td>
  </tr>
  <tr>
  <td width="278" id="m_tdNavigation" runat="server" valign="top" style="border-right:1px solid #D9D9D9; background-color: White;">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="2" style="text-align: center; padding: 10px 0px 0px 0px">
            <asp:Image ID="m_imgCompanyLogo" runat="server" />
          </td>
        </tr>
        <tr>
          <td width="12" height="50" valign="top">&nbsp;</td>
          <td width="266" valign="top" class="menuTree" style="padding:10px 0px 0px 15px; border:5px solid #FFFFFF" id="empty_bg1">
            <b class="menuTreeGrn">User:</b>
            <asp:Label ID="m_lblCurrentUser" runat="server" /><br/>
            <b class="menuTreeGrn">Company:</b>
            <asp:Label ID="m_lblCurrentCompany" runat="server" /><br/>
            <C:SelectCompany ID="m_ctlSelectCompany" runat="server" OnSelectedCompanyChanged="m_ctlSelectCompany_SelectedCompanyChanged"/><br />
          </td>
        </tr>
        <tr id="m_trAccountAndDeal" runat="server">
          <td width="12" height="50" valign="top">&nbsp;</td>
          <td width="266" valign="top" class="menuTree" style="padding:10px 0px 0px 15px; border:5px solid #FFFFFF" id="empty_bg">
            <b class="menuTreeGrn">Account:</b>
            <asp:HyperLink ID="m_hlCurrentAccount" runat="server"></asp:HyperLink><br />
            <b class="menuTreeGrn">Deal:</b>
            <asp:HyperLink ID="m_hlCurrentDeal" runat="server"></asp:HyperLink>
          </td>
        </tr>
        <tr>
          <td width="12" valign="top"><img runat="server" alt=" " src="~/images/spacer_white_12x17.gif" width="12" height="17"/></td>
          <td width="266" valign="top" class="menuTree" style="padding: 10px 0px 0px 15px; ">
              <radT:RadTreeView ID="m_rtvNavigation" runat="server" AutoPostBack="false"
                  ContentFile="~/App_Data/NavTree.xml" style="overflow: hidden" Height="100%" />
          </td>
        </tr>
      </table>
      <asp:Image runat="server" ImageUrl="~/Images/spacer.gif" width="278" Height="1" ID="blankImage1"/>
    </td>
  </tr>
  <tr>
     <td width="278" valign="top" style="background-color: White;"><img id="Img1" alt="" runat="server" src="~/images/corner_main_02.gif" width="10" height="10"/></td>
  </tr>
  </table>
  </radS:RadPane>
  <radS:RadSplitBar id="RadSplitbar1" runat="server" CollapseMode="Forward"></radS:RadSplitBar>
     <radS:RadPane id="m_contentPane" runat="server" Height="100%">
       <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td height="17" align="right" valign="top" id="line_top2" style="text-align: right"><img runat="server" alt="" src="~/images/corner_main_01.gif" width="10" height="17"/></td>
  </tr>
  <tr>
    <td valign="top" id="m_tdContent" runat="server" width="100%" style="padding: 20px 30px 0px 30px; background-color: White;">
      <h1><asp:ContentPlaceHolder id="m_cphHeader" runat="server" /></h1>
     
        
            <div style="border: 1px solid red; width:100%; padding:5px;" id="DivErrorConteiner" runat="server" visible="false" >
                <asp:Label ID="m_lblError" visible="true" Font-Bold="true" ForeColor="red" runat="server"></asp:Label>
                <br/>
                <asp:TextBox ID="m_tbErrorUserDescrip" Visible="true" Width="800" runat="server">Please describe what you were doing in CORE when this exception occurred
                </asp:TextBox>
                <asp:Button ID="m_btnErrorUserSend" Visible="true" Text="Send" runat="server"  OnClientClick="__doPostBack('ctl00$m_btnErrorUserSend','')"  OnClick="m_btnErrorUserSend_click" />
            </div>

          <asp:ContentPlaceHolder id="m_cphContent" runat="server" />
    </td>
  </tr>
  <tr>
    <td colspan="2" align="right" valign="top" style="text-align: right; background-color: White;"><img id="Img2" alt="" runat="server" src="~/images/corner_main_03.gif" width="10" height="10"/></td>
  </tr>
</table>
 </radS:RadPane>
  </radS:RadSplitter>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td height="70%" colspan="2" valign="top" class="footerLeft"><a href="http://www.entrancesoftware.com/"><img runat="server" alt="" src="~/images/es_logo.gif" border="0" width="140" height="57" align="absmiddle" style="margin-right:20px"/></a>ADAPTATION.
      AUTOMATION. APPLICATIONS.</td>
    <td width="30%" align="right" valign="middle" class="footer" style=" padding:0px 10px 0px 0px; text-align: right; ">
      <span id="m_spnVersion" style="text-align:right" runat="server" /><br />
      Copyright &copy;
      <YTC:YearToCurrent ID="YearToCurrent" runat="server" StartYear="2006" />
      Entrance Software</td>
  </tr>
  <tr>
    <td height="0" style="height: 19px"></td>
    <td style="height: 19px"><asp:Image runat="server" ImageUrl="~/Images/spacer.gif" width="389" Height="1" ID="Image1"/></td>
    <td style="height: 19px"></td>
  </tr>
</table>

</form>

<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1310000-4";
urchinTracker();
</script>

</body>
</html>

Svetlina Anati
Telerik team
 answered on 02 Oct 2008
2 answers
183 views
I hope someone else has run into a similar issue in hopes that they can help me with a solution.

I have a page with a treeview and required field validators attached to some text boxes within a grid.

When I try to expand a node in teh tree, if I haven't yet satisfied the requirements of the validators of the grid coumn text boxes, then the post back on the node expand is cancelled.

Can anyone think of a work around?


Regards.
towpse
Top achievements
Rank 2
 answered on 02 Oct 2008
2 answers
125 views
any advice/ideas on how to validate the selected value on the radcombo thing?

the required field validator apparently doesn't work...



regards.
towpse
Top achievements
Rank 2
 answered on 02 Oct 2008
24 answers
313 views
Hi All,
 
        I have recently downloaded the trial pack of telerik latest Rad Controls for asp.net ajax exe pack. But when i use them they only support .net 3.5 and errors are thrown when using 2.0 for the same controls. They work fine in a wesite built on .net 3.5  Is there anyway i can use the latest pack available with telerik work with .net 2.0 please help.

Thanks,
Sandeep
FERNANDO
Top achievements
Rank 1
 answered on 02 Oct 2008
2 answers
116 views
My Question is two fold.

1) I was hoping that the RadEditor upload feature would be using the RadUpload tool so that we can have a progress bar on all uploads... Is there an easy way to implement this?

2) What is the easiest way to increase "maxUploadSize" ... I know how to set it in the RadEditor, but I don't know how to set it for sitewide uploads.  I tried

<system.web> 
        <httpRuntime maxRequestLength="52428800" /> 
 But then I get

Parser Error Message: The value for the property 'maxRequestLength' is not valid. The error is: The value must be inside the range 0-2097151.

Source Error:

Line 24:  </appSettings>
Line 25: 	<system.web>
Line 26: <httpRuntime maxRequestLength="52428800" />Line 27: 		<authentication mode="Forms">
Line 28: 			<forms loginUrl="Login.aspx" cookieless="UseCookies"/>

Which is no good.

Any help would be appreciated.
George
Telerik team
 answered on 02 Oct 2008
6 answers
163 views
How would I save the RadDockLayout when a RadDock has been resized?
I have it saving when the position changes but I can't seem to get it to save when a dock is resized.
Todd
Top achievements
Rank 1
 answered on 02 Oct 2008
1 answer
109 views
I am currently running editor 7.3.2 which I upgraded to from 6.5.2. I have a problem of applying styles to the editor area. My 6.5.2 version puts a class in the body tag of "RadEContentBordered" within the html area when it renders to the page. This was useful as I use a shared style sheet between front and backend. In the new version the body tag has no class which makes styling difficult. The way I styled the old version was to have #content li, .RadEContentBordered li {} etc...

Have I changed something or is it possible to easily put the class back in. I have lots of editors across my admin area so a central change would be appreciated.
Rumen
Telerik team
 answered on 02 Oct 2008
2 answers
77 views
I need to disable the design mode in the Editor v7.3.3. Is there any way to do it?

Thanks

Tiago Gerevini
Tiago
Top achievements
Rank 1
 answered on 02 Oct 2008
4 answers
103 views
Hi,

I had problem with <SelectedItemStyle BackColor="Blue" /> in radGrid with Skin=Office2007. The line is half blue and half orange like Office.

Ty for help.
Jack
Top achievements
Rank 1
 answered on 02 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?