CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Add Html Meta to Page.Header

Print topic Send  topic

Author Message
cvboucher

Posts: 191
Posted: 05/27/2008, 2:35 PM

I've used the following code in Visual Studio to add the refresh meta tag after a button has been clicked. I added a runat="server" to the <head> tag in CodeCharge and added the code in the OnClick (server) event of a search button but the meta tag isn't added to the page. What am I doing wrong?

        Dim hh As HtmlHead = Me.Page.Header  
        Dim hm As New HtmlMeta()  
        hm.Attributes.Add("http-equiv", "refresh")  
        hm.Attributes.Add("content", "30")  
        hh.Controls.Add(hm)

Thanks,
Craig

CCS 3.2.0.4
ASP.NET/VB.NET
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.