LelloLello
asked on
<asp:Label id="searchInstructions" for="TextBox" runat="server">Label</asp:Label></P>
Hi Expert,
using System;
using System.Collections.Generic ;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using CCFA.Utilities;
using Sitecore.Data.Items;
using CCFA.LuceneUtils;
using System.Data.SqlClient;
protected System.Web.UI.WebControls. Label searchInstructions;
On my Pages the following
searchInstructions.Text = "Artist Name:";
searchInstructions.Text = "Nom de l'artiste:";
is not displaying, It is displaying Label instead of the .text
<asp:Label id="searchInstructions" for="TextBox" runat="server">Label</asp: Label></P>
Why ?
using System;
using System.Collections.Generic
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using CCFA.Utilities;
using Sitecore.Data.Items;
using CCFA.LuceneUtils;
using System.Data.SqlClient;
protected System.Web.UI.WebControls.
On my Pages the following
searchInstructions.Text = "Artist Name:";
searchInstructions.Text = "Nom de l'artiste:";
is not displaying, It is displaying Label instead of the .text
<asp:Label id="searchInstructions" for="TextBox" runat="server">Label</asp:
Why ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ASKER
how can u fix that ?
<asp:Label id="searchInstructions" for="TextBox" runat="server">Label</asp: Label></P> ???
<asp:Label id="searchInstructions" for="TextBox" runat="server">Label</asp:
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I remove below the code didn't change anything...
protected void Page_Load(object sender, EventArgs e)
{
// english Category
searchInstructions.Text = "Artist Name:";
// Set Go Button
_ibtGo.ImageUrl = "/common/artbank/images/mi sc/button_ go_grey-e. gif";
if (Sitecore.Context.Language .ToString( ) == "fr")
{
// french Categorie
searchInstructions.Text = "Nom de l'artiste:";
_ibtGo.ImageUrl = "/common/artbank/images/mi sc/button_ go_grey-f. gif";
}
}
The value of searchinstructions is not displaying ? please advice.
<asp:Label id="searchInstructions" for="TextBox" runat="server"></asp:Label ></P>
protected void Page_Load(object sender, EventArgs e)
{
// english Category
searchInstructions.Text = "Artist Name:";
// Set Go Button
_ibtGo.ImageUrl = "/common/artbank/images/mi
if (Sitecore.Context.Language
{
// french Categorie
searchInstructions.Text = "Nom de l'artiste:";
_ibtGo.ImageUrl = "/common/artbank/images/mi
}
}
The value of searchinstructions is not displaying ? please advice.
<asp:Label id="searchInstructions" for="TextBox" runat="server"></asp:Label
ASKER