Hi everybody,
I want to get the os version that the browser opens, actually my project is an asp.net project and i want to know which operating system runs on the client but there is a question about it. Because the client will use xp but at the same time will use Windows CE 5.0, so the internet explorer in Windows CE is not as good as ...
I currently open a pop up window from my parent page using using a JavaScript .showModalDialog function. The pop up window contains some ASP.NET validation controls which do not display when the user clicks the ASP.NET button to submit the form. If there is an error on the page, the validation message(s) do not display, the record is n...
Working on our restricted system means I cant drop class librariess into the app_bin/bin/App_Code basically any normal folder, so I'm currently linking to my class library as follows...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="~/cs/codebehind.cs" Inherits="codebehind" %>
<%@ Assembly Src="~/cs/mycodelibrary.cs" %>
The ...
I've got an ASP.NET (VB.NET) page that has an Infragistics grid on it. One of the columns is called 'status'.
When I load the grid, I'm setting permissions to the fields at the column level, granting user roles (ENUM 'UserTypes') read/only or read/write permissions.
Next I need to loop through each row and assign permissions based upo...
We have a single ASP .NET application running on a single web server (no farm). For now, we're using the default 'InProc' session storage. Is it worth considering using the ASP .NET state service instead? If we went that route we'd likely just run the service itself on the same machine as the application, so making calls out over the net...
I have an AutoCompleteExtender AjaxControlToolkit control inside a repeater and need to get a name and a value from the web service. The auto complete field needs to store the name and there is a hidden field that needs to store the value. When trying to do this outside of a repeater I normally have the event OnClientItemSelected call ...
A client has an asp page with an iframe. The Iframe loads an asp.net page inside the asp classic page.
The ASP.NET page is responsible for connecting to a webservice, displaying some data, and then when the user clicks a button it does a response.redirect another classic asp page.
Since the asp.net page is in an iframe, the asp page l...
I need to redirect to a url passing a parameter as a query string.
This can include an Ampersand in the value. such as
string value = "This & That";
Response.Redirect("http://www.mysite.com/?Value=" + Server.UrlEncode(value));
This howerver returns http://www.mysite.com/?Value=This+&+That
What should I be using to encode this st...
Is there a way to get the DataGrid control to render the tbody and thead HTML elements?
...
I've created a copy of our legacy, (decrepit) homegrown Timesheet ASP application on to a different, newer workstation for backup purposes.
I've finally got it to the point where I can run it locally over http, using this address:
http://localhost/timesheet/Timesheet.asp
I would like to test it over the network with an address like ...
I include a JS file in a user control. The host page has multiple instances of the user control.
The JS file has a global variable that is used as a flag for a JS function. I need the scope of this variable be restricted to the user control. Unfortunately, when I have multiple instances of the control, the variable value is overwritten...
I have a asp.net web app that uses themes, iframes, and master pages. I've analyzed the pages with IE Web developer and FF Firebug and noticed that every page references the same css file twice. I don't know if this is because of the master page model or because of the iframe. Anyone have any idea on how to reference the css only once?
...
I have written some code that uses an Access DB, on my localhost the following - Select, Insert, and Delete queries work just fine and do what I programmed them to do. When I move the application to the staging server, the application throws errors when Inserting and deleting, however the select statements work just fine. I have made sur...
Seems there are some problems using asp.net regular expression validators where they work in firefox but not in some flavors of i.e. (and maybe vice-versa, I don't know).
Anyway, anyone have a replacement for this:
([a-zA-Z1-9]*)\.(((P|p)(D|d)(F|f))|((d|D)(o|O)(c|C)))
To basically match any filename/path with a PDF or Doc extension?
...
I keep reading about html helpers for images and a lot of other useful controls. The problem is I only get a few in the intellisense. I only get about 18 and they all seem form orientated (radionbutton, dropdownlist, beginform, etc)
My web.config has the folowing:
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=ne...
I know how to upload with ASP.net's FileUpload control.
What I want to do is use this jQuery Multiple File Upload Plugin to upload multiple files.
Here is exactly what it does when multiple files are selected for upload:
<input type="file class="multi MultiFile" id="MultiFile1_F3" name="file1[]" style="position: absolute; top: -3000px...
context.Response.ContentType = "text/plain";
context.Response.Write(returnString);
If returnString is NULL what will it pass, or will it fail?
EDIT: The question was if it is possible, the above was just an example which I realize I could have tested. However I am looking for any other possible ways to do this beyond just my code exam...
I have a parentUserControl that loads a childUserControl. Multiple instances (say 3) of parentUserControl is added to the host page.
On PageLoad of the parentUserControl, I register JS:
ScriptManager.RegisterStartupScript(this, typeof(Page), keyJSLoadBegin, "OnParentLoad();", true);
On PageLoad of hte childUserControl, I register JS:...
In our asp.net 2.0 web application, there is a user control with validation. For some reason, when the validation fails, the pages looks fine, however, no controls (asp buttons, scroll bars, or third party like Telerik text editor) respond to mouse inputs. The only work around is to resize the browser window which will make the UI respon...
I created a simple page with an UpdatePanel, inside that I have a couple of asp Panel controls, all with the Visible property set to false except for one. When the user clicks on some buttons on the side menu, the Visible property switches between the Panels being displayed, giving the user the cool & slick ajax feel.
On the scriptManag...