Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Masterpage
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 19: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
0 OriginalGriff 410
1 Sergey Alexandrovich Kryukov 350
2 ProgramFOX 275
3 Maciej Los 275
4 CHill60 260
0 OriginalGriff 360
1 ProgramFOX 265
2 Maciej Los 235
3 CHill60 200
4 RyanDev 170

Advertise | Privacy | Mobile
Web04 | 2.8.150331.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2015
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