Last post May 15, 2008 07:22 PM by jkirkerx
May 13, 2008 11:06 AM|benjib98|LINK
CSS file is applied. In the custom control I am getting the webresource for both files using GetWebResourceUrl() and then just simply writing it to the HtmlTextWriter.
May 13, 2008 11:24 AM|ArminStockner|LINK
dynamically via code:
StringBuilder strBld = new StringBuilder();
strBld.AppendLine("alert('Come visit us again');");
ClientScript.RegisterClientScriptBlock(this.GetType(), "endScript", strBld.ToString(), true);
May 13, 2008 11:39 AM|benjib98|LINK
meaning of the custom control that you can reuse without any additional code.
May 13, 2008 12:01 PM|ArminStockner|LINK
Hmm ok thats another problem. I have searched around abit maybe this article helps you. Sorry for misunderstanding you.
May 15, 2008 06:02 AM|benjib98|LINK
the Visible attribute. INTERESTING is, that the CSS file was handled the same way (as a webresource) and that was indeed applied to the page even that I was using the Visible attribute.
May 15, 2008 07:22 PM|jkirkerx|LINK
Dim cs As ClientScriptManager = Me.Page.ClientScript
Dim rsType As Type = Me.GetType()