Almost done with my menu, but I have a problem I need to remove some parts of it depending on the user. It is ok in firefox but on IE when ever I set an li to display none it leaves a blank space instead.
Thanks.
...
What is the exact relationship, in IIS7 and ASP.Net, between :
IIS Worker processes
Threads
AppDomains
Applications
incoming requests
I'm hoping for an answer in a format similar to :
"Each IIS worker process hosts many appdomains which each spawn a single thread in response to each request...." etc. , and any nuances mentioned.
Th...
Hi,
I have a text box in my page which the user will type something to submit. However, I do not want to have a submit button but instead I want to listen for the Enter key press in order to submit.
The thing is, there will be couple of textboxes in this one page and I only want to submit the textbox that has just been typed into.
I ...
I am trying to develop an asp.net site with multiple subdomains. I am new to web sites in general, and asp.net in particular. However, it seems that wildcard subdomains are properly setup with a combination of dns entries and web server configuration - which isn't going to happen on my development machine. Therefore I'm manually insertin...
I have a table in the database that store 4 category and the structure of the table is ID (GUID), description. I load the category into a dropdown list (asp.net webform) to allow people to select a category and based on what they selected. I'll then display info associated with their selection and hide the others.
Currently, i do a "se...
I need to force the initiation of download of a .sql file, when user clicks a button in my ASP .NET (C#) based web application.
As in, when the button is clicked, a save as dialog should open at the client end...
How do I do this?
EDIT
This is the code I am using
string sql = "";
using (System.IO.StreamReader rdr = ...
I've got an Entity Data Model with Product and Family types. Each Product has one Family.
I'm using this model with an ASP.NET MVC web site. I want Family DropDownLists on the Create and Edit Views of my Product controller.
How Do I Use Entity Object Navigation Properties in a DropDownList on my Strongly Typed ASP.NET MVC Create and ...
I renamed aspx file name but now i can't reach to controls from cs file.
I deleted designer.cs file and created by right click on aspx file with Convert To Web Application. But still can't find controls while i press Ctrl+Space (code intellisense).
...
Does adding a machinekey in the system.web of your web.config cause any performance problems?
I added something like this to my web.config:
<system.web>
<machineKey validationKey="aaa"
decryptionKey="bbb" validation="SHA1" />
</system.web>
and now it seems to run quite a bit slower. I am using firebug to see how fast the page is lo...
Hi,
I'm trying to keep as much OO as possible, but ASP.NET AJAX seems to be doing something strange after returning from the server...
function Person( personId ) {
var id = personId;
var firstName;
var lastName;
this.initializeStep1 = function() {
PeopleServices.getFirstName(id, this.initializeStep2);
}
this.initializeStep2 = fu...
I'm having a problem with using server callbacks to webmethods within an object in javascript...
function myObject() {
this.hello = "hello";
var id = 1;
var name;
this.findName = function() {
alert(this.hello); //Displays "hello"
myServices.getName( id, this.sayHello );
}
this.sayHello...
I have a page and I want to insert 'Some text' on that page, but right after the form tag gets rendered.
Protected override Render renders text inside body tag, but outside the form tag.
Now I have a code that renders like: <body>Some text<form>Rest of the page
And I want: <body><form>Some text, Rest of the page
Is there any way that ...
Hi there,
I realise the RA-AJAX team have some legal stuff going on right now.. although I was eager to try their 1.0 version of the RA-AJAX library...
I'm not sure if I am allowed/can access the library from somewhere else (i.e. another download site etc) or if it is totally banned at this time?? I know it was meant to be open source....
I'm trying to display all selected items from a listbox into a textbox. Currently I'm doing the following without success:
For i As Integer = 0 To lb_words.ListCount
If lb_words.Selected(i) = True Then
tb_text.Text &= " Presto"
End If
Next
What should be happening is that for every selected item in my listbox (lb.words...
I want to use ASP.NET and IIS to download dynamically generated files to the browser to be saved. I don't know the size of the file that will be generated.
In the current form, my code generates data and uses HttpResponse.Write() to send to the client. But the client sees no activity for about a minute, before finally showing the save f...
I'm building an ASP .NET 2.0 (C#) based web application, which is primarily intended for intra-net use, i.e. to be used inside an organization's Local Area Network.
With respect to the User Interface, there are 2 approaches which I need to choose from.
Build a 1 page web app, with lots of ASP .NET AJAX 1.0 controls (modal popups) to s...
I have an "Edit" action and an "Edit" view to allow users to update a certain entity in the database.
It's database type is "XML", and the DataContext (I'm using Linq-to-SQL) represents it as a property of type "XElement".
In my view, I render a text-area from the "ToString()" output of the propery like this:
<%= Html.TextArea("Text",...
This is my first bash at using extJS, and after a few hours of struggling, some things are working OK, except I have combo lists that I can't filter down to less than 2000 items in edge cases, so I'm trying to page the lists through remotely, but I must be doing something wrong.
My data store and combo look as follows:
var remoteStore ...
Hi,
When I'm trying to call an ascx with Jquery post I get:
"This type of page is not served"
I think it's something to do with the IIS not allowing calls directly to ascx.
Is it possible to allow posting to ascx?
I have IIS6.
Thanks.
...
Is there a difference between these two scenarios:
(1) Accessing a property on a master page from a regular child
(2) Accessing a property on a master page from a nested master page
I tried to access a textbox in the master page from a content page like this:
TextBox a;
a = (TextBox)Master.FindControl("ayyash"); // Master is declared...