Skip to main content

Questions tagged [aspnet-lifecycle]

ASP.NET life cycle refers to the order of methods used for generating a web page.

Filter by
Sorted by
Tagged with
2 votes
1 answer

How to change ControlMode of SharePoint:FormField control on postback (it changes only after the second postback)

I have a control in my ASPX file and a button to do postback: <SharePoint:FormField ID="MyID" runat="server" FieldName="Title" ControlMode="Edit"/> <asp:Button ID="MyButton" runat="server" ...
MikhailSP's user avatar
  • 1,449
1 vote
1 answer

Change context using RenderContext for SharePoint control doesn't work after postback

I am trying to create an ASP workflow task form. It should contain two types of fields: fields from related item (on which WF was started); fields from task (such as Due Date). For that I try to ...
MikhailSP's user avatar
  • 1,449
1 vote
2 answers

How can i get ModalDialog.args in aspx-page codebehind?

I have a button, that opens Modal Dialog using SP.UI.ModalDialog.showModalDialog(options) Options contains field "args". I can read this "args" using window.frameElement.dialogArgs in javascript code ...
Alexey's user avatar
  • 73
1 vote
1 answer

You do not have permission to perform this action or access this resource.<nativehr>0x810200ce</nativehr><nativestack></nativestack>

We are having an odd issue that is driving me up a wall. This is only occurring in the root site collection and it appears to happening MOSTLY (but not only) with people who are in other domains in ...
Robert Kaucher's user avatar
0 votes
1 answer

SharePoint equivalent of Session_End in Global.asax

Is there a SharePoint equivalent of the Session_End method, like the one in a normal ASP.NET Web Application Project? I want to run some code when a user's Session ends, just like you would in a ...
ScarePoint's user avatar
3 votes
3 answers

SharePoint equivalent of Application_Start in Global.asax

Is there a SharePoint equivalent of the Application_Start method in a class that derives from HttpApplication, such as the default Global class that is created when you add a Global.asax to an ASP.NET ...
ScarePoint's user avatar