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

learn more… | top users | synonyms

3
votes
3answers
2k views

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 ...
1
vote
1answer
3k views

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 ...
1
vote
1answer
533 views

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 ...
1
vote
2answers
2k views

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 ...
1
vote
0answers
653 views

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" ...
0
votes
1answer
708 views

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