Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.