Is it possible to force windows authentication on one aspx but not another in the same application? So... Can I place <authentication> tags in the aspx itself and how do I configure IIS if I don't want to force authentication for every page in the application? Thanks. -Brad
I'm struggling, trying to declare a user control in code. ASP.NET seems to accept the declaration, but won't let me access any methods or properties of the object.
For example,
<%@ Register TagPrefix="uc0" TagName="addminiagenda" Src="addminiagenda.ascx" %>...
I am programmatically creating linkbutton controls, but I don't know how to handle events for these controls. I am using VB.NET... any suggestions?
-brad
This is trickier than I thought, since you can't use code render blocks within server tags (I think!).
here's an example of what i want to do:
<asp:repeater id="arepeater" runat="server">
<itemtemplate>
<asp:repeater id="anotherrepeater"...
This should be simple, but (as usual) I am having trouble:
I am successfuly using windows authentication. BUT... I want in my aspx to grab the user name of the authenticated user. I am using system.security.principal.windowsprincipal, but it is giving me the name of the user that the code is...
Does anyone have suggestions on the best method for pushing Excel data to an ADO.NET Dataset? I am trying to avoid Excel automation... maybe there's something in System.XML that I could use? I'm interested in your suggestions. Thanks. -Brad
Anyone have a good reference for the Powerpoint object model? I am using msppt.olb but can't figure out how to even open a file... and I'm just trying to do a SaveAs. Thanks in advance. -b
Can I import COM objects in ASP.NET/VB.NET the same way I import COM+ objects?, e.g., import namespace="msppt.olb"
Do I have to drop this object in /bin? Do I have to wrap it in some way so that it is recognized by .NET? And what is the difference between a .olb and a .dll? Are there...
I am using ASP.NET Web Matrix (from www.asp.net) for one application (although I also have VS.NET installed on my development machine).
The weirdest things is happening:
Occasionally (but far too often -- sometimes twice in the same day), the HTML for a web form disappears! The code is still...
Anyone know of software that can generate all the HTML pages from a web site that would be generated if you were to go through and click all the links? I know there is stuff like this out there, I just don't know where to start.
And I wouldn't even know where to start if I wanted to do this on...
I am using the htmlinputfile control to upload files.
The web page that is used to upload files into a directory also displays a list of the files in that directory. I refresh that list on page_load (regardless of page.ispostback value) so I thought that the list would always be up-to-date...
I am using Web Matrix for this project and as a result I am not using code-behind files. I'm having trouble using an object in a DLL that I just made... I was able to use the object just fine when it was in my aspx page, but when i moved it to a .vb file and then compiled (to /bin) i am unable...
When users upload images, I'd like to automatically make three versions of the image available -- thumbnail, large and full-size for later viewing. Know of any image compression programs out there with a good API?
-b
Hi.
I have MSDN subscription and am trying to install Visual Studio.NET using the CDs.
I insert CD 1 and am told that I need to update components (step 1). I am prompted to insert the disk labeled "Windows Component UPdate disk for Visual Studio.NET". I insert a disc labeled...
<asp:datalist>
<itemtemplate>
<%# container.dataitem("dtdate").toshorttimestring %>
</itemtemplate>
</asp:datalist>
obviously the code is shortened a bit :)
an error is raised when container.dataitem("dtdate") is null. any ideas on the best way to combat this...
I'm using the calendar web server control in a scheduling app.
Basically: user clicks on a date, and a list of the day's activities show up to the right of the control.
Well, I thought it would be nice if the calendar indicated which days were scheduled. To do this, I add all the days with...
I am trying to connect to a DB that I made in Access 2000. My connection string is:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\MYDBFile.mdb;Persist Security Info=False
It works fine on my development machine (W2k/Office Pro 2k) but I can't make a connection to the...
Anyone know the basics of the Microsoft licensing changes and how they will affect the average business? I read info on Microsoft's web site, but I don't know enough about the current licensing system to know how things have changed (I don't really keep track of licenses, but I think I'm OK...
A pretty typical story, I think:
I downloaded someone else's code, hoping that with it I wouldn't have to deal with Windows API to query/write to Registry. Then I get some funny behavior and, not knowing even where to start, I come to Tek-Tips for some expert advice.
Well, the code is attached...
Does anyone know how I can get the last modified' property of a file in a batch file? Attrib is the closest function I've found, but it looks like it may not provide the information I need. Thanks in advance. -Brad
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.