How to maintain scroll position on autopostback?
How can I get back to the same position of a page on postback. It always seems to get to the top of the page.
How can I get back to the same position of a page on postback. It always seems to get to the top of the page.
I want to take a string and check the first character for being a letter, upper or lower doesn’t matter, but it shouldn’t be special, a space, a line break, anything. How can I achieve this in C#?
So I’m trying to understand IQueryable<T>. A tutorial I’m reading suggests using it but not really sure why. The code simply returns some values using LINQ to SQL. I’ve done this plenty of times in the past, but not using IQueryable<T>
I have this function that gets the fileData as a byte array and a file path. The error I am getting is when it tries to set the fileInfo in the code bewlo. It says ‘Physical Path given, Virtual Path expected’
I have the following Model:
I want to save excel file which export data of grid view. I have written code to export gridview data to excel but I don’t know how to save exported file.
my system admin gave me this:
Its my understanding that the questions in StackOverflow has the following format
Can anyone tell me what are the differences between code beside and code behind in Asp.NET?
I am developing a client-side and server-side validation for a certain viewModel property.