manage rules problem

Joined
Jan 13, 2011
Messages
9
Reaction score
0
when managing rules I receive the below error:

Invalid postback or callback argument. Event validation is enabled using in configuration or 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. at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The only thing on my web page are buttons to change to new aspx pages. From searching this error I changed all of the buttons to "linkbutton" and I still receive this error.

Please help!!!!
 
Joined
Jan 13, 2011
Messages
9
Reaction score
0
The rules are applied as long as I am in Microsoft Visual Web developer 2008, but does not apply the rules when in live mode after publishing.
 
Joined
Mar 16, 2011
Messages
1
Reaction score
0
hey I want to create dropdown list dynamiclly asp.net c#
can u plz help....
dropdown automatically generated with table data.
 
Joined
Jan 13, 2011
Messages
9
Reaction score
0
URMI,

You posted a question on a question being asked. Be sure to create a new thread when asking questions or it may not get answered.

Per your question, you will need to create a datasource for the information in the drop down list first then do the below.

Below is a sample of the code needed in your aspx file:

<asp:DropDownList ID="Your_Field_Name" runat="server" DataSourceID="Your_Data_Source_Name" DataTextField="Your_Field_Name" DataValueField="Your_Field_Name" Width="100px" />

Fill in Your_Field_Name and Your_Data_Source_Name with your correct names. The column width can be changed to allow the field to diplay properly.

Thanks,

RBeach
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top