Hi everybody,
I would like to set a default value in the textbox of my radprompt, but I still can't do that :(
The prompt is displayed when user click on an image in my application, and I implement the javascript in behind-code.
Example :
I add an argument to radprompt like
but this display nothing in my textbox :(
Can you please help me?
Thanks
jean
I would like to set a default value in the textbox of my radprompt, but I still can't do that :(
The prompt is displayed when user click on an image in my application, and I implement the javascript in behind-code.
Example :
StringBuilder sb =
new
StringBuilder();
sb.Append(
"<script language= javascript "
);
sb.Append(
"type=\"text/javascript\">"
);
sb.Append(
"function promptEmail"
);
sb.Append(
this
.ClientID);
sb.Append(
"(param){
radprompt('email:'
, promptEmailCallBack
, 300, 100, param, 'Title'
);}"
);
sb.Append(
"</script>"
);
if
(!Page.ClientScript.IsClientScriptBlockRegistered(
"promptEmail"
+
this
.ClientID))
Page.ClientScript.RegisterClientScriptBlock(
this
.GetType(),
"promptEmail"
+
this
.ClientID, sb.ToString());
I add an argument to radprompt like
radprompt(
'email:'
, promptEmailCallBack, 300, 100, param,
'Title'
,
'My Default text'
);
but this display nothing in my textbox :(
Can you please help me?
Thanks
jean