all groups > asp.net > march 2004 > threads for thursday march 4
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Implementing a Permissions Scheme
Posted by Steve - DND at 3/4/2004 11:56:59 PM
I'm curious as to how some people out there have implemented permissions
schemes on their web pages such that security can be implemented on a per
group level. What I am currently looking at for my design seems to me to get
the job done, yet overly complex(but maybe that's the nature of the beast... more >>
How to set default save filename?
Posted by Olav Tollefsen at 3/4/2004 11:28:03 PM
I have an .aspx file with the following code in Form_Load:
image = System.Drawing.Image.FromFile(imageFilename);
Response.ContentType = "image/jpeg";
image.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
I'm using this to display images in the browser using an URL like ... more >>
Button post back.........
Posted by John at 3/4/2004 11:04:40 PM
I have attached the java script code to Button web control as follows.
myButton.Attributes.Add("OnClick", "OpenWindow()")
I have written java script to open the window in the OpenWindow function.
When I click on the myButon, new window will open and at the sametime
button is posting back t... more >>
Width property not transfering
Posted by Jeremy at 3/4/2004 8:55:54 PM
I am creating some TemplateColumns in a data grid dynamically and set the
"ItemStyle.Width" property on the column. I also have some static columns
that I set the width on at design-time.
The design-time widths transfer over to the HTML, the dynamic widths do not.
Here is my code to create t... more >>
Asp.Net & Windows 2003 Password ?
Posted by WJ at 3/4/2004 8:03:40 PM
I have an IIS-6 Web site written in Asp.Net and c# (code-behind) hosted by
Windows 2003 Stand alone server. The website only allows "Integrated Windows
Authentication". I need to allow my users to change their password if they
so desire. How do I do this programatically in Asp.Net & c# ? Please n... more >>
Can't catch Datagrid event! Please help.
Posted by Bruce W.1 at 3/4/2004 8:03:05 PM
My datagrid displays just fine. When I click on a row it posts
back but I can't seem to catch the event to do anything. My
handler never gets called. Can anyone please tell me why?
In the .aspx file:
------------------
<asp:DataGrid id="DataGrid1" runat="server" Width="400px"OnSelectedIn... more >>
How do you check the value of a datalist item within the Daalist bubble.
Posted by Mark Sandfox at 3/4/2004 7:44:12 PM
What I need to do is simple in any other code, but I am having a problem
finding the correct syntax for this function.
I have the following:
<form Runat="Server">
<asp:DataList ID="dlstCalendar" Runat="server">
<ItemTemplate>
<div align="left">
... more >>
The compiler failed with error code 2000
Posted by Niclas Lindblom at 3/4/2004 7:29:13 PM
Hi,
I am working in a Visual Studio.Net solution that contains two projects. One
is a ASP .Net web application and the other is a Serviced Component class
library that is installed in Component services, the classlibrary is
referenced in the web application from the "projects tab" in the add
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Screen not to blink
Posted by Marco at 3/4/2004 6:51:06 PM
I am building a forum, and what i dont know is the screen to blick, everytime the user do something. I still have to use server controls. So what i was thinking, is if there is any change to make other page run on the back of my main's page. If there is, i can do the changes in the main page using s... more >>
Difference in seconds from two datetime objects
Posted by Ron at 3/4/2004 6:30:26 PM
How can I find the difference in seconds of two DateTime objects. I have
looked at the Subtract method but this gives me back another DateTime
object.
Thanks,
Ron
... more >>
Newbie Deployment question
Posted by Colin Basterfield at 3/4/2004 6:24:20 PM
Hi,
I am building a ASP.NET web app that a compnay is hosting for me, and they
have given me all the FTP info so I can upload files to the virtual
directory, and they have put a default.htm file there, which says the web
site is coming.
This I fear is a lame question but how can I get my de... more >>
Newbie generic header question...
Posted by Colin Basterfield at 3/4/2004 5:59:29 PM
Hi,
I want to have a generic header for all my web forms, so what is generally
recognized as the best way to achieve this:
have all forms inherit from a base page?
style sheet?
Any thoughts would be greatly appreciated...
TIA
Colin B
... more >>
Cannot open Word doc using IE
Posted by vikram at 3/4/2004 5:51:19 PM
hello all,
I have a small question. I have an application which actually converts
binary data to word document and saves on the server. The next phase of the
project involves opening the word document which I created. But i get the
following error when i tried to open the word document.
... more >>
IsPostBack with Response.Redirect to same page
Posted by DotNetGruven at 3/4/2004 5:48:36 PM
I've got a page that does a search... There is an ImageButton on it that
allows the user to reset the search.
The Click Handler for the button clears out the Data and then redirects to
the same page with Response.Redirect("Search.Aspx", true);
Sometimes the code in Page_Load within the IsPo... more >>
Where do I put a generic function used in all pages??
Posted by wrecker at 3/4/2004 5:24:56 PM
Hi all,
I'm still learning asp.net so this may seem a simple question, but
here goes anyway. I have a generic function that I wish to access
from all pages in my web application. Intead of putting this
function into the code-behind of every page, is there somewhere I can
put it so that it ... more >>
[MySQL][ODBC 3.51 Driver]Can't create TCP/IP socket (10106) ?
Posted by Björn Linevondeberg at 3/4/2004 5:24:39 PM
Hello Everybody,
I coded my first Asp.Net application and got this error message
when trying to connect to a mysql-database via ODBC.
Using the same connection in Vb.Net brings success.
Can anybody help me?
Thanks!
... more >>
Anyone see the error?
Posted by Scott Meddows at 3/4/2004 5:24:15 PM
I'm trying to serve a PDF file from a webpage so it will load in the
browser.. Can anyone tell what is wrong with this code? I've tried
everything
Thanks
Dim httpwreq As System.Net.HttpWebRequest =
CType(System.Net.HttpWebRequest.Create("http://lafdev2/ReportServeProxy/Migr
ationRepo... more >>
dropdownlist bug?
Posted by skyking1 at 3/4/2004 5:11:10 PM
I have a web form in which I'm selecting values of 10 different dropdownlists using a for each. I use DirectCast along with FindControl to get each dropdown and set the value. It seems that setting the SelectedIndex of the variable referencing my DropDownList changes the selectedindex of the 9 other... more >>
httpmodule causes VS.NET to refuse to open solution!
Posted by Peter Row at 3/4/2004 4:48:19 PM
Hi,
Just in case anyone else has the following issue (unlikely but you never
know) here is the solution I eventually found after I was threatening myself
with a wipe and reload of my laptop.
VB6 to VB.NET web project Port.
We wanted all the code to run under .NET
However we use an ISAPI fi... more >>
Image display
Posted by Qindong Z. at 3/4/2004 4:11:10 PM
My asp.net application send image to web browser. The browser begin to display part of image before download finished. (In Slow Network). How can I force brower to display image after the image fully downloaded? IIS, HTML or Internet Explore??
Thanks
... more >>
Error When Sorting
Posted by Steve Bishop at 3/4/2004 4:10:27 PM
I'm using the data grid with an ODBC database. I get an error when
clicking on the sorting. Either the page can't be displayed or I get the
error:
"The viewstate is invalid for this page and might be corrupted." Help
appreciated. Thanks.
<%@ Page Language="VB" Debug="true" %>
<%@ import Nam... more >>
<div runat="server"> tags not working
Posted by Tim Mulholland at 3/4/2004 3:53:44 PM
I have one page where i have some <div> tags set to be runat="server" (and
i've given them an id) and i can access them from the code-behind file just
fine.
I have another page where i've done essentially the same thing (even copying
the code from the other file) and i cannot access them from th... more >>
MSSQL server error? How to fix
Posted by Hai Nguyen at 3/4/2004 3:45:44 PM
Hi everyone
I've been using Access Database to manipulate my database. I've just =
switch to use MSSQL Server. I downloaded samples from Microsoft to run =
on my comp.
I received this error
" System.Data.SqlClient.SqlException: Login failed for user "
Would you please tell me how I can fix... more >>
to do in visual studio
Posted by Jon Paugh at 3/4/2004 3:13:50 PM
What's the magic for adding "TO DO" items that show up on
the task bar within Visual Studio? I know there is some
way to do this? What is the magic comment? Do I have to
enable something?
Thanks,
Jon Paugh... more >>
Problems with Validator controls
Posted by John Holmes at 3/4/2004 3:05:39 PM
I'm using the RequiredFieldValidator on 9 text boxes and then a Validation
Summary control for bringing up a message when the user tries to click a
button that makes a trip to the server. This works fine on my development
machine, but when I copy the project to my test web server the required
va... more >>
Avery 5160
Posted by Jay at 3/4/2004 3:02:33 PM
(also posted in microsoft.public.inetserver.asp.general)
Sorry for the multi-post, after posting to the first group someone suggested
that I post here too.
Hello all.
We are running an ASP.NET app using MSSQL for the database. We would like to
pull records from the database and place them... more >>
How to XslTransform.Transform to new web page from code behind?
Posted by John Holmes at 3/4/2004 2:53:54 PM
I'm working with a typed dataset and want to implement a print button that
prints my formatted data without the company logo and other stuff on the
form. I've created an XSLT file to transform the XML version of the dataset
into HTML and would like to display it in a new browser window leaving th... more >>
Connection String
Posted by A.M at 3/4/2004 2:43:43 PM
Hi,
I have an encrypted database connection string stored in web.config file and
i need to have the connection string several times in my application.
What would be the best way to have that connection string in memory variable
?
I am thinking to add a member variable to Global class in g... more >>
Geeting ImageUrl when changed by javascript
Posted by Joe at 3/4/2004 2:41:59 PM
I have a function that changes an image when the user clicks a button (this
works fine). There's another button that is used to transfer to another page
an pass the selected image as a querystring. The problem is in the code
behind, Image1.ImageUrl always returns the initial image name. Is there ... more >>
test
Posted by Richard at 3/4/2004 2:39:40 PM
using function
Posted by Selen at 3/4/2004 2:31:31 PM
How can I use and call function ( c#)?
Thanks
... more >>
page name
Posted by TJS at 3/4/2004 2:16:07 PM
how to extract page name from URL?
... more >>
very simple question, but i cant find the answer
Posted by suzy at 3/4/2004 1:49:50 PM
Hello,
I am trying to write a generic tool that accesses a SQL server and
reads/updates/deletes/creates records. I want to reference this tool from
my asp.net pages to talk to my db. by the way, i want the results of any
read, update and create to be returned in xml.
when reading data, i ... more >>
Can you have different fonts in a dropdownlistbox?
Posted by Trint Smith at 3/4/2004 1:40:27 PM
In the same dropdownlistbox, I need bold, italic and different colors in
if possible...any help is appreciated.
Thanks,
Trint
.Net programmer
trintsmith@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Show/Hide controls at runtime
Posted by Jeremy S at 3/4/2004 1:06:58 PM
I want to show or hide a bunch of related controls at runtime (textboxes,
labels, check boxes).
Is the Panel control the only way to go? Are there alternatives?
Thanks.
... more >>
Adding controls to Page.Controls collection
Posted by Jeremy Ames at 3/4/2004 1:05:58 PM
I have run into a major road block with my page development projects. I am
trying to add a literal control to my asp.net page and I got an error
stating that the control could not be added because of code blocks (<% %>)
on the page. Most of these blocks can be handled by adding a label control
t... more >>
Treeview question
Posted by John at 3/4/2004 1:02:03 PM
Hi all,
I have a puzzling question. I'm loading a treeview conrol with nodes and now
need to send data with it but for it not to be shown. I need to use it
later. To give an example, a datagrid could have one visible column but a
couple of invisible columns with supporting data (e.g. a db key)... more >>
Auto-Formatting in VS.NET designer
Posted by James at 3/4/2004 1:01:45 PM
I notice that within an <OBJECT> or <APPLET> tag, the
Microsoft visual studio aspx or ascx designer seems to 're-
order' or 're-format' the layout of the attributes.
This has the annoying effect of moving all in-line
comments (using either <%-- --%> or <!-- --> methods) from
their position... more >>
How to execute a control defined within the content
Posted by Jill Graham at 3/4/2004 12:50:18 PM
Hi,
I have following problem :
My .aspx file contains following html code :
<table id="t1" cellspacing="0" cellpadding="0" runat="server">
<tr>
<td id="HTMLHolder" runat="server">
</td>
</tr>
</table>
The code-behind file fills the HTMLHolder with some te... more >>
SelectedIndexChanged
Posted by Selen at 3/4/2004 12:25:18 PM
How can I run dropdownlist_SelectedIndexChanged event on form load?
Thanks
... more >>
using window.open javascript in asp.net
Posted by switter NO[at]SPAM enpathmed.com at 3/4/2004 12:24:39 PM
I am currently using response.redirect in a aspx to go to a web page.
What I want is to open the page in a new window. My dotnet code is as
follows:
Dim sFileName as string = "/TempReports/tempReport.pdf"
response.redirect(sFileName)
This opens in the same frame and I want to use somethin... more >>
Forms Authentication and HTML pages
Posted by John at 3/4/2004 12:16:53 PM
I am using forms authentication for a website. I plan to use some static
html pages (generated with a tool) on the site as well. I would like the
html pages to be secured using the forms authentication.
Currently the html pages can be called and they will bypass the forms
authentication page.
... more >>
databinding label control
Posted by DC Gringo at 3/4/2004 12:05:58 PM
I'm trying to use a label control to show the # of records in my datagrid
and think I'm stuck on something simple...please help:
Error is: Name 'myDataSet1' is not declared.
FYI, it works fine if I use an integer value like "100" rather than
myDataSet1.Tables("CommunitiesT1")
-----MY LAB... more >>
Using an HttpHandler to redirect a certain extension to ASPX pages behind the scenes
Posted by Kentamanos at 3/4/2004 12:01:05 PM
Please don't ask me why I'm doing this (trust me, it makes sense in my system), but I'd like to basically redirect requests for a certain extension (thus a handler) to an ASPX page behind the scenes.
I've created a handler and set it up to handle the extension in question. In my ProcessRequest, I'... more >>
Server.Transfer
Posted by Hitesh Panchal at 3/4/2004 11:54:48 AM
Hi ,
I am using Datagrid control in my asp.net Page. In which I have used
Template Column with HyperLink. Now in the HyperLink Column NavigateURL
property is available to set the page url where we want to go. In which We
can pass QUerystring using ? and & sign. But How can i use same thing
wi... more >>
browser hangs when user deletes cookies
Posted by scottcollens NO[at]SPAM hotmail.com at 3/4/2004 11:42:39 AM
I am hoping someone can shed some light on this issue.
I am developing a site in .NET using VB.NET on Windows 2000 Advanced
Server.
As I browse the site, if I delete my cookies through the browser
tools, the site hangs when I continue to navigate.
I was wondering if this has anything to d... more >>
Can't get data
Posted by Steven K at 3/4/2004 11:35:44 AM
OK, I'm stumped.
I am getting the error: Exception Details:
System.Data.OleDb.OleDbException: Syntax error or access violation
on the last line (spBusinessUnit = cmdBusinessUnit.ExecuteReader()) when
trying to connect to a SQL Server 2K machine (this works with ASP):
<%@ Page Language="V... more >>
Vanishing PARAM="ARCHIVE" tag
Posted by Michael at 3/4/2004 11:35:34 AM
After trying to load my java applet from <OBJECT> tag
(rather than <APPLET> tag), it renders fine, except when
you click between the DESIGN view then back to HTML view,
the <PARAM NAME="ARCHIVE" VALUE="jars/myapp.jar"> line
completely vanishes.
Click to HTML view again, and the applet jus... more >>
CheckBox
Posted by Jim Heavey at 3/4/2004 11:23:44 AM
I have two checkboxes on a form. I changed the Autopostback to "true". I
code for the check change event. When I click one of the checkboxes, it
does perform the Page load event, but does not perform the Check Change
event.
I do not see in the windows generated code (C#) that it generate... more >>
Assign voice to page elements
Posted by agelx at 3/4/2004 11:11:41 AM
I have an aspx page with some text boxes that run at the server. How can I
assign voice recognized through QA's and Semantic items to the text boxes?
... more >>
OleDbConnection: ASP vs ASP .Net
Posted by Steven K at 3/4/2004 10:48:23 AM
Hello,
I am trying to convert my connection string from ASP to ASP .Net. This is
my understanding:
ASP
"Provider=SQLOLEDB;Server=MyServer;Database=MyDatabase;uid=MyUser;pwd=MyPswd
"
ASP.Net
"Provider=SQLOLEDB;Data Source=MyServer;Initial
Catalog=MyDatabase;Integrated Security=SSPI;"
... more >>
Popup Browser window
Posted by A.M at 3/4/2004 10:41:04 AM
Hi,
I require to have a button on the weinforms pages such that upon user click
on the button, the event handler pops up another browser window to another
url and current browser screen remains unchanged.
How can i do that?
Thanks,
Ali
... more >>
how to disable CheckBoxList row based on Selected field
Posted by hymort NO[at]SPAM hotmail.com at 3/4/2004 10:38:29 AM
Hi,
I have a CheckBoxList that's populated by a database (Selected
property is set based on data from the database). I want to disable
rows that have the Selected property set to true (i.e. once a row is
Selected, disable the row so that it can't be de-Selected.). Is this
possible? I can't... more >>
total record count in datagrid
Posted by DC Gringo at 3/4/2004 10:36:36 AM
I have a datagrid control that has paging set up and working. What I would
like is a total record count (not just per page) in the header or near the
header of the datagrid.
Here's my code:
<asp:DataGrid
AllowCustomPaging="false"
AllowPaging="true"
AllowSorting="true"
AlternatingI... more >>
ASPNET permissions
Posted by Z D at 3/4/2004 10:25:55 AM
Hello,
I was wondering what permissions I have to give the ASPNET account in order
for it to be able to start/stop/modify/etc specific services on a machine
using the System.ServiceProcess.ServiceController class?
I can only seem to get it working when I make the ASPNET account part of the
... more >>
Accessing an open xmldocumet
Posted by Ron at 3/4/2004 10:22:00 AM
If I open an XmlDocument and store it in an application variable like so:
----------------------------------------------
XmlDocument xDoc = new XmlDocument();
xDoc.Load("myfilepath.xml);
Application["doc"] = xDoc;
------------------------------------------------
will file file be unable ... more >>
Why use the "this" pointer here?
Posted by Polaris at 3/4/2004 10:06:44 AM
I noticed in the ASP.NET web application, as shown below, the "this" pointer
is used in the code generated by the Visual C# IDE. Anyone can explain why
it is necessary to use the "this" pointer here? Thanks!
private void InitializeComponent()
{
this.Load += new System.EventHandler(thi... more >>
Provider Load Failure error message installing FMStocks 7
Posted by mike_brame NO[at]SPAM yahoo.com at 3/4/2004 10:04:03 AM
Hello,
I am getting the "Provider Load Failure" error message when
attempting to install FMStocks 7. I have seen other people post with
this error but have not seen a solution for it yet. I have tried it
on several Windows Server 2003 boxes as well as XP boxes and still
cannot get arou... more >>
Passing data between .aspx and .vb files
Posted by reddyvsk NO[at]SPAM yahoo.com at 3/4/2004 10:02:12 AM
i have login.aspx, login.vb, i have my stored procedures in login.vb
in login.aspx
<%@ Page Language="vb" src="/MyTime/com/login.vb"
Inherits="Enter.MyTime"%>
in login.vb
Public Sub EnterMyTime(ByVal ID As String, ByVal PWD As String)as
dataset
Now i am trying to read the output variab... more >>
newbie question about web.config, tracing
Posted by Jiho Han at 3/4/2004 9:59:52 AM
I have a solution built with conditional #if(DEBUG) ... #endif, so that
statements like Context.Trace.Write("this is a trace statement."); are only
compiled into a debug build and not into a release one. So that works like
a charm. I built a debug and a release solution. In my dev environment,... more >>
Error Loading Resources
Posted by madai NO[at]SPAM tiscali.it at 3/4/2004 9:59:50 AM
Hi, I'm working with a Web Application which requires Authentication
from a LDAP.
This is the code wich causes the problem:
....
Assembly assembly = Assembly.GetExecutingAssembly();
ResourceManager RscMgr = new ResourceManager("MyProject.pagecomp",
assembly);
string test = RscMgr.GetString(... more >>
Dialog box
Posted by Catalin Porancea at 3/4/2004 9:53:30 AM
Hello,
How do I create a dialog box in ASP .Net? (I think it's called webdialog but
I'm not sure).
Thank you
Catalin
... more >>
How to send email from web server?
Posted by RA at 3/4/2004 9:34:14 AM
Hi
I use asp.net with c# and I would like that if the client clicks a web
button (after he writes his email) I will send him email from the asp.net
application (not from javascript). How can I do this?
Thanks
... more >>
asp.net date/time formats
Posted by Andrew J Gray at 3/4/2004 9:32:18 AM
Guys
Anyone know how to go about customizing the display of the date/time
formats?
This is related to Dreamweavers binding panels but if their is more
fundemental info available for this I cant find it.
Typically im trying to do the following:
In the table the date is recorded, as an example... more >>
Query a Dataset
Posted by brian at 3/4/2004 9:30:14 AM
If I create a dataset called "Test" can I run SQL code
against that dataset? If so How?
Can a dataset be cached? If so how would you run a query
on that?
The reason I am asking is because currently I am opening
and closing a datareader for 3 functions where I could
just bring all the... more >>
Help with a collection item property's designer
Posted by Andrés Giraldo at 3/4/2004 9:29:53 AM
Hi!
I'm trying to creat a custom TabStrip Control, everything's ok but I
want that in design time the developer creates each tab of the items
property by a designer on the property tool box.
I didn't ever work with designers, but I think it's no necesary to
create one in this case, the Item... more >>
WebClient.UploadData()
Posted by Al Cadalzo at 3/4/2004 9:29:49 AM
I'm using VS.Net v7.1.3052
I'm using WebClient to do a POST:
Here's a code snippet:
(C#)
Byte[] responseArray = null;
try
{
responseArray = _webClient.UploadData(_curURL, "POST", byteArray); <<
Exception occurs here.
_curPage = System.Text.Encoding.ASCII.GetString(responseArray);
... more >>
DataBinder.EVal problem with nested Collections
Posted by shawn NO[at]SPAM adova.com at 3/4/2004 8:36:06 AM
I have a collection similar to the following:
public class Recipient
{
public Recipient()
{
}
private string sName="";
private string sTitle = "";
public string Title
{
get {return sTitle;}
set {sTitle = value;}
}
public string Name
{
get {return s... more >>
Can the ItemHeader repeat for each "section break" in a Repeater?
Posted by Mike Lerch at 3/4/2004 8:03:22 AM
I have data like this:
Album Song
Led Zeppelin I Good Times Bad Times
Led Zeppelin I Babe I'm Gonna Leave You
Led Zeppelin I You Shook Me
Led Zeppelin I Dazed and Confused
Led Zeppelin II Whole Lotta Love
Led Zeppelin II The Lemon Song
Led Zeppelin II Heartbreaker
Is it possible for... more >>
NEWBIE NEEDS HELP!
Posted by horton.thomas NO[at]SPAM principal.com at 3/4/2004 8:03:16 AM
Currently in a VB6 application I am using SOAP to send an XML file
to 3rd part application. I have not been successfull in finding a way
to convert the code below to something similar in ASP.NET (VB.NET):
-----------
Dim Connector
Dim Serializer
Dim Reader
'On Erro... more >>
asp.net write permission on w2k domain controller
Posted by switter NO[at]SPAM enpathmed.com at 3/4/2004 7:54:18 AM
I am using sql server reporting services on a domain controller. It
typically uses the aspnet user account, but I had to switch to
IWAM_machine account due to an issue with w2k sp4. Everything works
great, however, when I try to write or stream a file to a directory in
my wwwroot folder using ... more >>
Controlling Placeholder Position
Posted by John Spiegel at 3/4/2004 7:14:37 AM
Hi all,
How can you control where a placeholder is positioned on a Web Form? AFAIK,
It doesn't seem to support a style or other positioning (or even sizing)
attributes.
TIA,
John
... more >>
Submitting form with multiple onclick events
Posted by noreply NO[at]SPAM samuelhon.co.uk at 3/4/2004 7:03:40 AM
Hi
I'm building a custom control which basically takes data from the user
and then submits it. I would use the validator controls but if I
understand correctly (I've been working with .Net for 2 weeks) you
cant 'embed' them in the custom controls. Someone correct me if I'm
wrong (and please p... more >>
Unrecognized attribute 'username'. in web.config file -- why??
Posted by ezelasky NO[at]SPAM hotmail.com at 3/4/2004 6:58:01 AM
Can any one tell me why I am getting the error " Unrecognized
attribute 'username'." in this web.config......
<identity impersonate="true" username="test" password="test" />
I can get this to work if I put it in the machine.config file but we
don't want to modify at that level. I have tr... more >>
Server Form Object not set in Page_Load event (at least against documentation)
Posted by el_qued NO[at]SPAM hotmail.com at 3/4/2004 6:54:22 AM
Hi,
I found something that is literally bugging me, maybe I am doing
someting wrong, but it looks crap.
There is a hidden field on a Control (the form comes from the Parent
page:
<input type="hidden" runat="server" id="structure2Publish"
NAME="structure2Publish"/>
...
<asp:PlaceHolder Ru... more >>
Positioning hyperlinks dynamicaly (in code)
Posted by carlos.cruz NO[at]SPAM algeco.pt at 3/4/2004 6:38:58 AM
Hi,
I trying to create dinamicaly hyperlinks, which I manage to do with the
following code:
Protected Overrides Sub OnPreRender(ByVal e As EventArgs)
ctl = New HyperLink
ctl.Target = "_blank"
ctl.ID = "hl"
ctl.Text = "Algeco.pt"
ctl.NavigateUrl ... more >>
User control fails to reload on post back
Posted by Stephen robinson at 3/4/2004 4:40:03 AM
I wonder if anyone has come across this issue. I have a template ASPX
page apon which I drop user controls which in effect are my web pages.
This works fine and all the controls loop around and events fire based
on the viewstate. The issue I have is that sometimes I loop the control
based ... more >>
ASPNET / IIS response time
Posted by marco NO[at]SPAM marcoganz.com at 3/4/2004 3:47:20 AM
Hello there!
I'm running IIS 5.0 on a Win2K Advanced Server system which will offer
access to some advanced calculators through a web service interface
(there's no web site on the system, just C# web services).
In order to profile the connection time I've written a simple program
which open... more >>
ImageButton in Repeater control
Posted by Marcel at 3/4/2004 2:41:05 AM
Hi
I got a repeater control with a linkButton and an ImageButton control in it
How do I get the text of the linkButton belonging to the ImageButton when a user clicks a certain Image
Regards
Marcel... more >>
How do draw new window immideately?
Posted by Olav Tollefsen at 3/4/2004 1:33:02 AM
I have a web form which does some time consuming operation (~ 10 seconds) in
Page_Load. This results in a stale window to the user until Page_Load is
finished rendering the page.
Is it possible to get the window to be drawn at once to the user, maybe
displaying "Loading..." and then redraw the... more >>
Dynamically add controls to a page
Posted by Jeremy S at 3/4/2004 12:07:38 AM
I would like to dynamically add up to 10 drop-down list boxes and 10 check
boxes (each with a dynamically populated label) at runtime - the content of
which is also determined at runtime (from SQL Server data). I can create the
stored procedure(s) and DataReaders. What I'm hung up on is how to
d... more >>
|