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

ASP.NET

 
QuestionAutopost Back in ASP.NET MVC Pin
M. K. BASHER8-May-10 20:31
M. K. BASHER8-May-10 20:31 
AnswerRe: Autopost Back in ASP.NET MVC Pin
Sandeep Mewara9-May-10 4:08
mveSandeep Mewara9-May-10 4:08 
QuestionButton Event OnClick Not Raised After Redirecting to Rewritten URL Pin
icanpee4hours8-May-10 6:13
icanpee4hours8-May-10 6:13 
AnswerRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
Not Active8-May-10 9:39
mentorNot Active8-May-10 9:39 
GeneralRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
icanpee4hours8-May-10 9:49
icanpee4hours8-May-10 9:49 
GeneralRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
Not Active8-May-10 14:51
mentorNot Active8-May-10 14:51 
GeneralRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
icanpee4hours10-May-10 4:15
icanpee4hours10-May-10 4:15 
Questiontabcontainer control giving error 1 could not be set on property 'ActiveTabIndex' in asp.net with c# Pin
developerit8-May-10 3:57
developerit8-May-10 3:57 
hi iam using asp.net with c#

iam using tab ccontainer of ajax control , inside this iam using update panel and drop down list but drop down list not performing any action
and when you select any item from drop down list it gives error



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


and tab container while designing not showing controls and shows 1 could not be set on property 'ActiveTabIndex'


code
====

<cc1:TabContainer ID="infotab" runat="server" ActiveTabIndex="1" >
           <cc1:TabPanel ID="TabBranchpanel" runat="server">
           <HeaderTemplate>Orders</HeaderTemplate>
           <ContentTemplate>

<asp:UpdatePanel ID="pannelupdate" runat="server"  UpdateMode="Conditional"   ChildrenAsTriggers="true"><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;
        }
    }



how to solve this can you correct this code which helps me
AnswerRe: tabcontainer control giving error 1 could not be set on property 'ActiveTabIndex' in asp.net with c# Pin
Tej Aj10-May-10 0:25
Tej Aj10-May-10 0:25 
QuestionProblem with Enum and dropdownlist Pin
AndyASPVB7-May-10 23:06
AndyASPVB7-May-10 23:06 
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 
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 

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.