I am thinking on the following approach but not sure if its the best way out:
step1 (server side): A TaskMangaer class creates a new thread and start a task.
step2 (server side): Store taskManager object reference into the cache for future reference.
step3 (client side): Use periodic Ajax call to check the status of the task.
Basical...
I'm encrypting and Base64 a string. Everything works great, until I retrieve the encrypted string from the QueryString collection. The Encrypted text contains a plus symbol. When I retrieve the encrypted string, where a plus once was there is now a space. As you can imagine this doesn't decrypt.
I have tried both Server.HtmlEncode/HtmlD...
What is a HttpHandler in ASP.NET, why and how is it used?
...
I am currently working on a website that is an advertisement portal for businesses. Advertisers can create an account, select various options for listing (State, caregory, etc) and upload a graphic is measured in a multiples of an "unit". An "unit" is an image or a flash file that is 180px wide and 120 high. An advertiser can choose mult...
I have an application thats going to use Active Directory for Authentication. This will be used in mnay locaitons, so I want the user to be able to input their AD domain into a settings file.
So, the first time they run this app, they won't be able to login, because they haven't entered the AD Domain name, so want I want to do, is check ...
I have a DataBound GridView. However I have one column where the value comes from a calculation in the code behind - it is displayed within a TemplateField.
How can a sort my grid based on this calculated value ?
...
I'm looking for a book that can help me setup up web applications using ASP.NET. I'm not looking so much at the coding side (i.e. C# or the .NET framework) of things, but rather the actual building up of a website from scratch. So perhaps the book is more HTML/Javascript/CSS.
So basically, I have a 'blank piece of paper', and I want to ...
How to create a pragraph <p> tag in ASP.NET using the HtmlGenericControl class?
...
I have a custom user control that contains asp:ValidationSummary. It is placed on a page along with other controls that display data. When I try to save the page and the validation fires, I get the following, strange behavior:
If I mouse over any controls on the page, all labels turn to red color, when the cursor leaves page, they return...
I have an application where it was requested that a friendly url be made for a dynamic page that uses a lot of query string values. After some research on the Internet, I found that I needed to create either an HttpModule or HttpHandler to do the routing and then setup a wildcard mapping to the .Net v1.1 of aspnet_isapi.dll in IIS (remo...
i get the error ... Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\cbnonreg\fc933fca\bbf91eea" is denied... whenever i try to access my newly deployed site. I looked at the path and discovered that .../cbnonreg\fc933fca\bbf91eea does not exist...
please what can i do?
Idis.
...
I have a page for searching and the search result will be shown in gridview control. I have a button called Clear to clear out the search result in gridview and also the text box where user enter the search criteria.
At first, i did the Clearing by doing page refresh print("Response.Redirect(~/blah/search.aspx");but i'm not sure if tha...
Is there an elegant solution for synchronizing sessions across multiple ASP.NET applications? I'm sure this could easily be considered a security hole, but there is a 3rd party ASP.NET application involved, for which there is no ability to extend. For this reason, a second [related] site is being developed, but will require direct acce...
A client of mine is needing their current website to tie into an online leasing module off site.
The module needs to be accessed from our website by posting the username and password hash to it, or the registration information.
It works when I copy the view state manually from the source into the form they fill out on our system, but n...
What is the suggested pattern for providing realtime UI updates in a web application? For example, whilst answering a question on SO and another user submits an answer and a prompt appears. Also, if every page in your site provides this function, how do you avoid overloading the server with too many AJAX calls?
...
I see on the web there are a lot of questions about caching ASP.Net, but not a lot of discussion on caching options for a Smart Client Application and their databases.
What are the data caching options that are available for Smart Client Application on the .Net framework, and how are any of you using them?
Edit
Enterprise Framework ...
I get intermittent "Object reference is not set to an instance of an object" errors when uploading PDF files in FCKEditor in DNN 4.9.
Here's the error:
AssemblyVersion: 04.09.00
AbsoluteURL: /.../Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET C...
Hi guys,
What are the basic differences between classic .cs-aspx.cs-aspx (code behind/beside) model and new MVC model?
regards,
2 Steps Solutions guy.
...
I'm trying to add a CSS class to the Control that will get the focus, once a page is rendered. While the SetFocus() method of the Page class lets me set the Control, there is no corresponding GetFocus() method.
According to the .Net sources, the information is stored in the private member _focusedControl of the Page class. The property ...
I see lot of example opening popup with jquery but don't see anything that will let me open new page in popup(modal dialog box). Any help is appreciated.
What i am trying to do is when click on item it will open item description page in model dialog box calling an url for detail page. I am using asp.net, would like to use jquery if has...