Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
253 views

I am using the gridTemplateColumn to solve the Multiple header row issue. While can accomplish the multiple Header rows, I am not able to get the Header and Item rows to align. Below is the markup of the aspx page.

_________________________________________________________________________________________________________

 

 

<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="APSFrameWork.test" %>
  
<%@ MasterType  VirtualPath="~/Default.Master" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  
<%--<meta http-equiv="X-UA-Compatible" content="IE=8" /> --%>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> 
<style type="text/css" >
.MasterTable_Office2007  th
{
    padding: 0 4px 0 4px;
}
.MasterTable_Office2007  td
{
    padding: 0 4px 0 4px;
}
  
</style>
</asp:Content>
  
  
  
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" 
        EnableTheming="True">
    </telerik:RadScriptManager>
    <p>
         </p>
    <p>
         </p>
    <p>
         </p>
    <p>
    <br />
</p>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
   var popUp;
   function PopUpShowing(sender, eventArgs)
   {
       popUp = eventArgs.get_popUp();
       var gridWidth = sender.get_element().offsetWidth;
       var gridHeight = sender.get_element().offsetHeight;
       var popUpWidth = popUp.style.width.substr(0,popUp.style.width.indexOf("px"));
       var popUpHeight = popUp.style.height.substr(0,popUp.style.height.indexOf("px"));
       popUp.style.left = ((gridWidth - popUpWidth)/2 + sender.get_element().offsetLeft).toString() + "px";
       popUp.style.top = ((gridHeight - popUpHeight)/2 + sender.get_element().offsetTop).toString() + "px";
   }
</script>
</telerik:RadCodeBlock>
  
<telerik:RadGrid ID="gvForecast" runat="server" 
        AutoGenerateEditColumn="True" 
        oneditcommand="gvForecast_EditCommand" 
        oncancelcommand="gvForecast_CancelCommand" 
        onitemdatabound="gvForecast_ItemDataBound" Width="100%" 
        HorizontalAlign="Center" onneeddatasource="gvForecast_NeedDataSource" 
        Skin="Office2007" GridLines="Both" 
        >
          
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
 <ClientSettings EnableRowHoverStyle="true">
   <Scrolling AllowScroll="True" UseStaticHeaders="True" />
       <ClientEvents OnPopUpShowing="PopUpShowing" />
       <Selecting AllowRowSelect="true" />   
 </ClientSettings>
<MasterTableView autogeneratecolumns="false"  ItemStyle-VerticalAlign="Top" CommandItemDisplay="Top" EditMode="PopUp" Width="100%">
   
<ItemStyle VerticalAlign="Top"></ItemStyle>
   
    <CommandItemTemplate>
          
    </CommandItemTemplate>
      
    <NoRecordsTemplate>
        No Line items Exit for this Unit
    </NoRecordsTemplate>
<CommandItemSettings ShowExportToPdfButton="true" ExportToPdfText="Export to Pdf"></CommandItemSettings>
  
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
  
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
  
    <Columns>
  
        <telerik:GridTemplateColumn UniqueName="venu">
            <HeaderTemplate>
                <table id="tbVenu" width="100%" border="0">
                <col width="100px" /><col width="200px" /><col width="40px" />
                <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                <col width="40px" align="center" /><col width="40px" align="center" /><col width="80px"/>
                <tr>
                    <td colspan="3" align="center" bgcolor="#ccccff">WBS Details</td>
                    <td colspan="1" align="center" bgcolor="#ffff99">Act</td>
                    <td colspan ="11" align="center" bgcolor="#00cc00">Forecast</td>
                    <td colspan="3" align="center" bgcolor="#ccffff">Other Details</td>
                </tr>
                <tr>
                    <td>WBS</td><td>Description</td><td>Cost Element</td>
                    <td>Jan</td><td>Feb</td><td>Mar</td><td>Apr</td><td>May</td><td>Jun</td>
                    <td>Jul</td><td>Aug</td><td>Sep</td><td>Oct</td><td>Nov</td><td>Dec</td>
                    <td>YTD</td><td>To Go Forecast</td><td>Total Forecast</td>
                </tr>
                </table>
            </HeaderTemplate>
            <ItemTemplate>
                <table id="tdItem" width="100%" border="0">
                    <col width="100px" /><col width="200px" /><col width="40px" />
                    <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                    <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                    <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                    <col width="40px" align="center" /><col width="40px" align="center" /><col width="40px" align="center" />
                    <col width="40px" align="center" /><col width="40px" align="center" /><col width="80px"/>
                    <tr>
                        <td><%# DataBinder.Eval(Container.DataItem, "WBS") %></td>
                        <TD><%# DataBinder.Eval(Container.DataItem, "Description") %></TD>
                        <TD><%# DataBinder.Eval(Container.DataItem, "CE") %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Jan").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Feb").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Mar").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Apr").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("May").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Jun").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Jul").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Aug").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Sep").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Oct").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Nov").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("Dec").ToString()) %></TD>
                        <TD align="center"><%# FormatAmount(Eval("YTD").ToString()) %></TD
                        <TD align="center"><%# FormatAmount(Eval("ToGoForecast").ToString()) %></TD
                        <TD align="center"><%# FormatAmount(Eval("TotalForecast").ToString()) %></TD>
                    </tr>
                </table>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
    </Columns>
  
