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
)

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.