The function bellow is really ok as long I only write a text in the
document.write(). But I wish to place also a image on my frame side, but for
it I need to have in " " another " " and maybe in thats again the " " I
think it should be a way for my pic
Many thanks for help
Greetings
Patrick Marti
==================================
// I had to cut a bit my function to show here
==================================
private void Page_Load(object sender, System.EventArgs e)
{
scriptString += "function ShowPic(){";
scriptString += "document.write('Mein Bild')";
"... document.write(<img src=C:/Inetpub/wwwroot/A/Ima/Gr1.jpg>)}";
.......................
this.RegisterStartupScript("Startup", scriptString);
==============================================
"Patrik Löwendahl [C# MVP]" - 28 Jan 2005 10:14 GMT
When inserting " in C# strings you should prefix it the " with a \.
so:
string s = "Hello \"world\"";
as an example

Signature
Patrik Löwendahl [C# MVP]
http://www.lowendahl.net/ || http://www.cshrp.net
Please reply only to the newsgroup.
> The function bellow is really ok as long I only write a text in the
> document.write(). But I wish to place also a image on my frame side, but for
[quoted text clipped - 17 lines]
> this.RegisterStartupScript("Startup", scriptString);
> ==============================================