> How can I show that message in alert code ( in java script) that
> pick the data form resouse .rex file .
protected void Page_Load(object sender, EventArgs e)
{
bool blnSomeCondition = false;
// code to populate blnSomeCondition...
if (blnSomeCondition)
{
string strTextFromResx = String.Empty;
// read the text from the resource file into the strTextFromResx
variable
ClientScript.RegisterStartupScript(GetType(), "resxMsg", alert('" +
strTextFromResx + "');", true);
}
else
{
// rest of Page_Load method...
}
}

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
You can't do it, at least not directly.
If you emit the JavaScript, however, you can set it up based on the user's
language preference when the page is built.

Signature
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
*************************************************
> Hi,
> How can I show that message in alert code ( in java script) that
> pick the data form resouse .rex file .
>
> Thanks in advance.
> Chandan