Using site root relative links in Razor
I have a website that is working fine with Razor (C#) all the coding is working properly when I use my local testing (WebMatrix IIS).
I have a website that is working fine with Razor (C#) all the coding is working properly when I use my local testing (WebMatrix IIS).
I’ve been searching on Google and StackOverflow for a good couple of hours. There seems to be a lot of similar questions on StackOverflow but they are all about 3-5 years old.
I am wondering if I can handle a session timeout event. I need to make a function call to my function right before session timeouts or user left my page, or closed browser window. The most important part here is to have access to everything stored during the session, session variables.
How can I get the name of the object last clicked on a panel? The trick is there is a big array of buttons on the panel (btn[1] … btn [200]). How can I check if I clicked on button b[180], or b[11] or even outside the panel (no button)? Also the buttons are generated at page load via coding.
Thank you. Anna
I am having a problem with my sql query in c#, basically it’s inline query with parameters, but when I run it it tells me that parameter 1 or parameter 2 is not there
I am working on an asp.net MVC web application and I need to know if there are any differences when defining the OutputCache for my action methods as follow:-
I have an old webservice build on ASP.NET (using .asmx) files. I need to use sodium.net – unfortunately it fails while loading the dependent libsodium.dll file. Any ideas about what I make wrong?
I have a list of type List<JobSeeker>. I want to store it in ViewState. How this can be done?
My question is simple (although the answer will most likely not be): I’m trying to decide how to implement a server side upload handler in C# / ASP.NET.