<%--<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>--%>
<EditFormSettings CaptionFormatString="Edit WBS: {0}" EditFormType="Template" CaptionDataField="Description" PopUpSettings-Height="200px" PopUpSettings-Width="1300px" PopUpSettings-Modal="true">
    <FormTemplate>
        <table id="table1" width="1200px" border="0" align="center" style="table-layout:fixed" >
        <col width="100px"><col width="100px"><col width="100px"><col width="100px"><col width="100px"><col width="100px">
        <col width="100px"><col width="100px"><col width="100px"><col width="100px"><col width="100px"><col width="100px">
        <tr><td colspan="12"> </td></tr>
        <tr><td align="right">Cost Element</td><td>
            <asp:Label ID="Label1" runat="server" Text='<%# Bind("CE") %>'></asp:Label></td><td align="right">WBS Description</td><td colspan="9">
            <telerik:RadTextBox ID="WBSDesc" runat="server" Text='<%# Bind("Description") %>' Width="80%" ReadOnly="true">
            </telerik:RadTextBox></td></tr>
            <tr><td>Jan</td><td>Feb</td><td>Mar</td><td>Apr</td><td>May</td><td>Jun</td><td>Jul</td><td>Aug</td><td>Sep</td><td>Oct</td><td>Nov</td><td>Dec</td></tr>
            <tr>
                <td><telerik:RadNumericTextBox Type="Number" ReadOnly="true" BackColor="LightGray" ID="txtJan" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Jan") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtFeb" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Feb") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtMar" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Mar") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtApr" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Apr") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtMay" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("May") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtJun" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Jun") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtJul" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Jul") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtAug" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Aug") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtSep" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Sep") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtOct" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Oct") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtNov" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Nov") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>
                <td><telerik:RadNumericTextBox Type="Number" ID="txtDec" runat="server" MaxLength="7" Width="50px" Text='<%# Bind("Dec") %>'><NumberFormat DecimalDigits=0 /></telerik:RadNumericTextBox></td>                
            </tr>
            <tr><td colspan="12"><font color="red" ><b>*</b> Greyed out textboxes are reflecting the actuals. </font></td></tr>
            <tr><td colspan="5" align="right">
                <telerik:RadButton ID="btnUpdate" runat="server" Text="Update Forecast" OnClick="btnUpdate_Click" />
            </td>
            <td colspan="2"> </td>
            <td colspan="5"><telerik:RadButton ID="btnCancel" runat="server" Text="Cancel" CausesValidation="False" OnClick="btnCancel_Click" />
            </td></tr>
              
            </table>
    </FormTemplate>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
  
<PopUpSettings Modal="True" Height="200px" Width="1300px"></PopUpSettings>
</EditFormSettings>
</MasterTableView>
  
<FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid><p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
      
     
  
</asp:Content>

 

 

Daniel
Telerik team
 answered on 11 Mar 2011
3 answers
55 views
This issue seems to only pertain to IE7 and IE8.

I have a vertical RadMenu on my site that is 3 levels deep and uses the flyout on mouseover.  When the menu is totally collapsed, any link that is to the right of the menu and within the bounds of where the submenus will expand to are unclickable.  This is some kind of z-index issue I guess.  I've tried to change the z-index of the menu and items on the page, but I haven't had any luck yet.  Is there a different trick to this or do I need to keep messing with the z-index?

Kate
Telerik team
 answered on 11 Mar 2011
1 answer
51 views
We have a load-on-Demand combo which is working as expected for all the scenario except this one.

For a combo with no items in it, drop down opens and it calls ItemRequestedHandler which is fine. Now if I click on the combo again, this time drop down opens but ItemRequestedHandler is not called.

on the contrary if we write any text using keyboard, while the focus is on this combo,  ItemRequestHandler is always called ( for a blank combo as well as for a combo which already have an item)

