Hi,
It's my first walk through telerik, and I started adding an control to an existing project.
The problem is that a RadDropDownList don't open when clicked, but is just on MasterPage Content, in an .aspx file it works fine.
HOW TO FIX?
I added the necessary controls in the MasterPage.
and the code that I'm using is on contect page is:
<%@ Page Title="" Language="C#" MasterPageFile="~/Sistema/SistemaBase.Master" AutoEventWireup="true" CodeBehind="Teste1.aspx.cs" Inherits="AdvocatiNet100.Sistema.Teste1" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content7" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ObjectDataSource ID="dsDados" runat="server" SelectMethod="LoadDados" TypeName="AdvocatiNet100.CompromissoINC"></asp:ObjectDataSource>
<label for="cboTipoIMG">Tipo do compromisso:</label><br />
<telerik:RadDropDownList ID="cboTipoIMG" runat="server" DataSourceID="dsDados" DataTextField="FDescricao" DataValueField="ID">
<ItemTemplate>
<table>
<tr>
<td>
<img src="http://www.menphissi.com.br/v4/agenda/<%# DataBinder.Eval(Container.DataItem, "FIcone")%>.png" width="16" height="16" alt="" />
</td>
<td>
<%# DataBinder.Eval(Container.DataItem, "FDescricao")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadDropDownList>
<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="cboTipoIMG">
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
</asp:Content>
It's my first walk through telerik, and I started adding an control to an existing project.
The problem is that a RadDropDownList don't open when clicked, but is just on MasterPage Content, in an .aspx file it works fine.
HOW TO FIX?
I added the necessary controls in the MasterPage.
and the code that I'm using is on contect page is:
<%@ Page Title="" Language="C#" MasterPageFile="~/Sistema/SistemaBase.Master" AutoEventWireup="true" CodeBehind="Teste1.aspx.cs" Inherits="AdvocatiNet100.Sistema.Teste1" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content7" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ObjectDataSource ID="dsDados" runat="server" SelectMethod="LoadDados" TypeName="AdvocatiNet100.CompromissoINC"></asp:ObjectDataSource>
<label for="cboTipoIMG">Tipo do compromisso:</label><br />
<telerik:RadDropDownList ID="cboTipoIMG" runat="server" DataSourceID="dsDados" DataTextField="FDescricao" DataValueField="ID">
<ItemTemplate>
<table>
<tr>
<td>
<img src="http://www.menphissi.com.br/v4/agenda/<%# DataBinder.Eval(Container.DataItem, "FIcone")%>.png" width="16" height="16" alt="" />
</td>
<td>
<%# DataBinder.Eval(Container.DataItem, "FDescricao")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadDropDownList>
<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="cboTipoIMG">
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
</asp:Content>