microsoft.public.dotnet.framework.aspnet Archive - October 2001
Post a message to this list
Messages
Page: 12345678910111213
what the hell does this mean (4 replies, VIP)
microsoft.public.dotnet.framework.aspnet
System.Data.OleDb.OleDbException: Could not find installable ISAM. whats an ISAM? I'm trying to connect to an access db.
Visual Source Safe HELP!!! (4 replies)
microsoft.public.dotnet.framework.aspnet
Hey everybody, I'm completely oblivious on how to intergrate VSS with VS.Net through TCP/IP. I'm trying to develop on a remote server that I can only connect to using TCP/IP. I've set up a VPN with a file share to the srcsafe.ini file and tried to tie into it, but I can't do it and still use Front Page Server extensions to edit my application. Does anybody have a clue on how to get around this? Di...
A problem with "code-behind" (5 replies)
microsoft.public.dotnet.framework.aspnet
I'm trying to use a component (HelloWorld.dll) installed in the global assembly cache, from an ASP.NET page. In code behind, I write: using HelloWorld; When I start page, I receive the following error message: The type or namespace name 'HelloWorld' could not be found (are you missing a using directive or an assembly reference?) Can anyone help me?
Making Panel hide (6 replies)
microsoft.public.dotnet.framework.aspnet
I have some objects inside a panel. Objects like labels, textbox, listbox and dropdownlists. I'm trying to make an interface using "tabs", so I have several panels that are brought in front as I press some buttons, but some objects do not "go with the panel", and always stay in front, like Dropdownlists and listboxs. How can I make them go beind the selected panel, without having to hide those obj...
Data binding with a custom class (2 replies)
microsoft.public.dotnet.framework.aspnet
I have a question about data binding in ASP.Net. Here's my situation: I have created a class/assembly that exposes public properties that I have successfully bound to asp:textboxes on my web form. I also have a Save() method on my object that simply takes any modifications to the object and persists them to a database. My problem is this: When the page does a post back as a result of clicking the ...
Loading Controls Dynamically (2 replies)
microsoft.public.dotnet.framework.aspnet
I am loading controls dynamically at runtime successfully. However when load controls dynamically the controls lose the view state feature. Is there a way around this? Thanks, Joe
invoking user controls (4 replies)
microsoft.public.dotnet.framework.aspnet
i have a page with 3 user controls on it. when the page loads, the page load event shows usercontrol1. when the user chooses an an option on that user control, i want usercontrol2 or usercontrol3 to show and usercontrol1 to hide. each usercontrol is embedded in a panel control on the page. i need to be able to get to a method on the parent (the page) from the user control to perform the logic. any...
Security of non asp files.... (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
We are porting an existing application to .net. The application uses it's own security model to secure asp pages, with all users having anonymous web access, and secured manually in each asp page. We now need to provide a dynamically created csv download file to the user that created it but nobody else. Since each user is effectively the same NT user (IUSR XXXXXX), how can we ensure that only the ...
Download? (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi!! I know this mya sound like a silly question, but what is the best way to download a file with ASP.NET ? Any sugestion?
data binding DropDown list values (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello, Inside a datagrid, I am dynamically populating a DropDownList on DataBinding. Asp:DropDownList DataSource 'GetValidItems()' / protected ListItemCollection GetValidItems(){ ListItemCollection lst new ListItemCollection()] for(int i 0;i 10;i ){ lst.Add(new ListItem("text" i,"value" i); } return lst; } now when I look at the html generated I get this: select option value "text1" text1 /option ...
JavaScript Error Shuts down Visual Studio (2 replies, VIP)
microsoft.public.dotnet.framework.aspnet
Has anyone else experience the complete shut down of visual studio when there is a JavaScript error?
calculating on client (5 replies, VIP)
microsoft.public.dotnet.framework.aspnet
any suggestions on how i can multiply the contents of two textboxes and put the result into a third textbox when the user tabs out of the second text box? don't want to use any buttons cause this needs to be done 5 times on the page and on the last one it needs to bring up a new page to fill out when leaving the last textbox using the tab key. thanks
Allowing null values from a Dataset. (2 replies)
microsoft.public.dotnet.framework.aspnet
Hi folks, On the load of a form, I want to fill in the textboxes with the results of a sql query stored in a dataset. It works fine unill it encounters a Null value...thats where I get an error. This is the line of code where I fill the textbox: tbProjectNumber.Text myDataSet.Tables("EIS").Rows(0)("PROJECT NUM") How can I fix it so I can allow null values to be returned? Thanks! M.Kirby Web Develo...
reason for postbacks (2 replies)
microsoft.public.dotnet.framework.aspnet
hello, i have 4 user controls on a web form. after putting response.writes in each of the page load events, i see that when the web form is drawn out put is some thing like this: ! default.aspx ! usercontrol1 ! usercontrol1 ! usercontrol1
How Can I used XML & Asp.NET ?? (3 replies)
microsoft.public.dotnet.framework.aspnet
How Can I used XML & Asp.NET ??
Request.form - Bizarre machinations (2 replies)
microsoft.public.dotnet.framework.aspnet
The sketchy docs on retrieving form variables suggest... 1. create a NamevalueCollection NameValueCollection coll; 2. Set the Request object to it coll Request.Form; 3 . we can then see the keys with the allkeys property BUT THEN WHAT ??? ... there doesn't seem to be any way to get at the values associated with the keys. No big deal it's just the request object !!! : ) Thanks in advance. PatC
Loading a file (2 replies)
microsoft.public.dotnet.framework.aspnet
I try loading an image into my ImageButton like this: myButton.imageURL server.mappath("imges/myimage.jpg") and it works on my computer but when accessed over the internet it doesn't work, so I looked at the source and found that the URL was set to "c:\inetpub\wwwroot\myproject\images\myimage.jpg" i.e. the local path and of course that won't work over the network. How do I use relative path so whe...
Inheritance (2 replies)
microsoft.public.dotnet.framework.aspnet
Just wondering if anyone has had a problem with this... TEST.ASCX %@ Control Language "c#" AutoEventWireup "false" Codebehind "test.ascx.cs" Inherits "Proj1.test"% TEST.ASCX.CS namespace Proj1 { public abstract class test : Proj1.Class1 { // ... } } CLASS1.CS namespace Proj1 { public abstract class Class1 : System.Web.UI.UserControl } I am looking to use a solution such as this. I know that it wor...
Connecting buttons to code (3 replies)
microsoft.public.dotnet.framework.aspnet
If I create a button or link button on a .ASPX page and use the "OnClick" attribute, I can easily connect to an entry point in the corresponding C# code when the button is activated. How do I get the same functionality if I create the button or link button with code such as: LinkButton bu new LinkButton(); bu.Text RoverCommandList[Command].CommandName; bu.CommandName RoverCommandList[Command].Hype...
vs.net debugger and Data Binding. (2 replies)
microsoft.public.dotnet.framework.aspnet
Hello, While trying to debug an asp.net c# method I noticed that the debugger does not support breakpoints in this method if it;s invoked from databinding ex: asp:DropDownList id "ddEditStatus" DataSource ' %#GetValidStatus(DataBinder.Eval(Container.DataItem,"custId"))% ' / I can set all the breakpoints I want in the GetValidStatus method, it will never trigger... Am I [yet again] missing a point,...
How can I change a table content in .aspx.cs (4 replies)
microsoft.public.dotnet.framework.aspnet
Hello, I've inserted in a project file (aspx) a empty table with several columns. And now I have to insert data in the table, this means that I have to insert several rows, but still keep using the columns I've created before. The information that has to be inserted in the table (in the aspx.cs file) is of several types, like strings, dropdownlists, some labels. Does anyone know how to do somethin...
OutputCache Not Working (2 replies)
microsoft.public.dotnet.framework.aspnet
I was having problems with output caching on a site I've created, where I cache user controls based on URL parameters. It just wasn't caching. So now I am trying to get the simplest of output caching working on my server and it is not working. The goal is to cache the user control for one minute. Here's the aspx page code followed by the user control code. Note that the code behind has not been to...
problems with calling functions within datagrid (2 replies)
microsoft.public.dotnet.framework.aspnet
any ideas why am i getting an error "The server tag is not well formed"? this is within a repeater. ItemTemplate asp:CheckBox id "chkRole" runat "server" checked " %# RoleList(Container.DataItem("RValue")) % " /asp:CheckBox br /ItemTemplate
.ActiveConnection = new Object(null); doesn't work either (3 replies, VIP)
microsoft.public.dotnet.framework.aspnet
To achieve a disconnected (or connectionless) ADO recordset in ASP using JScript ..ActiveConnection new Object(null); doesn't work either! Help!
Validator Controls (4 replies)
microsoft.public.dotnet.framework.aspnet
Does anyone know if it is possible to DYNAMICALLY attach a validator control to a DYNAMICALLY created input control at runtime? Thanks, Joe
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com