Click here to Skip to main content
15,886,797 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsuggest privileges and permissions module. Pin
Moustafa Safwat2-Sep-11 8:19
Moustafa Safwat2-Sep-11 8:19 
AnswerRe: suggest privileges and permissions module. Pin
javadhelali5-Sep-11 18:42
javadhelali5-Sep-11 18:42 
Questioncustom controls and session object Pin
Professional manpreet1-Sep-11 23:43
Professional manpreet1-Sep-11 23:43 
AnswerRe: custom controls and session object Pin
koolprasad20032-Sep-11 21:28
professionalkoolprasad20032-Sep-11 21:28 
Questionhow to dir html text in rdlc report in correct format Pin
md_refay1-Sep-11 21:57
md_refay1-Sep-11 21:57 
AnswerRe: how to dir html text in rdlc report in correct format Pin
md_refay2-Sep-11 18:16
md_refay2-Sep-11 18:16 
Questionrepeate header doesn't repaet && no footer row Pin
md_refay1-Sep-11 21:56
md_refay1-Sep-11 21:56 
QuestionInvalid postback or callback argument. Pin
monu3646071-Sep-11 19:14
monu3646071-Sep-11 19:14 
Hi my code in asp is as follow

XML
<%@ Page Language="C#" MasterPageFile="~/loginmater.master" Title="Content Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script runat="server">

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (uid.ToString() == "munna" && pwd.ToString() == "monu12345")
                Response.Redirect("loggedin.aspx");
            else
                Console.Write("invalid user or password");

        }
</script>


my aim is when we click on the button the script should execute by accepting the values and validate there itself.
but i'm getting an error " Invalid postback or callback argument". wat sholud be done to run the script and get the result

thanks & regards
pradeep.
QuestionHow to enabled the dialog box in toolbox in asp.net Pin
sathyan_82941-Sep-11 16:44
sathyan_82941-Sep-11 16:44 
Questionhttp 400 error when trying to upload an Excel spreadsheet with macros Pin
JimmyRopes1-Sep-11 3:07
professionalJimmyRopes1-Sep-11 3:07 
QuestionChange favicon doesn't work Pin
md_refay31-Aug-11 23:04
md_refay31-Aug-11 23:04 
AnswerRe: Change favicon doesn't work Pin
Abhijit Jana1-Sep-11 1:05
professionalAbhijit Jana1-Sep-11 1:05 
GeneralRe: Change favicon doesn't work Pin
GenJerDan1-Sep-11 4:06
GenJerDan1-Sep-11 4:06 
QuestionSearch Engine Controls With custom indexing Pin
skampo31-Aug-11 22:43
skampo31-Aug-11 22:43 
AnswerRe: Search Engine Controls With custom indexing Pin
Mehdi Gholam4-Sep-11 6:44
Mehdi Gholam4-Sep-11 6:44 
QuestionASP.NET and DotNetCharting - Empty images created when using UpdatePanel Pin
User 628146631-Aug-11 4:08
User 628146631-Aug-11 4:08 
QuestionXML Data Source Control Pin
trims3030-Aug-11 16:12
trims3030-Aug-11 16:12 
AnswerRe: XML Data Source Control Pin
David Mujica31-Aug-11 9:14
David Mujica31-Aug-11 9:14 
QuestionHow to preview image before uploading..??? Pin
Tejas Vaishnav30-Aug-11 1:42
professionalTejas Vaishnav30-Aug-11 1:42 
AnswerRe: How to preview image before uploading..??? Pin
Strange_Pirate28-Sep-12 3:16
Strange_Pirate28-Sep-12 3:16 
QuestionChild project not seeing web.config from parent Pin
byka30-Aug-11 1:36
byka30-Aug-11 1:36 
Questionrow clickable Pin
netJP12L29-Aug-11 10:15
netJP12L29-Aug-11 10:15 
AnswerRe: row clickable Pin
Morgs Morgan30-Aug-11 4:54
Morgs Morgan30-Aug-11 4:54 
AnswerRe: row clickable Pin
mneale131-Aug-11 12:10
mneale131-Aug-11 12:10 
GeneralRe: row clickable Pin
Morgs Morgan5-Sep-11 21:22
Morgs Morgan5-Sep-11 21:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.