Export (0) Print
Expand All
Expand Minimize

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


Type: System.String

The postback value to check.

Type: System.String

The event name to check against the postbackValue.

Type: System.Boolean

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

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.

© 2015 Microsoft