Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
89 views
2009.2.720.35  VS2008 SP1, XP x32, IE8.
It renders fine in IE8 compatibility mode.
In regular IE8 mode, the top 3 window does not render.

 
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="_Default" %> 
<%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"> 
    <title></title> 
    <style type="text/css"> 
        #RadDockZone1 {    
            padding:2px !important;    
        }   
    </style> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <asp:scriptmanager id="ScriptManager" runat="server" /> 
 
    <telerik:raddocklayout runat="server" id="RadDockLayout1" 
            onsavedocklayout="RadDockLayout1_SaveDockLayout" 
            onloaddocklayout="RadDockLayout1_LoadDockLayout"> 
            <telerik:raddockzone runat="server" id="RadDockZone1" width="300" MinHeight="500" style="float:left;margin-right:15px;background: #f5f4e8;"> 
                <telerik:RadDock ID="raddock1" Resizable="true" runat="server" Text="My Links" CollapseText="My Links" > 
                <ContentTemplate> 
                <iframe width="250px" scrolling="no" height="200px" src="http://www.telerik.com"></iframe> 
                </ContentTemplate> 
                </telerik:RadDock> 
                <telerik:RadDock ID="raddock4" Resizable="true" runat="server" Text="My Links" CollapseText="My Links" > 
                <ContentTemplate> 
                <iframe width="250px" scrolling="no" height="200px" src="http://www.telerik.com"></iframe> 
                </ContentTemplate> 
                </telerik:RadDock>               
            </telerik:raddockzone> 
             
            <telerik:raddockzone runat="server" id="RadDockZone2" width="300" MinHeight="500" style="background: #d5f0fa;float:left;"> 
                <telerik:RadDock ID="RadDock2" Resizable="true" runat="server" Text="My Links" CollapseText="My Links" > 
                <ContentTemplate> 
                <iframe width="250px" scrolling="no" height="200px" src="http://www.telerik.com"></iframe> 
                </ContentTemplate> 
                </telerik:RadDock>           
            </telerik:raddockzone> 
 
            <telerik:raddockzone runat="server" id="RadDockZone4" width="300" MinHeight="500" style="background: #d5f0fa;float:left;">   
            </telerik:raddockzone>           
             
            <telerik:raddockzone runat="server" id="RadDockZone3" width="1200" MinHeight="500" style="background: #d5f0fa;float:none;"> 
                <telerik:RadDock ID="RadDock3" Resizable="true" runat="server" Text="My Links" CollapseText="My Links" > 
                <ContentTemplate> 
                <iframe width="100%"  height="300px" src="http://www.telerik.com"></iframe> 
                </ContentTemplate> 
                </telerik:RadDock>               
            </telerik:raddockzone>   
                     
            <div style="display:none"> 
                Hidden UpdatePanel, which is used to receive the new dock controls.  
                We will move them with script to the desired initial dock zone. 
                <asp:updatepanel runat="server" id="UpdatePanel1"> 
                    <triggers> 
                         
                    </triggers> 
                </asp:updatepanel> 
            </div> 
        </telerik:raddocklayout> 
    </form> 
</body> 
</html> 
 

Jim
Top achievements
Rank 1
 answered on 24 Jul 2009
5 answers
136 views
Hello All,

I have implemented a radgrid programmatically.
This means that the control itslef is present on the page, but I build the Grid reports dynamically in the code behind.
I've also implemented an ability to drill down on  specific report row data, by adding imagecolumn and linking it to a javascript that calls another report with parameters.
Now I want my users to have the ability to go back to the previous report (pre drill down) by clicking the browser back button. As my report utilize Ajax, this is not straightforward.
I'm trying to understand how to use the UpdateHistroy NikHill control recommended by Telerik, but with out luck. The example provided with this control is very simple and not resembling my situation.
Can anyone help with this matter?

Regards,
Tzach

Nikolay Rusev
Telerik team
 answered on 24 Jul 2009
1 answer
83 views
Hi all,
I am practicing with rad Control, and I had a problem in the "Client-side programming" Chapter
Detail:
<body>
    <script type = "text/javascript">
        function myFunction()
       {    
             var ajaxManager = <%=RadAjaxManager1.ClientID%>;      <--- problem is right here
            ajaxManager.ajaxRequest();
       }
    </script>
    ......
