Hi,
I have this control on aspx page:
In code behind I'm using this:
Data that is populates is correct but I cannot get literal in footer to display message. Its always empty. On page_load I dont clear items or anything. Footer is always displaying aaaeee
I have this control on aspx page:
| <telerik:RadComboBox ID="drpMjesto" runat="server" EnableLoadOnDemand="True" EnableTextSelection="False" LoadingMessage="Učitavanje..." OnItemsRequested="drpMjesto_ItemsRequested" Skin="Telerik" ItemRequestTimeout="500" NoWrap="True"><FooterTemplate><asp:Literal runat="server" ID="ltlMessage" Text="aaa"></asp:Literal>eee</FooterTemplate> |
| </telerik:RadComboBox> |
In code behind I'm using this:
| protected void drpMjesto_ItemsRequested( object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e ) |
| { |
| drpMjesto.DataSource = cSifMjesto.GetTopXByNaziv( 20, e.Text ); |
| drpMjesto.DataTextField = "Naziv"; |
| drpMjesto.DataValueField = "IdMjesto"; |
| drpMjesto.DataBind( ); |
| if ( !e.EndOfItems ) |
| { |
| Literal ltl = ( Literal ) drpMjesto.Footer.FindControl( "ltlMessage" ); |
| ltl.Text = "...prvih 20"; |
| } |
| } |
Data that is populates is correct but I cannot get literal in footer to display message. Its always empty. On page_load I dont clear items or anything. Footer is always displaying aaaeee