hi all,

What namespace I should use for function RegisterStartupService(), to show alert message on button click?

Thanks

no name space is required for that
Page.RegisterStartupScript("foo", "<script>alert('something')</script>");

Serkan Şendur

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.