all groups > asp.net > may 2005 > threads for monday may 16
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
ISP uses Hosted level of Trust
Posted by dda at 5/16/2005 11:39:18 PM
When I upload
Parser Error
Description: An error occurred during the parsing of a resource
required to service this request. Please review the following specific
parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'SilverSea01.Global'.
... more >>
Server.Transfer vs Response.Redirect
Posted by Calvin KD at 5/16/2005 11:27:01 PM
Hi everyone,
I don't know if there's anyone out there is having the same problem. My
DotNet 1.1 version uses FormsAuthentication.RedirectFromLoginPage() method to
take user from the Login page to the Welcome page. My folder structure is as
follows:
Root Dir
bin
images
secure
... more >>
Looking for RSS control
Posted by Shapper at 5/16/2005 11:09:19 PM
Hello,
Does anyone know a good RSS component for ASP.NET?
Thanks,
Miguel
... more >>
Win 2003 Server / IIS6 / Server Application Unavailable
Posted by Damon Roberts at 5/16/2005 9:36:05 PM
Hi
My dev server has started posting a Server Application Unavailable error for
all of my asp.net web apps...
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser ... more >>
Forms Authentication Ticket/Cookie values
Posted by chuck rudolph at 5/16/2005 9:10:31 PM
Folks, Can anyone confirm that my understading is correct and maybe shed some
light on why it's as it is. (I'm guessing security, but that seems weak to
me.)
The asp.net web application is using forms authentication.
If I create an FormsAuthTicket with userdata in the approprite place. The... more >>
writing a customControl
Posted by philipp at 5/16/2005 8:45:37 PM
Hi
I want to write a customControl, which shows a login-component
containing textboxes for the username and password and a login-button.
As soon as a user logs in, the textboxes and the button disappear and a
new button for a logout appears. But it didn't work. I have to press
the button twic... more >>
ISAPI Filter fails after v2.0.50215\aspnet_regiis.exe -i -enable
Posted by Sergey V. Alimov at 5/16/2005 8:33:48 PM
This is a simple ISAPI filter, which is used with SF_NOTIFY_AUTH_COMPLETE
option.
When I restart IIS and try to open a site's page - browser shows "Page can't
be displayed".
In Event log I see a lot of these errors:
Could not load all ISAPI filters for site/service. Therefore startup
aborte... more >>
powerpoint presentation
Posted by barry at 5/16/2005 6:52:24 PM
Would like to know the syntax to start a powerpoint presentation from a
asp.net (vb.net) application
thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Collapsable paragraphs...
Posted by Rlrcstr at 5/16/2005 6:18:58 PM
How would one implement collapsable paragraphs of text in an HTML page? I
want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.
Jerry
... more >>
How to get the times which between page begin be loaded and page has been load !?
Posted by Kylin at 5/16/2005 6:13:40 PM
--
FireCrow Studio
Kylin Garden
ICQ:156134382
... more >>
Is there a way I can have my code handle "Directory Browsing"? Thanks!
Posted by davidw at 5/16/2005 4:53:39 PM
For example, I have a virtual directory - "wfile", I would like user access
http://mysite/wfile, but I want to handle it with my own code instead of
turn on "Directory Browsing", how can I capture that request? IHttpHandler
or IHttpModule?
Thanks!
--
David WENG
... more >>
How do you read persistent cookies?
Posted by Brian Kitt at 5/16/2005 4:36:01 PM
Ok. I know this sounds like a stupid question, but I'm really beside myself
here. I've worked with cookies for years, so I know how they work, but I am
new to C#, so apparently I'm doing something wrong with C#.
I'm saving a cookie (user preferences) that I want to load again the next
tim... more >>
Attachments in emails
Posted by Diego F. at 5/16/2005 4:26:44 PM
Hi. I need to write some code to open the mail client and attach a file. I'm
searching about this but I can't find anything.
mailto does not admit attachments, so I need other way to open the mail
client (Outlook) with the attached file.
Is that possible?
--
Regards,
Diego F.
... more >>
HtmlTable Postback Issue
Posted by TRobran at 5/16/2005 4:24:01 PM
What I'm trying to do seems pretty straightforward so I must be missing
something simple. Any help is greatly appreciated.
On my page I have a DropDownList, a HtmlTable and a Button. Each row in the
HtmlTable consists of 5 cells individually populated with a single checkbox.
The DropDown... more >>
Having problems with 'RegisterStartUpScript'.
Posted by Joseph Burton at 5/16/2005 4:23:01 PM
When I put this code in my load function it works just fine.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
RegisterStartupScript("", "<script language='JavaScript'> CreateWnd
('PleaseWait.aspx', 500, 50, false); </script>")
E... more >>
Control Entry Point
Posted by I am Sam at 5/16/2005 4:19:24 PM
Hi Everyone,
I am new to Server control development and I am wondering how do I define
the entry point for a server control? In a regular page you define Page_Load
as an entry point and in a windows application using C# you define the entry
point as void Main(){}. But in a Server control ... more >>
OpenFile DialogBox
Posted by Fabiano at 5/16/2005 4:08:29 PM
Please,
i need to create an webpage that allows user to upload a file to server. I
looked up at webcontrols that allow something like this but didn't found
anything, just the HTML Control.
I thought i could create my own usercontrol, but i have no idea how can i
show the OpenFile dialog ... more >>
cookieless session state and image caching
Posted by Jake at 5/16/2005 4:02:49 PM
Does cookieless session state (with the sessionid embedded into the url)
interfere with the browser's retrieval of cached images from one session to
the next? Does the sessionid embedded into the url effectively limit
client-side image caching to the lifetime of the session?
Thanks
Jake
... more >>
Conditional Directive
Posted by RC at 5/16/2005 3:59:37 PM
Is it possible to do following task? Any concret sample code to do that?
Following code is not work.
<% if ((bool)Application["debug"]){
Control codebehind="abc.cs" inherts="ABC.ClassA"
else {
Control src="abc.ascx.cs" inherts="ABC.ClassA"
}%>
thanks... more >>
Interpret session data from ASPStateTempSessions
Posted by Seetha J at 5/16/2005 3:49:47 PM
I work on a website where users can apply for different types of loans. =
Depending on the type of loan we store various sets of data in Session =
state which is maintained in SQL Server. If the user stops in the =
middle of loan application process I want to capture whatever data was =
in th... more >>
Business Component missing dlls
Posted by tshad at 5/16/2005 3:41:22 PM
I am trying to set up a reusable library (business component) that I can use
in a bunch of my pages.
I built the file and it almost compiles, but I am not sure what I am
missing.
The vbc command and results are:
************************************************************************
C... more >>
Reuse paramter list and reuse connection
Posted by tshad at 5/16/2005 3:20:47 PM
I can't seem to find where to reset the parameter list.
Dim objCmd as New SqlCommand(CommandText,objConn)
with objCmd.Parameters
.Add("@StateCode",SqlDbType.Char,2).value = ByState.SelectedValue
.Add("@City",SqlDbType.char).value = ByCity.SelectedValue
end with
objConn.Open()
Zip... more >>
Newbie Question: Formatting a date item in a repeater?
Posted by DC at 5/16/2005 3:16:22 PM
As part of a access based page writtenin c#
<td> <%# DataBinder.Eval(Container.DataItem, "SeminarDate") %> </td>
renders the Seminardate as things like "16/05/2005 00:00:00", etc.
Is there an easy way of making the "SeminarDate" item only diplay the
date and leave out the time which is se... more >>
TemplateColumn-- how to make it zero width?
Posted by Jim Bancroft at 5/16/2005 3:13:06 PM
Hi everyone,
I have a couple of TemplateColumns in my DataGrid that I need to hide from
view....yet still have their contents available in the code-behind file. My
HTML code looks like this at the moment:
<asp:TemplateColumn>
<ItemTemplate>
<input type="hidd... more >>
Page_Load event firing twice
Posted by Seraph at 5/16/2005 3:07:42 PM
Again, I'm rather new here, so if I fail to follow any etiquette,
please forgive me and let me know what I've done wrong, but I think
this might interest quite a few people.
One of my colleaques was endeavoring to create a custom user control to
make things a bit simpler, but she noticed that ... more >>
froms authentication loginurl not found
Posted by TJS at 5/16/2005 3:06:42 PM
i'm having problems where the user is not correctly redirected to login page
if starting in a folder below the webroot.
in these cases, it always tries to go to /foldername/login.aspx
this is the web.config code:
....
<authentication mode="Forms">
<forms name="testAuthCookie" loginUr... more >>
"Imports MyNamespace" and DLL's
Posted by A. Nonymous at 5/16/2005 3:03:28 PM
If I make my own Namespace do I have to compile it to a DLL before I can
use the line:
Imports MyNamespace
anywhere?
TIA... more >>
Download an image
Posted by Steph at 5/16/2005 3:02:40 PM
Hi,
I have a button and the code-behind:
Response.ContentType = "image/JPEG";
Response.WriteFile("c:\\Temp\\pc.jpg");
When i click on the button, the image is displayed in a new self-blank page.
Instead of displaying the image, i need the dialog box which propose to
"download the file" to ... more >>
Databinding to multiple controls
Posted by mavrick101 at 5/16/2005 3:01:07 PM
Hi,
I'm trying to bind one datareader as a DataSource to two Controls.
But as soon as the first Bind is issued, it gives error that the DR is
already closed....
any help???... more >>
Windows Authorization Question
Posted by dw at 5/16/2005 2:38:57 PM
I'm a newbie with ASP.NET 1.1. I'm building an application which will allow
only 5 or 6 people access (authentication) and they're all on the domain;
and only 2 or 3 will have write permission to the SQL Server 2000 on the
pages (authorization). What's the best way to do this (least amount of ... more >>
Seperate c# script in a DLL file
Posted by RC at 5/16/2005 2:15:56 PM
Hi,
Can I seperate the following script block in a sperate DLL file instead of
embedded in aspx/ascx?
I know codebehind/src attribute can do it, but I found that it can't trigger
"Page_Load" event if I seperate and compile the code into DLL file
<script runat="server">
Sub Page_... more >>
Exception of type System.OutOfMemoryException was thrown.
Posted by SMG - Idealake at 5/16/2005 2:12:02 PM
Hi all,
I am getting following error on my error, what could be the reason?
Exception of type System.OutOfMemoryException was thrown.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the ... more >>
How to access Datagrid in a datagrid
Posted by Raghuram at 5/16/2005 1:11:16 PM
Hi,
i have a DataGrid by Name : datagrid1 and in that i had created one templete
Column and Added a new datagrid : datagrid2.
Now i want to access that datagrid2 how is it possiable. and populate the
same datawhich is preset in the datagrid1.
Raghuram
... more >>
Q: check radio button
Posted by JIM.H. at 5/16/2005 12:39:15 PM
Hello,
In a group of radio button, what is the quickest way to check which one is
selected?
Thanks,
Jim.
... more >>
about the System.IO
Posted by Kylin at 5/16/2005 11:53:17 AM
How to get the String from a file ?
and replace some character by myself ,
and save to the same file name agagin !
--
FireCrow Studio
Kylin Garden
ICQ:156134382
... more >>
refreshing control data on a page, without the entire page re-loading
Posted by Milsnips at 5/16/2005 11:29:38 AM
hi there,
i have an aspx page with 2 repeater lists, when i click one, i'd like to
refresh the other one without having to refresh the entire page, any help
here?
thanks,
Paul
... more >>
Newbie: I need some tips
Posted by Jeff at 5/16/2005 11:24:57 AM
IDE vs .NET 2003
OS: XP pro sp2
I need to create a asp.net page which will receive data sent to it via
GET... The data sent into the page is a number, this number should be added
together with the numbers sent into the page by other users...
for example:
user A: http://localhost/test.aspx?... more >>
Check if variable is empty
Posted by Shapper at 5/16/2005 11:11:55 AM
Hello,
I am using this code line to check i a variable exists:
If cookie Is Nothing Then
....
How can I check if cookie is empty when cookie exists?
Thanks,
Miguel
... more >>
conditionally loading a user control
Posted by Paul at 5/16/2005 11:11:04 AM
Just wondering if anyone knows how to conditionally load a user control on a
page?
In other words load the user control if the page is reached with one link
and do not load it if it is reached by another link.
Thanks,
--
Paul G
Software engineer.... more >>
via .NET 247
Posted by Eliyahu Goldin at 5/16/2005 10:44:06 AM
These "via .NET 247" messages come in batches and it is impossible to tell
when the original message was posted. No-one of the original posters seems
to react to any responses. I am just wondering if the posters have any idea
about their messages appearing here? Do they follow? Should we bother
... more >>
Automating Image/Button Creation
Posted by Smithers at 5/16/2005 10:32:13 AM
I have been manually creating navigation/menu buttons (.gif files) using
Fireworks. The buttons typically have some text in them. There are typically
three versions of each button - one for default, one for hover, and one for
selected.
For any given Web site, I have been copying various "bu... more >>
How to Save a Webpage as a local file in ASP.net ?
Posted by Kylin at 5/16/2005 10:28:52 AM
How to Save a Webpage as a local file in ASP.net,
eg .http://www.asp.net/Default.aspx?tabindex=0&tabid=1 ,
how to save this page as a local file named by myself ?
any document about this ?
--
FireCrow Studio
Kylin Garden
ICQ:156134382
... more >>
can't seem to hide user control with code
Posted by Paul at 5/16/2005 10:26:03 AM
Hi I am trying to conditionally hide a user control on a form in the code.
There is a visible element in the properties box of the user control but in
the .vb file (in the code) the object does not seem available. Using me. the
intellsince does not show the user control name, so can not seem ... more >>
DataGrid rows selection at client side
Posted by Bidarkota at 5/16/2005 10:06:19 AM
can i select all the rows in a datagrid with a color when i check the
checkbox in the datagrid header. can i do this at client side. i need to
delete all the selected rows when i click on a delete button. Please help
with a sample code.
Thank you... more >>
DataGrid's Text Selection in a cell
Posted by Bidarkota at 5/16/2005 9:59:36 AM
Can i disable the text selection in a datagrid cell. ( i should not be able
to select the text to copy in the datagrid). how to achieve this. Please help
with a sample code.
Thanks in advance... more >>
CrystalReport.NET exporting to Excel Problem
Posted by Mustufa Baig at 5/16/2005 9:25:16 AM
I have an ASP.NET website where I am showing off crystal reports to users by
exporting them to pdf format. Following is the code:
----------------
1 Private Sub ExportReport()
2 Dim oStream As System.IO.MemoryStream =
3 myReport.ExportToStream(
... more >>
anyone good with custom validators?
Posted by Paul at 5/16/2005 9:14:14 AM
Hi I need a custom validator formula for the following
3 letters, a hyphen,3 letters, a hyphen, 4 letters, a hyphen, 5 numbers, a
hyphen,
4 numbers.
so it would validate something like
ABC-DCD-HGDA-12345-4321
I want letters caps.
thanks.
--
Paul G
Software engineer.... more >>
Loss of viewstate on 2000, not xp. Possibly iframe related
Posted by ChrisC at 5/16/2005 9:01:29 AM
I have my aspx page that contains an iframe. when I navigate the iframe
to other places by changing the src attribute on a button click from
the .net portion of the page I lose all viewstate information - drop
downs revert to default and even more bizarrely, any further attempt to
change them ha... more >>
Ignore me
Posted by admin at 5/16/2005 9:00:31 AM
sorry. test message.
---------------
Posted using Community Server NewsReader, Alpha
Learn more at www.communityserver.org... more >>
DataView with RowFilter (Result Error)
Posted by Isambella Yiota via DotNetMonster.com at 5/16/2005 8:36:14 AM
Hi,
I have a store procedure there is a select statement with a Group by
MobileNo. When I get the result to DataSet I create a DataView then I
filter to the DataView with RowFilter condition based on a category.
The result is not correct:
The ResultView.Count gives the correct no of rows... more >>
Object reference not set to an instance of an object On Code Page Register Tag?
Posted by jw56578 NO[at]SPAM gmail.com at 5/16/2005 8:28:04 AM
why am i getting the "Object reference not set to an instance of an
object" error on all page registeration tags in my project.
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="bid_history.aspx.vb"
Inherits="dnfExchange.marketing_bid_history" %>
... more >>
Default Datagrid Paging When Using a Custom Collection as Data
Posted by thechaosengine at 5/16/2005 7:58:13 AM
Hi all,
Can somebody tell me if the built in paging support for the datagrid works
when using a custom collection and a custom business object as the data.
I was well pleased when I found that I could bind a custom class to the datagrid.
Now however, I'm worried that paging is buggered bec... more >>
Q: data in dataset
Posted by JIM.H. at 5/16/2005 6:55:04 AM
I populate DS and trying to reach each field value,
sqlConn.Open();
DA.Fill(DS);
sqlConn.Close();
// populate textbox
string myField = DS.Tables[0].Rows["myField"].ToString();
tbMyField.text= myField;
DS.Tables[0].Rows["myField"].ToString() does not work. How would you do this?
Thank... more >>
Custom Server Controls
Posted by I am Sam at 5/16/2005 6:29:36 AM
Is it possible to build a control that allows you to nest another control in
a base textbox control so that you can say, nest a toolbar in a textbox? If
so what base class do I derive from to allow the textbox control to accept an
toolbar control? Do I have to override the TextBox render even... more >>
is there any free menu bar?
Posted by dollar at 5/16/2005 5:03:29 AM
If i have dropdown list objects just below a menu object, the menu su
level don't display over the dropdown list object! Is there a way t
fix the problem?
is there any free menu bar can solve this prolem
-
dolla
-----------------------------------------------------------------------
Po... more >>
httpcontext.current.session doesn't get correct session
Posted by midgetgem NO[at]SPAM boltblue.com at 5/16/2005 4:41:29 AM
I'm storing a DataTable in a session object and call a seperate class
with a method in it to work with.
How do I access the session from this class?
I was using HttpContext.Current.Session, but that isn't the same
session (has a different session ID).
Could I pass in the session as a refe... more >>
Architecture of my ASP.NET app
Posted by Guest at 5/16/2005 4:41:17 AM
I'd appreciate some help from any architectural gurus out there.=
I'm creating a web app with 3 tiers,
A presentation layer which is an aspnet application.
A business object layer which is a group of custom classes that=
map to my database entities, items of each type, for example=
'cl... more >>
Making a TableCell Appear Clickable
Posted by Nathan Sokalski at 5/16/2005 1:23:55 AM
I have navigation that is made out of a table. I did this so that I could
dynamically create my "buttons" (the cells formatted using CSS) and avoid
creating a new graphic every time I changed the text of a button. However,
because TableCells are not clickable, this only allows the user to clic... more >>
force refreshing of an aspx page
Posted by John M at 5/16/2005 1:01:32 AM
Hello,
How can I by force refresh an aspx page ?
Thanks :)
... more >>
windowsforms application won't load from .aspx file
Posted by Loane Sharp at 5/16/2005 12:29:11 AM
Hi there
I have a Windows Forms application that contacts the server and retrieves
particular files, if they exist. To the best of my knowledge, the .exe
assembly is properly compiled, strongly named, etc.
Specifically, within Control Panel>Administrative Tools>Microsoft .NET
Framework 2... more >>
|