Tag Archives: ASP .NET

FileUpload in UpdatePanel

Want to include a FileUpload in UploadPanel using Ajax-enabled ASP .NET WebForms? You need to do two things: Set encoding type to the form element to multi-part: <form … enctype=”multipart/form-data”> Add a non-async postback trigger on the UpdatePanel for the button that … Continue reading

Posted in ASP .NET | Tagged , , , , | Leave a comment

Graph API access tokens and ASP .NET session expiration

Let’s assume you have created an ASP .NET-based Web application using the default Visual Studio project template, and that you have set up authentication to be based on Work and School Accounts (i.e. Azure based), supporting multiple tenants, and targeting Office … Continue reading

Posted in ASP .NET | Tagged , , , , , , , , , , | Leave a comment