We want the same functionality i.e calling ItemRequestHandler even if we mouse click to open the drop down for a combo which already has item present in it

Dimitar Terziev
Telerik team
 answered on 11 Mar 2011
3 answers
85 views
Hi,

I am using Telerik RadAJAX manager to send AJAX request.I have Telerik ComboBox ,Treeview and Chart controls on the page.When I click on the any of treenode it has send AJAX request and relaod chart and Combobox. But When I click on tree node at the first time it is sending an AJAX request. and When I click on the treenode next time it send normal Post back request and entire page getting refreshed.It is happening alternatively one time AJAX request and one time Normal Post back.

Can any one suggest me solution for this?
Iana Tsolova
Telerik team
 answered on 11 Mar 2011
1 answer
112 views
Hi,

I have referred the following link thinking that I can get the solution for my issue of scrollbar appearing in timeline view of radshceduler,
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/set-appointment-height-to-cell-height-in-timeline-view.aspx

Is this issue resolved?
If so how?

As I am facing the same problem.

My non - telerik issue was related to asp:menu whose drop down items were not appearing while being published from webserver
So resolved it by providing the followng meta tag provided in msdn help:

 

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

 

 

<style type="text/css" >

 

 

.adjustedZIndex { z-index: 2500; }

 

 

 

</style>

 


So while giving this I find that radscheduler time line view is showing scroll bar 
    when a new appointment or there is any appointment at the last coloumn or cells of the view.
How can I overcome this?
Please help.

Or atleast a solution to make the asp drop down menu appear on top of radscheduler

Thanks in advance.


Peter
Telerik team
 answered on 11 Mar 2011
1 answer
152 views
Hello All,

We are using RadGrid in one of the project. We have hyperlink column as part of the grid. Now what happens is we have implemented client side biding for the grid. right now when we bind it first time from server it shows currect tooltip for hyperlink column

but as soon as we retrieve data from web service and make client side binding it shows old values on the tooltip for new links.

So if first time data is, John and tool tip is John ,
we do the paging on client side and next data is carl and the tooltip still shows John. 

We have more then 15 hyperlink columns in different radgrid so we are using it widely in the project.
Let me know the quickest way to fix this or remove the tooltip from hyperlink column.

Thanks in advance.
Veli
Telerik team
 answered on 11 Mar 2011
1 answer
161 views
I am employing a usercontrol for my grid edit form.  I have several of them and assign which one will be used at runtime.

Can I create custom text in the popup edit form's titlebar from within the usercontrol's codebehind?

Mike

Shinu
Top achievements
Rank 2
 answered on 11 Mar 2011
1 answer
179 views
Hi
I have a problem with MasterPage and RadAjaxManager because when the RadGrid (in contentPage) fires an autoPostBack, the RadAjaxManager never catch de event and the whole page is refreshed. I already saw some examples where show how to use  MasterPage with RadAjaxManager, but I can´t get do it in my project.

MasterPage:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Maestra.master.cs" Inherits="sicoge.Maestra.Maestra" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head id="Head1" runat="server">
    <title>Página sin título</title>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
    <link rel="Stylesheet" type="text/css" href="../common/master.css"/>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
 
        <asp:LoginStatus ID="LoginStatus1" runat="server"
            LogoutPageUrl="~/webForms/login.aspx" LogoutAction="RedirectToLoginPage"
            onloggingout="LoginStatus1_LoggingOut" LoginText="Iniciar sesión."
            LogoutText="Cerrar sesión."/>
        <asp:LoginStatus ID="LoginStatus2" runat="server"
            LoginImageUrl="~/images/log_in.png" LoginText=""
            LogoutAction="RedirectToLoginPage" LogoutImageUrl="~/images/logout.png"
            LogoutPageUrl="~/webForms/login.aspx" LogoutText=""
            onloggingout="LoginStatus2_LoggingOut" />
 
    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
     
    </asp:ContentPlaceHolder>
 
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Default">
    </telerik:RadSkinManager>
    <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server"
        Skin="Default" />
</div>
    </form>

ContentPage :

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MisSolicitudes.aspx.cs" MasterPageFile="~/Maestra/Maestra.Master" Inherits="sicoge.webForms.MisSolicitudes" Title="Mis Solicitudes" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="Stylesheet" type="text/css" href="../common/Forms.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="GrdSolicitudes">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                     <telerik:RadGrid ID="GrdSolicitudes" runat="server"
                         AllowFilteringByColumn="True" AllowPaging="True" DataSourceID="SqlDataSource1"
                         GridLines="None" ShowGroupPanel="True" Culture="Spanish (Mexico)"
                         Width="906px">
