Click here to Skip to main content
13,194,662 members (52,725 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i have created a master page for login of a employee for his company site.
and i wrote the code for login button in the same source page in script. but for this line

ClientScript.RegisterStartupScript(Page.GetType(), "validation", "<script language="'javascript'">alert('Invalid Username and Password')</script>");

i m getting error how to proceed. and one more doubt how maintain the master page for all the nested pages.
Posted 14-Jan-13 18:56pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I am not really sure if should proceed from there. If your master page has login form on it, it means that all related content pages will also do the login. In principle, this is possible — it might look like in CodeProject. But are you sure you need it?

Anyway, please see this tutorial:[^].

Your code sample does not look like an integral clause, so I cannot say anything. Probably, you simply failed to format the code properly.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171018.2 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100