Home All Groups Group Topic Archive Search About

ASP.NET Development

microsoft.public.dotnet.framework.aspnet
Score license a server control in ASP.net 2.0
Jon Paal - 11 Mar 2006 11:28 PM - 1 message
Without buying a product , can one license a server control in ASP.net 2.0 ? ...
Score ValidatorEnable doesn't?
Bill44077 - 11 Mar 2006 11:22 PM - 3 messages
Hi, I have a couple websites that use the ValidatorEnable(CompareValidator1, false) to disable the validator from firing on testing some conditions in js. My latest site is using masterpages so getting the control name is a little more complex since it gets it's name mangled. None the less - I can get the ...
Score Asp.net 2.0
barry - 11 Mar 2006 10:57 PM - 12 messages
I have just installed Visual Studio 2005 and would like to know if you are suppose to be able to execute asp.net from within VS or do you have to use Visual Web Developer. I do not find any templates in VS to create a web site. ...
Score asp:Label rendering as <span> in IE :(
garthb - 11 Mar 2006 10:27 PM - 6 messages
Hello, I have a site which I've been developing locally with VS2k3 Pro.  I have some browsercap information in my web.config to help identify Firefox as an upscale browser.  It works great locally.  Labels render ...
Score Changing page bgcolor from code (repost)
GaryDean - 11 Mar 2006 9:50 PM - 13 messages
In the original post I failed so indicate that I am using framework 1.1....... I need to be able to change the background color of a page from code.  I found an answer to this question in another forum from Peter Huang that said ...
Score dynamically loading webservices
Alexandre - 11 Mar 2006 8:07 PM - 1 message
Hi I was wondering if it was possible to completly enclose a webservice in an assembly and dynamically enable this webservice through an http handler of some sort ? this would mean not having the publicly accessible asmx file. This could also be acheived via remoting. but I still would love the ...
Score Changing Page bgColor from code
GaryDean - 11 Mar 2006 7:01 PM - 7 messages
I need to be able to change the background color of a page from code.  I found an answer to this question in another forum from Peter Huang that said that an id="bg"  as follows... <body MS_POSITIONING="GridLayout" runat="server" id="bg"> ...
Score How to prohibit bypassing a required page?
antonyliu2002@yahoo.com - 11 Mar 2006 6:04 PM - 5 messages
Let me try to make clear what my concern is.  I think it is a pretty interesting one, which I think of while I am developing my web application. I have an authenticated/authorized web application.  People have to ...
Score Substitute Values in Column in Gridview
Wayne Wengert - 11 Mar 2006 5:14 PM - 2 messages
I have a Gridview bound to an SQLDataSource (see code below). The value of the "DayOfWeek" column is actually an integer where 0 = Daily, 1=Sunday, 2=Monday, etc. How can I change what is displayed in the column from values ...
Score q: link textbox to column
JIM.H. - 11 Mar 2006 4:05 PM - 1 message
Hello, This is how I get column name and value from a table in a loop: colName=myReader.GetName(i).ToString(); colValue=myReader.GetValue(i).ToString(); now there is a textbox in my web application for each column where the names ...
Score odbc adapter syntax HELP make it do the update
cindy - 11 Mar 2006 3:44 PM - 2 messages
this is the call private void Page_Load(object sender, System.EventArgs e) { OdbcConnection connection = new OdbcConnection    ("DSN=PFW52"); CreateDataAdapter(connection); } this is the code, no errors, but NO UPDATE I have to use ODBC I just need to update a field based on a key, EMBARASSED to say days going ...
Score How can I get an existing Thread
Shawn - 11 Mar 2006 3:43 PM - 2 messages
Hi. I have two pages, page1.aspx and page2.aspx.  In page1.aspx I start a new thread that starts a process that might take 1-2 minutes.  I want to use page2.aspx to check the status of this thread.  How can I retrieve the ...
Score Can run after publish
ad - 11 Mar 2006 2:18 PM - 2 messages
I have finished develop my WebApplication. When I publish my WebApplication by Publish Web Site to a web server, it can not run on the web server, with error message below. But if I copy my whole web application to server, it can run. ...
Score Special directives for 1 cs file to refer to another
Adrian - 11 Mar 2006 1:25 PM - 2 messages
Hi ,     I am writing some codes in a codebehind cs file and I need to access another class in another cs file. How do I do that ? What special directives do I need ? Please advise. Thanks. Regards, ...
Score q: text editor
JIM.H. - 11 Mar 2006 1:11 PM - 1 message
Hello, I would like to realize a simple text editor in my web application, who can I do it? Is there any sample code I can check? ...
Score it's really important thing to solve
uto - 11 Mar 2006 1:05 PM - 3 messages
it's really important thing to solve please give me some advice i made some usercontrol included some fuctions this fuction require some parameters liike currentpage , pageCount, and pageSize and then it attached into default.aspx like this           <uc1:uc_pager ID="Uc_pager1" runat="server" ...
Score Binding problem
A.J - 11 Mar 2006 12:51 PM - 1 message
There is a : 1.DataGrid: Columns-->firstName,LastName,EMail,PhoneNumber 2.GroupBox: controls-->4 TextBoxes(firstName,LastName,EMail,PhoneNumber) 3.Both DataGrid and GroupBox are binded to the same datasource(Dataset) and Share the same BINDINGCONTEXT ie on clicking a record in the ...
Score Why calling Button_Click() behaves differently from really clicking the button?
charles - 11 Mar 2006 12:44 PM - 4 messages
Hi: In my page I need to re-start a thread. I put the code into a Button_Click(sender, e) handler. When I click the button, it works. Then I call this handler inside a timer's handler timer1_Elapsed(object ...
Score Development Tools! Everyone!!
Adam J Knight - 11 Mar 2006 10:02 AM - 3 messages
Hi all, Just a quick enquiry to all gurus out there. And the general developer community out there.. At the moment my little toolkit for developing web applications consists of 2) Visual Studio 2003 3) SQL Server 2000 4) MySql ...
Score <uc1:uc_pager ID="Uc_pager1" runat="server"
uto - 11 Mar 2006 9:14 AM - 1 message
<uc1:uc_pager ID="Uc_pager1" runat="server"                       CurrentPage="<%=page%>"                       PageCount="<%=pageCount%>" ...
Score How to rewirte URL from no extension to .aspx
baroque Chou - 11 Mar 2006 8:19 AM - 2 messages
e.g. http://yoursite/abc   to  http://yoursite/abc.aspx?? many many thanks ...
Score Change Virtual Directory Property
Just D. - 11 Mar 2006 7:48 AM - 5 messages
How can we change the property of one subdirectory of the Virtual Directory? One of the directories should be granted "Write". Should we delete this Virtual Directory to recreate it with the required property or there is some way to do that? What I see now is a poor ...
Score input initial date into usercontrol
uto - 11 Mar 2006 6:59 AM - 3 messages
<uc1:uc_pager ID="Uc_pager1" runat="server"                       CurrentPage="<%=page%>"                       PageCount="<%=pageCount%>" ...
Score Access Oracle 10g using ASP.NET
noor - 11 Mar 2006 6:48 AM - 2 messages
HI Now a days I m building a web site using ASP.NET with Oracle 10g 10.1.0 as back hand . I have set uped the server well but when i Tried to connect through that server programaticaly from different pc. i give me an error . ...
Score Visual Studio
Progman - 11 Mar 2006 6:39 AM - 3 messages
I have Visual Studio 2005 Standard edition. Is ti the same thing as the Express edition or Standard is more? ...
Score DOCTYPE Strict uses "correct" box model - so why is 100% width now useless?
Shadow Lynx - 11 Mar 2006 6:20 AM - 2 messages
Consider this simple HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN" "[link]"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> ...
Score ASPNETDB
Progman - 11 Mar 2006 5:06 AM - 1 message
I used ASP.NET configuration and created roles and users. Now that I will deploy my ASP.NET system, I will copy my SQL Server database to the host one. But what should I do with the ASPNETDB.mdf? ...
Score HyperLinkColumn
Sonny Sablan - 11 Mar 2006 3:42 AM - 3 messages
I am trying to set two querystring variables in a HyperLinkColumn's DataNavigateUrlFormatString... I am aware of HeaderText="Name" DataNavigateUrlField="i" DataTextField="n" DataNavigateUrlFormatString="ListDetails.aspx?lid={0} But I have a need to set two variables ListDetails.aspx?lid={0}&sw= (this is what I need help with) ...
Score Mouseover/Mouseout for Gridview cells
Matt Colegrove - 11 Mar 2006 2:18 AM - 3 messages
How does one set a Mouseover/Mouseout event on a cell in a GridView?  I can successfully assign these events to be active on a row in a GridView. I can do this with a DataGrid, by adding code to the OnItemBoundDataGrid event ...
Score install visual studio .net 2003
c676228 - 11 Mar 2006 12:56 AM - 3 messages
Hi all, I just set up vs .net 2003 on my lap-top(op-wondows xp w/sp2) After I download MSDN CD1 from msdn subscirption download. I installed and but I cannot use any help from vs.net, it always come up with "page cannot ...
Score names for html colors
Tina - 11 Mar 2006 12:48 AM - 3 messages
how can I find out the name of the html color #COFFFF.  More specifically I need to find a way in code to convert any html color to the english name. ColorTranslator doesn't seem to do it. Thanks, ...
Score Create new Style classes from code?
T. Wong - 11 Mar 2006 12:36 AM - 1 message
In styles.css which is the standard css file that vs.net creates, I want to create new classes but I want to do it from code at run time - not at development time.  Can this be done in an object oriented manner or will I ...
Score Please Help: File Deletes Cause Loss of Session Variables
Joey - 10 Mar 2006 11:58 PM - 3 messages
Does anyone know why I lose all of my session variables whenever I delete files on the server using code in my asp.net web app? I have seen a few scattered posts about something called a filechangenotification causing this. ...
Score Caching data coming from a Web service
Michael - 10 Mar 2006 10:17 PM - 1 message
Hi all, I have a Web app that calls a Web service to get back some data that very rarely change, like a lookup table to populate a dropdown. I'm wondering how best to cache that data. Can CacheDependency help here? My ...
Score Application loads very slow !
abcd - 10 Mar 2006 9:27 PM - 1 message
I have web applicaiton writting in asp.net 1.1. When the first page loads it loads the data only in 2 controls. The data is poped upo by acooneting to access DSN and using ODBCConnection and executereader. With simple queries ...
Score Perplexity on relation over a select count
andrea - 10 Mar 2006 9:19 PM - 2 messages
I need to get the child of parent/child relation and I've some perplexity about the best method to use. The classic (select count(*) id from table where id = a.parentid) nested into a select generate a lot of ...
Score Getting calling URL
GenCode - 10 Mar 2006 9:02 PM - 5 messages
I would like to get the calling URL or IP, basically to log where people came from to get to my site, like if they came from yahoo or google etc. Is there a way I can do that? Thanks, Ed, ...
Score Data layer experts - Please Help!
William Buchanan - 10 Mar 2006 8:50 PM - 11 messages
Hi folks Can anyone point me in the direction of any information on how to make a data layer which will work with the new ASP.NET 2.0 data components (GridView, etc)? The reason I ask is because I want to have my data layer in a totally ...
Score Datagrid: Option Strict On disallows late binding -- HELP
Owen Mortensen - 10 Mar 2006 8:47 PM - 8 messages
(This code was working in asp.net 1.1 VS2003. After upgrade to VS2005, chokes): in the aspx file: <ItemTemplate> <asp:datagrid id="dg_instr" runat="server" AutoGenerateColumns="False" HeaderStyle-Font-Bold="True" CellPadding="0" CellSpacing="1" Font-Size="Small" BackColor="Transparent" ...
Score Event from Control embedded in another control not firing on web form.
scotprince@gmail.com - 10 Mar 2006 8:44 PM - 1 message
Hi, I am hoping someone here can help.  I have one custom control called "MyButton".  On another custom control (CC2) I dynamically create a table and add the "MyButton" control to a cell or cells depending on what happens on the web form. Then I embed CC2 onto a web form and ...
Score Transformation To Windows 2003 Server
ahmad basheer - 10 Mar 2006 8:34 PM - 3 messages
Hi, I transfered my Asp.Net web application to win 2003 server under IIS ,but the problem that every time i requested the page an error "the page couldn't be found" appeared. and if i put an HTML page inside the directory it works but .aspx page ...
Score Referencing Checkboxlist values
tjonsek - 10 Mar 2006 8:24 PM - 2 messages
I am wanting to iterate through a checkboxlist and for those the user has selected, perform certain actions. So far, I'm not successful. I always catch the first selected value, but anything after that is not regarded. Here is a snippet of the code: ...
Score RequiredFieldValidator
jonknutsonhome - 10 Mar 2006 8:21 PM - 5 messages
Does anyone know exactly how a RequiredFieldValidator works? Here is my situation. I am now in charge of a new project. I am making a new contactus.aspx page with required fields. Easy to do, not an issue. The left navigaion has a user control (Newsletter Signup Control) that ...
Score Listbox Controls
Eelyak - 10 Mar 2006 8:19 PM - 1 message
classic vb6/asp perp here but have a asp.net issue i am having. it boils down to this. 2 listbox with --> buttons and <--- to move entry's back and forth. its an attendance sheet. the ..value="(studentID)" when i move them --> html source looks fine.. ...
Score Active Directory
Ernest Griffin - 10 Mar 2006 7:12 PM - 10 messages
I am trying to determine if the logged in user belongs to an Active Directory Group.  I have started with these code snippets:     WindowsIdentity id = WindowsIdentity.GetCurrent();       IdentityReferenceCollection irc = id.Groups; ...
Score Excel MROUND(num, multiple)
mazdotnet - 10 Mar 2006 6:48 PM - 2 messages
Hi, In excel there is a function MROUND(num, multiple) - The num argument is the number you want to round, while multiple is the value you want used in the rounding. Is there a function in C# to do this? ...
Score WebPart minimize
Mike Hildner - 10 Mar 2006 6:05 PM - 3 messages
Hello, I'm trying out web parts for the first time. I put a manager and a zone on my page, then put a control in the zone. Documentation states that the minimize button is there by default. It is at design time, but does not show ...
Score Issue: The SqlDataSource control does not have a naming container
wubin_98 - 10 Mar 2006 6:05 PM - 3 messages
Hi All, Could any expert point out what is wrong in my code? I search around but couldn't found answer. It seems that I am the first person have this problem. Thanks in advanced I have a gridview that one column contains a dropDownList and a ...
Score How do I add a dynamic conection to a dynamic Webpart on the same event.
arthernan - 10 Mar 2006 5:54 PM - 1 message
If I separate the code into two buttons on a web page it works. One button creates the webpart and the second creates the connection. But the minute I move the connection creation code to the web part creation, I get a webpart does not belong to this page. ...
Score Static Methods in ASP .Net web application -- Is this bad form?
davidjgonzalez - 10 Mar 2006 5:45 PM - 3 messages
I have an ASP .NET web application written in VS 2003. The web application's UI (aspx.cs files) call static WebService accessor methods. Example.aspx    MyWebserviceAccessor.CallWebService("foo"); MyWebserviceAccessor.cs    public static string CallWebService(string val) ...
Score Hoverstyle
Progman - 10 Mar 2006 5:44 PM - 1 message
Why there is no overstyle for the asp:HyperLink? Treeviews has hoverstyle... ...
Score Changing CSS sheets from Code
T. Wong - 10 Mar 2006 5:37 PM - 6 messages
I want to have a single CSS style sheet control the look of my whole asp.net application but I need to set the values in this CSS from code in the start page as the CSS values will be stored in a data base. ...
Score Getting the HttpContext from within a library...
Jay Williams - 10 Mar 2006 5:27 PM - 7 messages
How do I get the current HttpContext when I'm in a Class Library (not from within an ASP.NET page)? I seem to remember calling GetCurrent from somewhere before but don't remember the details. The business object is being used from ...
Score grid view
bill - 10 Mar 2006 5:26 PM - 7 messages
I would like to place a label control so it appears immediately below a gridview. How can I make the label shift up or down according to the number of rows in the gridview?  The label just gets buried under the gridview if it grows. ...
Score .NET, ASP, SMS RAD Framework, Client/Server
g - 10 Mar 2006 5:22 PM - 3 messages
we are evaluating CRM packages and are looking for information on the differences/simliarities, pros and cons of these architectures used by various CRM Vendors. We have been searching for more information online and have not really found any comparisons. ...
Score Getting BackColor
Tina - 10 Mar 2006 5:22 PM - 2 messages
I'm displaying radio buttons with specific backcolors to allow the user to select one of the colors.  I want to get this color and somehow put it into a style sheet from code so that I can produce custom appearance. ...
Score Decimal number with "." and i would like ","
moi - 10 Mar 2006 5:13 PM - 4 messages
Hello, When user write a decimal number in a textbox with the numeric pad, he hits the "." button but in FRANCE, we use the ",". How to change the "." in the textbox with a "," ? Example : user write "34.45" and i would like "34,45" to be in the database ...
Score webcam
Alan - 10 Mar 2006 4:57 PM - 2 messages
Hello, I use visual studio 2005. I would like to insert somewhere in a web page the web page of a webcam. In which control can I show it ? Thanks ...
Score Question About Default.aspx and Response.Redirect
Joey - 10 Mar 2006 4:51 PM - 1 message
I have a web app that contains several subfolders. In one of them, I have a page set up as "Default.aspx", so users can hit it just by typing the directory name in the browser address bar (example: "http://mysite/downloads/" will bring up ...
Score how to prevent users from sharing their cookieless session id?
Liam - 10 Mar 2006 4:49 PM - 4 messages
We are using cookieless sessions, and so the URL shows the session id, e.g. [link](ixbradnm5qmdfwikrt1mcfi3)/somepage.aspx. When a user comes to our main page, they have to provide a username and password. We authenticate the username and password against our ...
Score upload/download huge files
Jeff - 10 Mar 2006 4:33 PM - 5 messages
Our company has to find a way to transfer huge files, target is maximum of 6GB, between sites so we are looking to find the best way to do it. There are lots of criteria we need but the most important is secure, ...
Score Architecture question
Coffee guy - 10 Mar 2006 4:26 PM - 4 messages
Newbie to web development here: I inherited an eCommerce site that seems oddly designed- There are 15 or so .aspx pages that provide content, input, etc.  Each page has a consistent look and feel, banner and logo, buttoms and ...
Score File Manager Application With Custom File Access
wdweb - 10 Mar 2006 4:06 PM - 1 message
Hello,  Thanks in advance for any tips. I am building a file management application which will allow file markup/sharing across the internet for all ms office, adobe pdf, photographs and other document formats.  The docs will be marked up with add-in components that are not built yet. ...
Score Refering to Object Members in A Collection in an ASP.NET BoundColu
Ross Holder - 10 Mar 2006 4:06 PM - 4 messages
I've created a number of business entities for an applciation I'm working on in ASP.NET (Framework 1.1) and would like to quickly get data into a BoundColumn for a control that consums a collection.  Generally speaking, ...
Score OLE in Webpage
Jon Edney - 10 Mar 2006 3:59 PM - 1 message
Hi, I've got to make an ASP.NET 2.0 webpage which has a download button on it for downloading CV's. The only problem is, the CV's are currently stored in an zipped OLE Container object within a Sybase database. ...
Score Server.Mappath
benoit - 10 Mar 2006 3:51 PM - 2 messages
Hi, What rights do I have to add if I want to write to and create files in a directory, if I acces it through an IP adress I already added the "ASPNET Machine Account" and the "Guest user for ...
Score Redirecting a web page in a web farm environment
robin9876 - 10 Mar 2006 3:51 PM - 1 message
When using the following code on a development server the page redirects, however in a web farm environment the page does not redirect. Response.Redirect("a.aspx", False) Both the development server and the web farm both use a SQL Server to ...
Score Buttons do postback but events are not triggered?
Morten Wennevik - 10 Mar 2006 3:26 PM - 5 messages
Hi I have a web page that contains a button doing some simple code.  On the  development machine this works as expected, but on the client machine, the  button triggers a postback, but the events are never triggered. ...
Score Message box in asp.net
ratnakarp - 10 Mar 2006 3:11 PM - 6 messages
hi, i want to pop up a message box when a button is clicked. the situation is something like this as follows. protected void button1_click(.. , ..) { ....... ........ ....... response.write(<script language="javascript"> or language="vbscript">confirm or msgbox or etc..</script>) ...
Score Using a Class Library Settings File in ASP.NET 2.0
Ben Dewey - 10 Mar 2006 2:59 PM - 3 messages
Hey, I have kind of an architecture question. I have a dynamic website that is using a Windows Form Backend and a ASP.NET front end.  They are both using C# 2.0.  I also have a class library that ...
Score Object reference not set
Charlie J - 10 Mar 2006 2:51 PM - 9 messages
I have a real stumper.  I added a server side table to a home page that has two other server side tables on it that have been working great.  In Visual Studio everything works great.  When I put the page on the production server, ...
Score Autopostback
Shahriar - 10 Mar 2006 2:27 PM - 2 messages
I have a bunch of check boxed in my page and when I scroll down to a particular checkbox to select it, I want to keep the exact location during the postback.  I tried to set the focus back to the checkbox after the post ...
Score How to switch language on the runtime in asp.net2
walter - 10 Mar 2006 2:07 PM - 5 messages
The question sound simple -- I had a multilingual site, I give a button on each page to allow user switch to different language, and of cause I want to use asp.net 2 globalization mechanism. So what I did is 1. make my controls ...
Score DataGrid\InsertRow
gh - 10 Mar 2006 2:05 PM - 2 messages
I am using dot net 1.1.  How can I add a row to the datagrid without using a datasource?  All the examples I have found use a datsource for inserting a row into the datagrid. Thanks ...
Score Session becomes nothing when machine address is given
sasidar.d - 10 Mar 2006 1:41 PM - 1 message
hi techies I have created a Login web page . It gets the user identity using the window nt authetication. The page is working fine. I have removed the allow anonymous access check box for the virtual directory and then given the check for the ...
Score Sending data to webserver
Eric - 10 Mar 2006 1:35 PM - 3 messages
Hi, In an old eVB program, it sends data to a ASP program with this: dim xmlHTTP as XMLHTTPRequest set xmlHTTP = CreateObject("Microsoft.XMLHTTP") xmlHTTP.Open "POST", url-string, False xmlHTTP.Send result = xmlHTTP.ResponseText Now I am trying to rewrite the program to vb.NET 2005, but XMLHTTPRequest is ...
Score Reference path for the project
sonali_reddy123 - 10 Mar 2006 1:29 PM - 1 message
Hi all, I have one major problem regarding how to maintain the reference paths for the projects. I have maintained the server copy which I change as my modules are finished. Then before continuing on next module I take the server copy and ...
Score "Dynamic" form -- how to?
Bart Van Hemelen - 10 Mar 2006 1:00 PM - 4 messages
Here's what I'm trying to accomplish: I get a number from another page that indicates the number of members. The page I want to build -- actually it's not a page, but a UserControl --  needs to display a form with several types of input fields for each ...
Score How to get querystring parameters from an ASPx page into a frame?
Gordowey - 10 Mar 2006 12:51 PM - 2 messages
Hi all, I have the next scenario? "PageA.html" post parameters to "PageB.html" (<= This page is a frame that contains PageC.aspx) I need to get that post (from PageA.html) in my "PageC.aspx"...how can this be done? ...
Score ActiveX?
Rob Meade - 10 Mar 2006 11:43 AM - 2 messages
Hi all, I'm interested in learning how to create an activex component using .net - I'm familar-ish with .net both in a web and windows way - but have never looked at activex at all before... I guess, to start my learning curve I'd like to have a web page call a piece ...
Score How smart can this be done?
jens Jensen - 10 Mar 2006 10:21 AM - 2 messages
Hello, I'm builiding a large form with tons of textbox ,buttons and dropdown lists. Is there good way to submit the values of the  forms to database without having to individually process each form elements. I know this would required some fairly complex processing but just want to ...
Score ASP.net :locate the session having the session id
Najatte - 10 Mar 2006 10:13 AM - 1 message
Hi , Anybody has any info about this subject. My target is as below: I have for example 5 sessions opened in Internet Explorer I am in a session and I want to access a variable exist in another session (get the value) having only his session id. ...
Score Generating live HTML server side controls from .Net classes
CharlesA - 10 Mar 2006 10:00 AM - 3 messages
Hi folks, I'm using ASP.net with Framework vs 1.1 I'm inheriting from a custom rolled master page class that is just that a class that inherits from web.ui.page but it has no designer associated with ...
Score web.config authorization element not working as expected on ASP.NET Development Server
J055 - 10 Mar 2006 9:54 AM - 2 messages
Ver. VS2005 Hi I'm using forms authentication and have set the authorization element to deny anonymous users. This works fine except that when I view the login.aspx page as an unauthenticated user I am denied access to non-asp files like ...
Score how to route all incoming request to asp.net engine?
baroque Chou - 10 Mar 2006 9:37 AM - 6 messages
very anxious to know!!!!!  thanks in advance ...
Score Retain treeview state during navigation
Pål Andreassen - 10 Mar 2006 9:00 AM - 5 messages
We are using a TreeView defined in a MasterPage for navigation. The tree holds it's state turing postbacks just fine since it's using viewstate. But whenever a node click results in a redirect to a new content page the tree state is lost and the tree needs to be re-initialized. ...
Score Customizing the DataGrid
MRW - 10 Mar 2006 8:52 AM - 3 messages
Hello! I'm working on a DataGrid and I've run into two problems. 1) When there are no records, I want the datagrid to show up still, (since I have a header and footer), so I simply want a message to show ...
Score Receiving XML data POSTed to an ASP.Net Page
nospam - 10 Mar 2006 8:50 AM - 9 messages
I have an piece of software that is sending an HTTP POST request to an ASP.Net page. The data posted consists of a chunk of XML data. For some reason (Based on my net research, and my tests at least) .Net ...
Score Datagrid Column resizing
Chakravarti Mukesh - 10 Mar 2006 8:24 AM - 3 messages
Hi, How can column width of DataGrid could be changed(in late data binding)?  By default width is decided by the column heading width. Thnaks Mukesh ...
Score Input field focus after postback - v1.1
Adrian Parker - 10 Mar 2006 7:46 AM - 2 messages
v1.1 - After taking off smartnav (due to it not working properly), I've got code that will restore the scroll position of the page on postback, but now I'm looking at how to set focus on either a field that has failed validation or on the next input field down the ...
Score Page_Unload Problem in ASP.Net 2.0
Cenk - 10 Mar 2006 7:36 AM - 8 messages
Hi, After converting my projects to ASP.Net 2.0 I have seen a problem with Page_unload. İn framework 1.1 page_unload event fires when you are leaving the page or has closed the browser window. Now in 2.0 when you initally load ...
Score How to reject outside links to image or .rar resourses on my site?
pepwelcome - 10 Mar 2006 7:17 AM - 6 messages
I tried httpMoudle, and it seems it worked under VS.net 2005, but failed when I tried "http://localhost/", but I think an HTTP request for an image on my server is not processed by asp.net but is responsed ...
Score button
Alan - 10 Mar 2006 7:12 AM - 2 messages
Hello, I am new in the web developpement. I use Visual studio 2005 and I am creating a web page.I would like to insert a button in my web page, but I can't place it where I want like with the windows applications, there is no ...
Score DataNavigateUrlFormatString Question
Sonny Sablan - 10 Mar 2006 6:50 AM - 4 messages
What is the syntax to include a dynamic querystring variable  in the DataNavigateUrlFormatString that changes with the page? When a page loads with sw = 1, I want all of the links to have sw = 1 in them. sample url: [link] ...
Score the iframe and xmlhttp in asp.net/internet explore
Aaron Guo - 10 Mar 2006 6:44 AM - 1 message
i set a iframe 'frame' in the window 'A.aspx'. and use xmlhttp to read info data from server in A.aspx 's onload event,and at the same time i set the 'frame' 's src to load another window in the ...
Score Create a VD with required properties on a required Web Server (Windows Advanced Server 2000 has 3 We
Just D. - 10 Mar 2006 6:02 AM - 1 message
All, What's the easiest way to create a Virtual Directory with required properties like: 1) delete all Start File names but insert only one required 2) one of the sub Directories should be Writable for this app 3) the VD should be created on a required Web Server? ...
Score Determining the Browser and event.keyCode vs. event.which
Nathan Sokalski - 10 Mar 2006 5:38 AM - 5 messages
I am writing a piece of code for an ASP.NET function that generates an onKeyPress JavaScript eventhandler that uses the event.keyCode / event.which properties. I have two situations that I would appreciate any advice on: 1. I know that IE uses event.keyCode to get the key pressed. I have, ...
Score <form> in master page, setting default button and 1st control
David Thielen - 10 Mar 2006 5:30 AM - 13 messages
Hi; I have my <form> in the master page because the master page includes the menu for all pages. But I would like to set the default button and control to place the caret in for each page. Is there a way to do this? (My ...
Score Does Server.Transfer work in a web farm?
vidz - 10 Mar 2006 4:07 AM - 1 message
Hi all, I am working on a project which will be deployed in a web farm/cluster of servers. I have used Server.Transfer() and Server.Execute() extensively in my code. Will this create an issue during deployment? If so, are there any solutions to solve it? -- vidz ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score line number in asp.net, a catch 22
tascienu - 10 Mar 2006 3:44 AM - 2 messages
When I am debuging on my local machine, and an exception occurs, I quickly find the line number. when I deploy the project, I switch to Release. But when an exception occurs, I don't get the line number. I ...