<HeaderContextMenu EnableImageSprites="True" CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
 
                         <GroupPanel Text="Arrastre y suelte aqui una columna para agrupar.">
                         </GroupPanel>
 
<MasterTableView AutoGenerateColumns="False" DataKeyNames="IdSolicitud" DataSourceID="SqlDataSource1"
                             NoMasterRecordsText="No hay registros para mostrar.">
<CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
 
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="IdSolicitud" DataType="System.Int32"
            HeaderText="IdSolicitud" ReadOnly="True" SortExpression="IdSolicitud"
            UniqueName="IdSolicitud" Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Folio" HeaderText="Folio"
            SortExpression="Folio" UniqueName="Folio">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="IdSeccion" DataType="System.Int32"
            HeaderText="IdSeccion" SortExpression="IdSeccion" UniqueName="IdSeccion">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="IdEstadoSolicitud" DataType="System.Int32"
            HeaderText="IdEstadoSolicitud" SortExpression="IdEstadoSolicitud"
            UniqueName="IdEstadoSolicitud">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="FechaSolicitud" DataType="System.DateTime"
            HeaderText="FechaSolicitud" SortExpression="FechaSolicitud"
            UniqueName="FechaSolicitud">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Observaciones" HeaderText="Observaciones"
            SortExpression="Observaciones" UniqueName="Observaciones">
        </telerik:GridBoundColumn>
    </Columns>
</MasterTableView>
                         <GroupingSettings GroupContinuedFormatString="... continuación de la pág anterior. "
                             GroupContinuesFormatString=" Continua en la siguiente pág."
                             GroupSplitDisplayFormat="Mostrando {0} de {1} elementos." />
                         <ClientSettings AllowDragToGroup="True">
                             <Selecting AllowRowSelect="True" />
                             <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                             <Resizing AllowColumnResize="True" />
                         </ClientSettings>
                     </telerik:RadGrid>
                     </telerik:RadAjaxPanel>

And ContentPage CS:

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Telerik.Web.UI;
 
 
namespace sicoge.webForms
{
    public partial class MisSolicitudes : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RadAjaxManager ajm = this.Master.FindControl("RadAjaxManager1") as RadAjaxManager;
            ajm.AjaxSettings.AddAjaxSetting(GrdSolicitudes, RadAjaxPanel1);
        }
         
    }
}

The exception that it fires is: System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.

Línea 20:         {
Línea 21:             RadAjaxManager ajm = this.Master.FindControl("RadAjaxManager1") as RadAjaxManager;
Línea 22:             ajm.AjaxSettings.AddAjaxSetting(GrdSolicitudes, RadAjaxPanel1);
Línea 23:         }
Línea 24:


Also, when I put a RadAjaxManagerProxy in the contentPage and I try to configure it (Configure Ajax Manager), nothing controls are showed in the "Select the controls that will initiate AJAX request" panel and I cant configure anything.

Pavlina
Telerik team
 answered on 11 Mar 2011
1 answer
241 views
Hi all,

I am sorry if this question has already been answered before.

I have the scheduler that uses ObjectDataSource, which returns a list of EventItem, where EventItem is my custom class. While I was able to map all the fields that the scheduler needed, I would like to bind some other fields from EventItem. What will be the easiest way to do it on ascx page?

Ideally, I would like something like that (which doesn't work now):

<AppointmentTemplate>
    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
    <asp:Label ID="Label4" runat="server" Text="Location:"></asp:Label>
    <asp:Label ID="Label2" runat="server" Text='<%# Eval("Location") %>'></asp:Label>
    <asp:Label ID="Label3" runat="server" Text="Time"></asp:Label>
    <asp:Label ID="Label5" runat="server" Text='<%# PDConvert.ToDateTime(Eval("Start")).ToString("t") + 
    ((PDConvert.ToDateTimeN(Eval("Start"))==null) ? "" : " - " + PDConvert.ToDateTime(Eval("End")).ToString("t")  )%>'></asp:Label>
</AppointmentTemplate>




Thank you.
Veronica
Telerik team
 answered on 11 Mar 2011
0 answers
94 views
Hello


 IN rad scheduler when i click new appointment the pop up open but problem is

 If i open in Mozila looks fine.  see attach sreen1 file
 
But if i open in IE8 it's not looks fine see attachment screen2 file




Plz help me ASAP



Thanks
Regards
Rahul
Rahul
Top achievements
Rank 1
 asked on 11 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?