</body>

And I got a problem:
"Control 'RadAjaxManager1SU' of type 'UpdatePanel' must be placed inside a form tag with runat=server."

I followed the instruction in RadAjaxCourseWare.pdf
Please give me some advises!

Thanks!
Huy TRAN
Sebastian
Telerik team
 answered on 24 Jul 2009
4 answers
377 views
Hey again, im having problems alligning rows and headers in the radgrid. I have tried following what other people have done to fix this but nothing seems to change the outcome. I did have the horizontal scroll bar appearing but i got rid of that expecting the alignment to fix.

I am using Static headers, and i am running this in IE (as it will be mainly used in IE), it is contained in a table and it has its layout set as "fixed".

Image:
http://x-volt.com/pics/telerik-error.PNG

Here is the code:

<table class="TableOuter" id="Table1" style="table-layout:fixed" cellspacing="0" cellpadding="0" border="0">
<colgroup>
<col class="display" />
<col class="display" />
</colgroup>
<tr>
<td valign="top" align="left" style="width:100%;">
<telerik:RadTabStrip ID="TC" runat="server" Skin="Web20" MultiPageID="MP" SelectedIndex="0" Width="100%" CSSClass="tabStrip" meta:resourcekey="TCResource1" CausesValidation="False">
<Tabs>
<telerik:RadTab Text="Chart" meta:resourcekey="RadTabResource1" />
<telerik:RadTab Text="Data" meta:resourcekey="RadTabResource2" />
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="MP" runat="server" CssClass="tabMultiPage" meta:resourcekey="MPResource1" SelectedIndex="0" >
<telerik:RadPageView ID="T1" runat="server" height="518px" width="97%" Selected="True" meta:resourcekey="T1Resource1">
<div style="text-align:center">
<asp:label id="lblNoGraphData" runat="server" cssclass="Warning" Text="There is no data to view for these dates." meta:resourcekey="lblNoGraphDataResource1" />
</div>
<c1webchart:c1webchart id="WebChart" runat="server" imagetransfermethod="File" Height="500px" Width="675px" meta:resourcekey="WebChartResource1">
</c1webchart:c1webchart>
</telerik:RadPageView>
<telerik:RadPageView ID="T2" runat="server" height="518px" width="100%" meta:resourcekey="T2Resource1" >
<asp:label id="lblNoData" runat="server" cssclass="DataGridInfoText" Text="There is no data to view for these dates." meta:resourcekey="lblNoDataResource1" />

<!- -----------------------TELERIK GRID START----------------------- -->
<telerik:RadGrid runat="server" Skin="Office2007" ID="uxTelerikGrid" Width="100%" style="overflow:hidden" AutoGenerateColumns="true" EnableViewState="false" AllowPaging="false" ShowStatusBar="true" ShowFooter="False" HeaderStyle-Width="70px" Height="100%" HeaderStyle-Wrap="false">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" />
</ClientSettings>
<ExportSettings IgnorePaging="True" OpenInNewWindow="True" ExportOnlyData="true">
<Pdf AllowCopy="True" AllowModify="True" Author="999" Keywords="None" PageBottomMargin="15mm" PageLeftMargin="15mm"  PageRightMargin="15mm" PageTopMargin="15mm" PageTitle="Contract Analysis Graph" Subject="Contract Analysis Graph" Title="Contract Analysis Graph" PaperSize="A4" PageHeight="297mm" PageWidth="210mm" />
</ExportSettings>
<MasterTableView CommandItemDisplay="Bottom" Width="97%">
<CommandItemStyle Height="10px" />
<CommandItemTemplate>
<div style="padding:3px 0px">
<asp:LinkButton ID="uxExportCSV" runat="server" CausesValidation="False" CommandName="ExportToCsv" meta:resourcekey="uxExportCSVResource">
<img style="border: 0px; vertical-align:middle" alt="Export as CSV" title="Export as CSV" src="Images/Export_CSV.png" />
</asp:LinkButton>
<asp:LinkButton ID="uxExportXLS" runat="server" CausesValidation="False" CommandName="ExportToExcel" meta:resourcekey="uxExportXLSResource">
<img style="border: 0px; vertical-align:middle" alt="Export as Excel" title="Export as Excel" src="Images/Export_XLS.jpg" />
</asp:LinkButton>
<asp:LinkButton ID="uxExportPDF" runat="server" CausesValidation="False" CommandName="ExportToPdf" meta:resourcekey="uxExportPDFResource">
<img style="border: 0px; vertical-align:middle" alt="Export as PDF" title="Export as PDF" src="Images/Export_PDF_16.gif" />
</asp:LinkButton>
</div>
</CommandItemTemplate>
</MasterTableView>
</telerik:RadGrid>
</telerik:RadPageView>
</telerik:RadMultiPage>
</td>
</tr>


