I'm trying to use Telerik's RadSpell to spellcheck some text when the user submits it.
The way this is supposed to work is by stopping the postback, triggering the spellcheck through javascript, then in the spellcheckfinished event manually starting the real postback. The problem is that in the last step the Clicked event isn't firin...
I've the opportunity to do a project with Dynamics AX 2009 and am now investigating the possibilities of creating a ASP.NET website/application that interacts with AX 2009. I’ve been searching a bit and found some video’s and info, but I can’t find some actual API/Webservice documentation or tutorials to start with.
Does anyone have som...
Hi all,
I am facing problem with database connection. As I know if we create new user, using Create UserWizard control and after running it if we refresh the refresh button from solution explorer,aspnetdb.mdf will generated automatically under app directory.But in my case its not happening.I mean aspnetdb.mdf is not generating. Once I su...
Hello all -
I have a custom control (compiled as a DLL) which loads a user control. (i.e, the custom control does a LoadControl) In the user control is a button and a textbox. I wire up the button's click event.
I type in a value into the text box. When I click the button, the page does a postback. My user control knows that a postbac...
I have a website that has several PDF files. I need to have quite a few of them locked down with the standard ASP.NET authentication (in a folder with web.config that denies anonymous users).
I set PDF files to get handled by the ASP.NET worker process and added:
<add type="System.Web.StaticFileHandler" path="*.pdf" verb="*" />
to m...
Hello,
A couple of questions regarding the role of global.asax:
Why is it not included in the Website Project in Visual Studio? Are there other ways of achieving the same functionality without this file?
If I would create a Web Application project, as far as I remember, a global.asax file would be created. If I were to delete it, would...
I must be missing something...
So I am in the process of figuring out the best way of encrypting the database connection string and sql session state connection info in web.config. I quickly find a walk through on msdn explaining using protected configuration to encrypt parts of the web.config:
MSDN walkthrough on using Protected Config...
I have a website that is built in ASP.NET 3.5 & SQL Server 2005, using the sql membership provider, and presumably forms authentication.
Since security needs on my site are very low, I would like to authenticate once, and then keep the log in persisted indefinitely (without giving the user the choice).
What is happening is that the use...
I am using multiple queries to pull data from the same server in my application. The issue is that I have to open a new connection every time I have a new query.
Is it even possible to:
Open the connection
Run query
Pull results
Run another query
Pull another result
Run final query
Pull another result
Close connection.
...
I use a GridView to bind using a ObjectDataSource using the DataSource property. Now, the problem is that I've a integer field which is shown like below:
<asp:GridView ... DataSource="MyObjectDataSource" OnSorting="MyGrdView_Sorting" >
<Columns>
<asp:BoundField DataField="IntegerField" Visible="False" SortExpression="IntegerField" />
</...
Hi
I have an ASP.NET(2.0, C#) web application, and I wanted to know how to display all the general errors that could occur on the master page using divs.
For example if there is an 'add new user' page, all the fields that had problems will be shown something like this:
The following Error(s) Occured:
...
...
I am using a master pag...
Okay, this is a bit abstract, but here goes:
I'm creating a website and I want to have a field, "foo", that I can access from any page on the site. I figured the best way to do this would be to create a subclass of Page called "bar", add the protected field "foo" to it, and then have all my webpages inheret from "bar". Ta-da. Every ...
Developing an ASP.Net website.
Running IE8.
Need to test website under IE6.
MultipleIE6 install broken by IE8 install (can't type in textboxes, yes I deleted cache, yes I re-registered the dll's).
Created VPC running IE6.
Can't connect to host WebDev.WebServer.exe.
Is there any way to configure WebDev.WebServer.exe so that it will acc...
I am creating an ASHX that returns XML however it expects a path when I do
XmlWriter writer = XmlWriter.Create(returnXML, settings)
But returnXML is just an empty string right now (guess that won't work), however I need to write the XML to something that I can then send as the response text. I tried XmlDocument but it gave me an erro...
I've got a tree view that can be anywhere from 1 level deep to nearly 6. Each node can be just a few letters or a couple of words totalling up to 20-30 characters.
How do I find the largest width of one of the node's text and add its depth offset to set the width of the treeview so it doesn't go through my borders?
If I need to add mor...
Do you guys know about an ajax toolkit (or something similar to the m$-ajaxtoolkit) for mono??
...
Hi and thanks for reading.
I am using the ICallbackEventHandler interface to do some client-side processing in an ASP.Net page (VS 2005). Everything works as expected except under the following situation. I created a User Control (.ascx) that also uses ICallbackEventHandler and placed it on the aforementioned ASP.Net page. Now, the R...
I have a user control, on load of which I have some data from the database. A user can manipulate the data in different ways (CRUD). The process of manipulating data can cause server side events or at the client side. Then there is a save button on the page that eventually processes the temporary data and writes it to the database.
I am...
I'm using SqlMembershipProvider and trying to get information about users using the GetAllUsers's method of the System.Web.Security namespace, but it doesn't retrieve any online user.
I'm logged into the application, but my user appeared as offline too.
Why could this happen?
...
Using ASP.Net, JQuery and BlockUI, I'm trying to unblock the UI after a download file dialog is shown.
I block the UI when export button is clicked:
<script type="text/javascript">
$(document).ready(function(){
$('#<%= BtnExport.ClientID%>').click(function(){
$.blockUI();
});
}); ...