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

ASP.NET

 
AnswerRe: Problem with Enum and dropdownlist Pin
Peace ON9-May-10 20:48
Peace ON9-May-10 20:48 
QuestionSetting Hyperlinks in order for users to carry out forced downloads Pin
AndyASPVB7-May-10 23:05
AndyASPVB7-May-10 23:05 
AnswerRe: Setting Hyperlinks in order for users to carry out forced downloads Pin
Not Active8-May-10 3:25
mentorNot Active8-May-10 3:25 
Questionfile upload control giving error cannot convert the type implicit Pin
developerit7-May-10 19:54
developerit7-May-10 19:54 
AnswerRe: file upload control giving error cannot convert the type implicit Pin
Peace ON7-May-10 21:10
Peace ON7-May-10 21:10 
Questionusing dropdownlist control in update panel control but no selectedindexchange event is firing Pin
developerit7-May-10 19:06
developerit7-May-10 19:06 
AnswerRe: using dropdownlist control in update panel control but no selectedindexchange event is firing Pin
Peace ON7-May-10 21:15
Peace ON7-May-10 21:15 
GeneralRe: using dropdownlist control in update panel control but no selectedindexchange event is firing Pin
developerit8-May-10 0:55
developerit8-May-10 0:55 
hi it is giving error when iam selecting items from drop down list no action is performing


error
======

Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

code
====

<asp:UpdatePanel ID="pannelupdate" runat="server"  UpdateMode="Conditional" ><ContentTemplate><asp:DropDownList ID="ddlconnectivity" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlconnectivity_SelectedIndexChanged"><asp:ListItem Value="DSL">DSL</asp:ListItem><asp:ListItem Value="Connect">Connect</asp:ListItem><asp:ListItem Value="Not Available">Not Available</asp:ListItem><asp:ListItem Value="Others">Others</asp:ListItem></asp:DropDownList></ContentTemplate><Triggers> 
<asp:AsyncPostBackTrigger ControlID="ddlconnectivity" EventName="SelectedIndexChanged" />
</Triggers></asp:UpdatePanel>

 protected void ddlconnectivity_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (ddlconnectivity.SelectedValue == "Dsl" || ddlconnectivity.SelectedValue == "Connect" || ddlconnectivity.SelectedValue == "Others")
        {

            txtconnectaccount.Visible=true;

        }
        else {
            txtconnectaccount.Visible = false;
        }
    }



action is not performing can you correct my code where iam going wrong.
AnswerRe: using dropdownlist control in update panel control but no selectedindexchange event is firing Pin
Tej Aj7-May-10 22:03
Tej Aj7-May-10 22:03 
AnswerRe: using dropdownlist control in update panel control but no selectedindexchange event is firing Pin
HardikSitapara10-May-10 19:25
HardikSitapara10-May-10 19:25 
Questionredirection problem Pin
acont7-May-10 12:40
acont7-May-10 12:40 
AnswerRe: redirection problem Pin
Abhijit Jana7-May-10 14:26
professionalAbhijit Jana7-May-10 14:26 
GeneralRe: redirection problem Pin
acont8-May-10 1:50
acont8-May-10 1:50 
AnswerRe: redirection problem Pin
Peace ON7-May-10 21:16
Peace ON7-May-10 21:16 
AnswerRe: redirection problem Pin
HardikSitapara9-May-10 23:58
HardikSitapara9-May-10 23:58 
GeneralRe: redirection problem Pin
acont11-May-10 8:27
acont11-May-10 8:27 
QuestionHave file uploading in background while continuing Navigation Pin
Neil Wilson7-May-10 6:16
Neil Wilson7-May-10 6:16 
AnswerRe: Have file uploading in background while continuing Navigation Pin
Not Active7-May-10 7:09
mentorNot Active7-May-10 7:09 
GeneralRe: Have file uploading in background while continuing Navigation Pin
Neil Wilson7-May-10 11:14
Neil Wilson7-May-10 11:14 
GeneralRe: Have file uploading in background while continuing Navigation Pin
Not Active7-May-10 13:02
mentorNot Active7-May-10 13:02 
AnswerRe: Have file uploading in background while continuing Navigation Pin
Peace ON7-May-10 21:18
Peace ON7-May-10 21:18 
AnswerRe: Have file uploading in background while continuing Navigation Pin
AlexeiXX38-May-10 18:40
AlexeiXX38-May-10 18:40 
QuestionPassing values from ASP to ASP.NET Pin
Ekjon7-May-10 5:46
Ekjon7-May-10 5:46 
AnswerRe: Passing values from ASP to ASP.NET Pin
T M Gray7-May-10 6:08
T M Gray7-May-10 6:08 
GeneralRe: Passing values from ASP to ASP.NET Pin
Ekjon7-May-10 6:18
Ekjon7-May-10 6:18 

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.