Any help would be great!


Dimo
Telerik team
 answered on 24 Jul 2009
2 answers
168 views
Hi,

I have a RAD grid with template columns, with in template columns i have two numeric textbox. On Client side i have to give input to one numeric textbox and set some calculation in another numeric textbox..
Pls help me as soon as possible. 
Nirmal
Top achievements
Rank 1
 answered on 24 Jul 2009
2 answers
151 views
I'd like to use a RadMenu in a Repeater with the NavigateUrl properties set from fields in the current record, but I don't seem to be able to find a way of making it work - any help much appreciated.

John

(irrelevant code removed - there are other fields displayed withing the <td>)

 
<table>   
     <tr>   
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="FeatureSource">   
            <ItemTemplate>   
                <td>   
                                <telerik:RadMenu ID="RadMenu1" runat="server">   
                                    <Items>   
                                        <telerik:RadMenuItem runat="server" Text="map" NavigateUrl='<%#Eval("FeatureMapUrl")%>'>   
                                        </telerik:RadMenuItem>   
                                        <telerik:RadMenuItem runat="server" Text="what goes on" NavigateUrl='<%#Eval("FeatureListUrl")%>'>   
                                        </telerik:RadMenuItem>   
                                        <telerik:RadMenuItem runat="server" Text="diary" NavigateUrl='<%#Eval("FeatureDiaryUrl")%>'>   
                                        </telerik:RadMenuItem>   
                                    </Items>   
                                </telerik:RadMenu>   
                 </td>   
            </ItemTemplate>   
        </asp:Repeater>   
    </tr>   
 </table>   
 

 

John Hadjioannou
Top achievements
Rank 1
 answered on 24 Jul 2009
1 answer
100 views
Hi I have error when use multi sorting and entitydatasorce when I sdorting two or more columns

<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True"
        DataSourceID="EntityDataSource1" GridLines="None" EnableLinqExpressions="true" >
<MasterTableView autogeneratecolumns="False" AllowSorting="true" datakeynames="idklient"
            datasourceid="EntityDataSource1" AllowMultiColumnSorting="true" />

<asp:EntityDataSource ID="EntityDataSource1" runat="server"
        ConnectionString="name=srDbEntities" DefaultContainerName="srDbEntities"
        EntitySetName="customers">
    </asp:EntityDataSource>
   
When use SqlDataSource its OK

Please help

Pavlina
Telerik team
 answered on 24 Jul 2009
1 answer
96 views

Hi,
      I want to scroll the columns inside a rad grid when i click on Next/Previous buttons provided on the page. Can anybody help, how to do this in client side without using horizontal scrollbar?

Thanks & Regards,
siv.

Dimo
Telerik team
 answered on 24 Jul 2009
1 answer
84 views
I read all the threads on exports and still didn't find an answer.

I have a RadGrid on the page populated by a web service.
Something like:                
<DataBinding Location="~/MyWebService.asmx" SelectMethod="GetDataAndCount" EnableCaching="true" />

Whenever I try to export I'm getting an empty document. No data whatsoever but the column titles are in place though.

I've got sense it's somehow related to the client-side binding. Is there a workaround?

Daniel
Telerik team
 answered on 24 Jul 2009
1 answer
78 views

Hello,

we upgraded the RadEditor for MOSS from version 5.2.2.0 to 5.5.0.0,

In the previous version we personalized the document manager by setting the 'ExternalDialogsPath' to 'EditorDialogs\documentManager.ascx',

and in this file we modified the 'DocumentTargetCombo' to open documents in new window by default.

but in the latest version (5.5.0.0) the 'documentManager.ascx' file doesn't have the 'DocumentTargetCombo'

 

is there a solution or workaround to do this?

Stanimir
Telerik team
 answered on 24 Jul 2009
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?