Does IIS Make Use Of TCP Keepalive Option
Sep 30, 2010Does IIS / ASP.NET make use of TCP keepalive option? What are the config parameters that affect it's use?
this question is not about the HTTP Keep-Alive option.
Does IIS / ASP.NET make use of TCP keepalive option? What are the config parameters that affect it's use?
this question is not about the HTTP Keep-Alive option.
How do you use JQuery to make an option in a <select> object selected? Here is my <select> :
[Code]....
How do i make the default entry in a dropdownlist not selectable? Right now I have a drop down and the users are able to select the default option that says (Select one)...here is what my code look like. I hard coded my options in there cause the list is really short and won't change ever. Right now, users can select the default entry and add it whatever list they are generating on the page...and I would like to make that default visible but not selectable.
[Code]....
I have seen in so many sites on the home page there is a search option and after searching any word of the website it displays and in w3schools it navates to goolge with his reference.
How to write a code for the same and which control we should use.
I have a hyperlink to an executable like so: <a href="xxx.exe"> Run Now </a>
I'm trying to make the download dialog box appear without the save function as it is to only run only on the user's computer.
Is there any way to manipulate the file download dialog box? FYI: Running on Windows Server '03' - IIS.
I have a dynamic dropdown that is populated from sql. The user is supposed to select an option from the dropdown, then click a search button on the form to return some results based on that selection. It works fine if the dropdown gets populated with more than one record. However, if only one record is returned, that one record can't be selected. Whether you select it or just leave it alone since it's the only one, when you click the form button (search button), no results are returned b/c the dropdown selection must not be actually selected.
I've included the relevant code below. First the DDL, then the datasource, and finally the C# code in the if (!Page.IsPostBack)
[Code]....
I would like to make a custom accordion, in which I have 2 panes, but where you couldn't open the second one until you clicked a validation button in the first one that would open the second...
I tried to just make a button that would hide the first pane but I cant get to make it work.
[Code]....
[Code]....
I have a user control is shown through a SimpleModal popup (JQuery), this user control gets some data from database and displays them (the details of a record).
The problem is that this user control makes a round-trip to gets the data every PostBack for the parent page even it's hidden.
I wonder if I could make it gets its data only if the popup is appeared.
I tried to put it inside a Panel with false for Visible property and change it to true when I open the popup, but it stil call Page_Load which gets the data from database!
I installed Visual Studio 2010 (ultimate). When I click on New Project-> Visual Basic (or C#)-> Web, the only options i get is AjaxControlExtender, AjaxServerControl and ASP.Net Server Control. How do i get the ASP.Net WebApplication option to show up?
I have to convert some classic ASP code into ASP.NET Here is the scenario:?id=1234 , Page1 has two iframes frame1->frame1.asp?id=1 , frame1 has some buttons clicking on which will decide if to allow user to print info in frame2.frame2->frame2.asp?id=1, frame2 has detailed info about id=1 which needs to be printed based on action taken in frame1.Is this approach still the best one or are there any other better options?One option I can think of is replacing frame1 and frame2 by UserControls.
View 3 RepliesHow can one give the option of RSS Feeds on site?
View 5 Repliesim using .Net framework 3.5 and ive successfully installed AJAX Control Toolkit 3.5 with it. but, for some reason, im unable to use the controls in it ... ive added the script manager as well ... im trying to add calendarExtendar in a textbox. I dont seethe "Add extendar" option with the textbox, neither am i able to drag/drop the extendar onto the textbox.
View 5 RepliesI have a page with 4 option query string. I wan to show SEO friendly URL with all four query string. I have configured as follows in global.asax file:
routes.MapPageRoute("commercial", "real-estate/commercial/{state}/{dist}/{location}/{seoTitle}.html", "~/Commercial.aspx");
the page can be display like:
- [URL]
- [URL]
- [URL]
- [URL]
So my question is, shall I need to configure separately for each link and that this will work for above said scenario?
I am just starting to learn MVC and have installed NUnit to use for testing. The NUnit option does not appear when creating a new MVC app, so I followed this tutorial
http://www.nikmakris.com/blog/post/Setting-Up-ASPNET-MVC-with-NUnit-for-Visual-Studio-2008-Standard-Edition-Visual-Web-Developer-Express-2008.aspx.
However, when I run devenv /setup it doesn't work (says it does not exist) and so I cannot install the NUnit template. Surely there is something else I can do to be able to install the templates?
I have 2 different lists: EmployeeNames and Names. I read the values in Names and that of EmployeeNames.
If EmployeeNames exists in Names, I must not add that value to "ToSelectBox" but to "FromSelectBox".
If EmployeeNames doesn`t exist in Names, I must add that value to "ToSelectBox" but not to "FromSelectBox".
How can I do that dynamically?
I have 2 option values as follows:
<select id="fromSelectBox" multiple="multiple" >
<% foreach (var item in Model.EmployeeNames) { %>
<option value="<%=Html.Encode(Item.Text)%>"><%=Html.Encode(item.Text)%></option>
<%}
%>
</select>
select id="ToSelectBox" multiple="multiple" >
<% foreach (var item in Model.Names) { %>
<option value="<%=Html.Encode(Item.Text)%>"><%=Html.Encode(item.Text)%></option>
<%}
%>
</select>
How to add chat option to asp.net website.How to create chat that shows online users.
View 1 RepliesI have Wizard steps in a a Wizard control. Each step looks like a form with textboxes and dropdowns for users to complete. I don't want to lose the data as user completes each of the wizard step.
1. I'm thinking about saving user input to sql database when user clicks the next button with each wizard step but I wonder if this is wise since it would create many runs and writes to the server? If not the best way then what method should I use? I just don't want user to lose data if browser crash or for any reason.
2. Or should I use the DataBinding option in the Wizard? Would this be a better performance?
3. Another concern I have is that there are on average about 7, 8 HTML-Server CONTROLS (I added id and Runat="server" to the regular html controls) in a wizard step. If I load up all 7 steps and each step has 8 controls then is that a lot of controls? Wouldn't that affect performance easily when there are a few more users access this web app? Maybe I shouldn't use Wizard for this then? I should just have 7 forms and each form would have Next and Prev buttons that takes users to whatever page they want?
hw cn i give print option on web page like say i hv to print a marksheet in defined format.
View 3 Repliesmy table got around 15 columns and 50 k records.
which controls will be most efficient.
Gridview, datalist , repeater , detailsview , listview
There are considerations -
1. Should I use paging
2. If I am using repeater , is there any option to create the itemtemplate at runtime.
I have a list of options (IEnumerable< SelectListItem >) in my model that I want to use in multiple dropdowns in my view. But each of these dropdowns could have a different selected option.
Is there an easy way to simply specfiy which should be selected if using the Html.DropDownList helper?
At this point, the only way I can see is to generate the html myself and loop through the list of options like so:
[code]....
I want to give filter option in Gridview. I want to give the user a view that is similar to excel. Although i want textboxes in the header of the gridview. Thus i want to make a usercontrol or custom control for a gridview.
View 3 Repliesi want remove the select using jquery how do it
View 4 Replieshave a dropdownlist (ddl2) which is dependent on the selected value of another dropdownlist (ddl1).I have set the appendatabounditems to "true" for ddl2 and have added a "Please Select" and a "Select All" options. The Options show in the list when the page first loads. When ddl1 is selected the page refreshes and ddl2 is populated, however the "Please Select" and "Select All" options have disappeared.
View 7 Repliesiam working with asp.net mvc ,i wants to work with json flexgird, i want to use add,edit option inside the flexgrid. pls give some sample code, using jquery
View 5 RepliesI am making my custom jQuery plugin whose code is this:
[Code]....
My question is that how can I make item4 value to be compulsory? I want that user must enter value for Item4 . In my plugin I need to do some operations with item4 so how can it be made compulsory. I will be having one or more items too which should be compulsory. Is there any way by which I can warn user if the that value is not passed by the user ?