Posted on: 12/22/2008 11:45:23 AM | Views : 545

Hi
I was trying to call a javascript function which will open the aspx child page from c# code behind. I tried using a literal control and assigned its text property the script funciton call.
litAlert.Text = "<script>callKeywords('" + Name + "','Keyword',+'Region');</script>";  where litAlert is the literal control . It works fine with an normal alert, but not sure what is the problem with this?
The javascript function is as given below:
function callKeywords(textid, Keywords, KeywordValue) {
var url="Keywords.aspx?textvalue="+ textid +"&KeywordList=& ...

Go to the complete details ...