Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DoesPostbackEqualEvent Method
Collapse the table of content
Expand the table of content

DataFormWebPart.DoesPostbackEqualEvent Method

Checks whether the specified postback value contains the specified event name.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

protected internal bool DoesPostbackEqualEvent(
	string postbackValue,
	string eventName,
	bool checkForEqualsBracket,
	out string modifiedCommandStr
)

Parameters

postbackValue
Type: System.String

The postback value to check.

eventName
Type: System.String

The event name to check against the postbackValue.

checkForEqualsBracket
Type: System.Boolean

true to check the equal sign (=) and the braces ({/}); otherwise, false.

modifiedCommandStr
Type: System.String

When this method returns, contains a string that represents the information about the event. This parameter is passed uninitialized.

Return Value

Type: System.Boolean
true if postbackValue contains eventName; otherwise, false.

The modifiedCommandStr parameter is set to an empty string if postbackValue does not contain eventName or the checkForEqualsBracket parameter is false.

Show:
© 2015 Microsoft