all groups > asp.net > april 2005 > threads for thursday april 28
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
button link situation
Posted by Daves at 4/28/2005 11:51:03 PM
I'd like to have a button on page A to open a FormView on page B... and in
Insert mode! How can I do that?
... more >>
IFRAME
Posted by Just D. at 4/28/2005 11:46:26 PM
All,
How can I move the inline frame to the bottom of the page?
Here is a good article
http://www.cs.tut.fi/~jkorpela/html/iframe.html
It has a very god description but actually align=bottom doesn't work and the
frame is "fixed" at the top of the page. What should I do to move it down?... more >>
WebMatrix officially dead?
Posted by Patrick Olurotimi Ige at 4/28/2005 11:46:00 PM
http://forums.asp.net/897965/ShowPost.aspx
Guess VWD has take over:)
Patrick
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Web Service directory
Posted by Jed Ozone at 4/28/2005 11:20:23 PM
How do I get the (local) directory my web serice is running from?
Directory.GetCurrentDirectory() it returns the System32 directory. I'm
looking for the "C:\Inetpub\wwwroot\MyService\" directory. Thanks for any
help.
... more >>
display mutiple rows data fields for single record
Posted by Chris at 4/28/2005 9:58:34 PM
I would like to know how to display data column for a single record contains many fields. Likes the first row shows first 5 fields, 2nd row show next 5 fields, etc...
I tried to use datagrid, datalist and datarepeater and could not get it to work. Do you know a way to do it, if so, how do you bind ... more >>
DataGrid Sort Column HeaderStyle
Posted by Baren at 4/28/2005 8:40:02 PM
Hi!,
I am using the following CSS class for the DataGrid Head column wherein i am
sorting the recrods. The style works fine.. By default it puts an underline
for each header column. The underlin should be there except for the sorted
column.
Can anyone help me out.
----
CSS Class :... more >>
How to refer a contol in userControl
Posted by ad at 4/28/2005 8:31:50 PM
I put a Web User Controls in a Form.
The ID of the User Control is uc1.
But if I write the code like
uc1.Button1.text="New Text"
It will fail when complie time, and the error message is
uc_ascx.Button1is inaccessible due to its protection level
How can I public the button in User Control?
... more >>
HTTPS pages: How to get rid of secure/nonsecure message?
Posted by VB Programmer at 4/28/2005 8:18:59 PM
I created an ASP.NET website and recently got a secure certificate.
Whenever I visit any of the pages IE says
"This page contains both secure and nonsecure items. Do you want to display
the nonsecure items?"
What is considered secure and nonsecure? As the developer how can I create
the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
one SQL server, multiple databases, one asp web project
Posted by DKode at 4/28/2005 7:57:11 PM
I am preparing to build an app that will pull data from multiple
databases on the same sql server.
For performance sake, is there a more "effecient" way to grab data from
multiple databases at once? I've read a couple of threads and noone
really seemed to give a straight forward answer. I woul... more >>
save image into sql server
Posted by antonia gogaki via DotNetMonster.com at 4/28/2005 7:51:17 PM
Hello,
I need to save a tif image into sql server database, but i don't know how
to do it. I guess it has something to do with filestream as i realized but
i want your help please..
Thx,
Antonia.
--
Message posted via http://www.dotnetmonster.com... more >>
Large Input Page - Add/Edit Capabilities
Posted by peg at 4/28/2005 7:50:11 PM
I have an app that i need to create a way for a user to either add or edit
records that have a good 50 fields. Due to the large amount of fields I
can't just use a Datagrid and use the edit template column. Has anyone else
run into this or know a good way for creating a UI to handle this? I wa... more >>
Nested Level Question
Posted by Patrick Olurotimi Ige at 4/28/2005 7:46:01 PM
Just wondering how many nested levels are allowed with ASP.NET controls
and data complexity/size that ASP.NET viewstate can handle?
Patrick
*** Sent via Developersdex http://www.developersdex.com ***... more >>
When need to use FindControl
Posted by ad at 4/28/2005 7:09:11 PM
I find a interesting method of page: FindControl.
When we need to use it?
... more >>
Can we set form field in Asp.net
Posted by ad at 4/28/2005 6:58:11 PM
We can set and get form field in Asp.
How can we set and get form field in Asp.net?
... more >>
How to stop full rebuilds in debug mode?
Posted by ringo at 4/28/2005 6:35:05 PM
Every time I try to run one of my web apps in debug mode, the VS.net IDE feels the need to do a full rebuild of the project including the .msi file. My last server never did this, but this one does every single time, even if I don't change any of the code. This project is becomming very large and ta... more >>
Running a Daily Routine/Process
Posted by ree32 NO[at]SPAM hotmail.com at 4/28/2005 6:19:11 PM
Currenty we have a MS Access program running that creates Reports
using the database and emails them to people on different days.
But after moving all the reports to the intranet using ASP.net the old
access Reports have become outdated.
So I was wondering is there a way to let the intranet... more >>
Growl- frustrating - update function DOESN'T DO ANYTHING
Posted by Child at 4/28/2005 4:54:02 PM
I am feeling frustrated and I am willing to bet its something stupid but I
could really use some help.
I have a class called anEvent. On my web form I have a button which creates
a new anEvent and loads the form data into the new event. It then sends that
event to a class function to try a... more >>
Alternative to Panel Control
Posted by Guadala Harry at 4/28/2005 4:51:54 PM
AFAIK, the Panel control renders as a <SPAN> in the rendered HTML.
Is there an alternative to Panel that renders NOTHING?
Here is what I'm doing:
I need to place a bunch of HTML in an ASCX - but cause only some of it to be
rendered based on runtime conditions. I currently have the behaviour... more >>
[C#] System.NullReferenceException
Posted by Martin Høst Normark at 4/28/2005 4:51:03 PM
Hi everyone
I get a System.NullReferenceException performing this code:
public void Item_Bound(object sender, DataListItemEventArgs e)
{
if((int)(e.Item.DataItem as DataRowView).Row[11] != 0)
{
if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType ==
ListItemType.Alter... more >>
different search and result page
Posted by devccon NO[at]SPAM gmx.de at 4/28/2005 4:49:50 PM
Hi all,
I'm quite stuck with this problem here.
I have a search form (search.aspx) and I want the results to be
displayed in another form (result.aspx).
So far so good, I've implemented a datagrid and and the data shows up
the first time. Now when I want to implement paging it can't find the
... more >>
Display dataset results in textboxes
Posted by Sandy at 4/28/2005 4:32:05 PM
Hello -
I have the following stored procedure and code. I want to put the results
in two textboxes. I get to the part where I create the dataset and then I
don't know what to do. I tried using a dataview with no luck.
Stored procedure:
ALTER Proc spFillSbjRply
(
@key int
)
... more >>
What is<DIV ms_positioning="FlowLayout">?
Posted by dee at 4/28/2005 4:20:06 PM
Hi
When I generate and html file in an aspnet app the following lines are added
to the file:
<DIV ms_positioning="FlowLayout">
<TABLE ... ms_1d_layout="TRUE">
Where does ms_positioning and ms_1d_layout do?
Is there a place where they are defined?
Thanks
Dee
... more >>
Back Button Issues
Posted by Tom wilson at 4/28/2005 4:10:35 PM
I'm developing an application that is a benefits enrolment website.
The benefits can be of any type in any order as stored in a SQL
server. On each page is a Back and Next button. At a certain point
in the initialization of the app, I determine a navigational
structure; what benefit is first, ... more >>
How do I remove an ASP.Net Solution from a non-existent SourceSafe binding?
Posted by ElGordo at 4/28/2005 4:01:33 PM
I was recently given .Net project files to work on. When I open the
Solution file in VS.Net, I always get the message:
"The solution appears to be under source control, but its binding
information cannot be found. It is possible that the MSSCCPRJ.SCC file or
another item that holds the source... more >>
Help! How to list all client-side printers???
Posted by SD at 4/28/2005 3:18:52 PM
Hi,
I've been searching all over the place but can't find a routine (asp, java,
vbscript) that can help me populate a dropdown list that contains all the
printers installed on the users workstation.
The reason why I need this done it's because I have a report that can be
viewed to screen or... more >>
Rounded Buttons XP Style
Posted by Just D. at 4/28/2005 3:12:51 PM
Is there any way to make the buttons rounded except having them as images?
Maybe to set something into CSS file?
Thanks,
Just D.
... more >>
High traffic websites
Posted by Jimmy at 4/28/2005 3:11:47 PM
Hi
If I want to start designing a high traffic ASP.net website like for example
a mortgage application what are the most important issues in terms of
security and performance?
ch Jim
... more >>
is this possible?
Posted by LU at 4/28/2005 3:06:01 PM
I have a datagrid with
<asp:TemplateColumn HeaderText="Needs">
<ItemTemplate>
<%# MySplit(DataBinder.Eval(Container.DataItem, "UnitRequestNeed")) %>
</ItemTemplate>
</asp:TemplateColumn>
my asp.vb page has the function:
Public Function MySplit(ByVal s As String)
Dim var
... more >>
Open new form and pass variables with button click
Posted by Microsoft at 4/28/2005 2:32:56 PM
I have a page where the user fills in textbox and pushes a button. I would
like to then execute some vbscript at that point, but the page is written in
asp.net using VB so I assume I have to open a new form to execute the
vbscript. I can't figure out how to get the script to execute since the n... more >>
How to pop up a confirmation dialog box?
Posted by Amelyan at 4/28/2005 2:25:49 PM
What is the common way in ASP.NET C# to pop up a confirmation dialog box?
E.g.
Are you sure you want to delete this item?
Yes No
... more >>
How do I Rename an Identical ASP.Net Application for use under IIS?
Posted by ElGordo at 4/28/2005 2:08:41 PM
Gurus:
I have been working on a .Net project called "SolutionA" which was given to
me (already completed) for some time. The solution had some baseline web
functionality, and I was asked to implement some additional client requests.
All is well and works fine using this SolutionA file set.... more >>
Safe Response.Redirect?
Posted by Urs Eichmann at 4/28/2005 2:08:17 PM
If I have two webforms, form1.aspx and form2.aspx, and I want to do a
Response.Redirect from form1 to form2, I can write
Response.Redirect("form2.aspx")
However, if somebody changes the name of form2, the redirect will no
longer work. I could write
Response.Redirect(GetType(form2).Name ... more >>
How can I send email from a WebForm?
Posted by dee at 4/28/2005 1:58:32 PM
Hi
I tired to use
<form id="Form1" method="post" enctype="text/plain"
action="mailto:dee@work.biz">
leavin runat="server in then out.
When I took runat="server out this poped a new mail message but it the
message didn;t
containd any values from the WebForm. Also I prefer to send it witho... more >>
Adding a .css to <head> tag from codebehind?
Posted by Dave at 4/28/2005 1:06:01 PM
I'm inheriting from a custom page class instead of System.Web.UI.Page, and I
want to add a .css or .js link to the page's <head> tag. Can this be done?
I tried this using but it just adds it to the bottom of the page....I need
to somehow reference the <head> server-side?
HtmlGenericControl... more >>
get user information
Posted by sck10 at 4/28/2005 12:56:30 PM
Hello,
I built a web site on our companies intranet. Is there a way to get the
user information (user name, machine name etc.) when a person views a web
page?
--
Thanks in advance,
sck10
... more >>
configuration error
Posted by coltrane at 4/28/2005 12:54:15 PM
I was testing my web app and I started getting the followng error:
Line 196: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken... more >>
window.opener property affected by IE caching settings
Posted by MrFez at 4/28/2005 12:28:07 PM
Through some investigation it appears that selecting "Every visit to the
page" for the IE caching setting "Check for new version of stored pages"
causes the window.opener property of child windows to be set to null after
the main page has excuted a postback.
Can anyone explain this or at sh... more >>
Session URL Formatting
Posted by Malcolm Klotz at 4/28/2005 12:06:52 PM
Hello,
I have a problem with ASP.Net:
I have an ASP.Net application on a web farm, using SQL Server Session
State Management, running on Windows 2000 (IIS 5)
With session management on, a URL like the following is created:
https://mywebapp.com/(ts2t2uivrj3vxg452ah33cvg)/... more >>
Why does this not work -- my error never shows up
Posted by Eagle at 4/28/2005 12:04:48 PM
First I tried using the try, catch, throw, but it errored on the throw and I
don't want it to stop there, I want it to stop in the frm, not the class.
Next I set a Session to catch the error, and now I want to set the error
message label, but the error message label in teh form never appears. Wh... more >>
Unable to start debugging on the web server After 2003 SP1
Posted by Báltico at 4/28/2005 12:04:20 PM
After installing Windows 2003 Server SP1 I was unable to start any
asp.net project either in Debug or Release mode. Every time I got the
Unable to start debugging on the web server ... You do not have
permission to debug the server ... Verify that you are an administrator
or a member of "Debugge... more >>
Confirm a delete in a Datagrid
Posted by Arne at 4/28/2005 11:50:12 AM
I have a delete column in a datagird.
I would like to execute
cmdDelete.Attributes.Add("onclick", "return confirm('Delete this record?');")
somewhere.
Where is the right place to put this code?... more >>
Using inline-code with code behind.
Posted by Anders M at 4/28/2005 11:50:04 AM
I'm trying to use Inline-code to call Page_load, Page_Init or Page_PreRender
methods.
I've also got a code behind c#-file.
I can define inline methods for buttons and so on...that works fine. But
when I try to call Page_load, Page_Init or Page_PreRender methods it doesn't
work.
Non of th... more >>
Custom Error Pages in ASP.NET - Global.asax
Posted by Brian Munroe at 4/28/2005 11:36:04 AM
Let me preface this post: This is my first web app in ASP.NET, I am
sure I did things very kludgy, so please bare with my possibly stupid
ASP.NET design.
I am trying to create a custom error page that starts the process of
logging the bug via a web form. I capture things like contact name,
... more >>
have multiple user controls
Posted by hossam at 4/28/2005 11:36:03 AM
i have mutiple user controls and have run at server attribute in their form
tag;i want to call them in web form ; but display me error msg that cant have
mutiple form tag in the same page
mail : hossamgamal2000@yahho.com... more >>
Session_Start. Need Help. Thank You.
Posted by Shapper at 4/28/2005 11:24:27 AM
Hello,
On a Session_Start I want to do this:
1. GET "culture" value of a cookie named MyCookie.
NOTE: MyCookie can hold many values.
2. IF MyCookie doesn't exist OR "culture" value doesn't exist THEN
Do Nothing
IF MyCookie exist AND "culture" value exists THEN
... more >>
Application object and System.Timers.Timer
Posted by Shawn B. at 4/28/2005 11:24:19 AM
Greetings,
I have a object that gets created and interted into the Application object
of my ASP.NET application, that internally contains a Timer that elepses
every so often (once a minute by default).
In the event that it raises, I must access the Application object and work
with some thin... more >>
Checking browser settings prob
Posted by Tina at 4/28/2005 11:21:56 AM
When I use Request.Browser.Cookies I always get true returned. Even when
the browser has cookie acceptance turned off. Why?
Thanks,
T
... more >>
Calendar Control for asp.net
Posted by Jay at 4/28/2005 11:21:49 AM
I had such good luck asking about a rich textbox control, that I will do the
same for a calendar control.
I want a calendar control (not a date picker) that will show day, week,
month, year views, etc. and that can be bound to a datasource.
Shareware
Commericial product
Thanks
Jay
... more >>
datagrid,spliting value from database
Posted by LU at 4/28/2005 10:54:06 AM
VAR1 = 3/4
VAR2 = 2
I user can submit the values "3/4" or "2" (VAR1, VAR2 represent any numbers)
when user submits "3/4" we assume 1sthalf/2ndhalf
These values are saved into database as a row
row1: 3/4
row2: 2
I have a datagrid that displays values just fine, but user wants to beable
to ... more >>
OWC Chart -- vertical line at specific x axis
Posted by msteinwender NO[at]SPAM gmail.com at 4/28/2005 10:45:38 AM
I have an OWC chart that works great
Our client has requested that we add a vertical line at a specific
point on the chart
For example the horizontal axis contains 2,4,6,8
The vertical line would appear at 3.7 and go to the top of the y axis
in a specific color
I have searched many posts f... more >>
Maintaining state between 2 domains
Posted by peter NO[at]SPAM cozens.net at 4/28/2005 10:29:41 AM
I'm writing a web site for a friend. The site is going to have to
consist of two ASP.NET applications: one running over HTTP and one
over HTTPS. The problem is that the domains will be different, so how
do I maintain state between the public area (http://www.mydomain.com)
and the secure area (ht... more >>
Insane server control style problem...
Posted by Jack Black at 4/28/2005 10:21:07 AM
Using VS.Net 2k3 to build ASP.Net pages with VB code-behind...
OK, this is getting silly. I have some basic textboxes (Server
controls) on a webform. Some are coming up with white backgrounds,
and some are coming up with yellow backgrounds.
1) There is no CSSClass setting on any of the tex... more >>
Big Mess, what should I do?
Posted by Craig at 4/28/2005 10:08:10 AM
I'm a C# forms programmer, don't know alot about web programming, and I've
been thrown on a web project and it seems like a mess, I wanted some
direction. The current web site is hosted on unix and is just plone, an
open source content management system. They've put alot of work into
con... more >>
Rich TextBox / HTML TextBox
Posted by Jay at 4/28/2005 9:58:20 AM
I need suggestions on how to provide a simple editor for Users to enter text
with paragraphs, bold, and lists into a web form.
Current asp.net classes -- have I missed something?
Shareware
Commercial products.
Thanks
Jay
... more >>
Rich TextBox / HTML TextBox
Posted by Jay at 4/28/2005 9:56:21 AM
I need suggestions on how to provide a simple editor for Users to enter text
with paragraphs, bold, and lists into a web form.
Current asp.net classes -- have I missed something?
Shareware
Commercial products.
Thanks
Jay
... more >>
error handing
Posted by casaubon at 4/28/2005 9:48:04 AM
in my application error event i'd like to log errors to the evnt log which is
easy enough but i don't want to log every 404 in fact i'd like to skip them
althogether so how do i test the expetion to see if its a 404
this
Dim ex As Exception = Server.GetLastError.GetBaseException
... more >>
treeview control in vb.net
Posted by sunitha tentu via DotNetMonster.com at 4/28/2005 9:42:37 AM
how to populate treeeview control with dataset in vb.net.how to display
fields in one table as parentnode,childnode
this is very urgent plz help me... more >>
shopping cart question?
Posted by Leon at 4/28/2005 9:38:09 AM
I need a simple asp.net shopping. should I build it myself or just buy a
good out of the box solution.
if you thank I should buy an out of the box solution do you have any
suggestions?
Thanks
... more >>
Deploying my first ASP.NET app.
Posted by Andrew Chalk at 4/28/2005 8:52:35 AM
I have written my first ASP.NET app. It is very simple, only involving a few
pages. It is working on my W2K development server, now I need to deploy the
app. and an ActiveX control it uses to my client's site (W2K and IIS). Can
someone who has been through this describe the process or point me at... more >>
aspx app fails for some people only
Posted by G Dean Blake at 4/28/2005 8:23:25 AM
I have what I thought was a working aspx app. But on some of my clients
machines it does not work.
I have found that it is failing in, for instance, a
ListBox1_SelectedIndexChanged event where:
myString = ListBox1.SelectedItem.ToString()
produces nothing in the string. I know the list... more >>
Trouble with IIS
Posted by Marek G at 4/28/2005 8:10:12 AM
I have touble with IIS 6.0 in Win 2003 SP1 . I have webservice which use
integrated autentication . In asp page i call webservice with
System.Net.CredentialCache.DefaultCredentials . Asp page run on concrete user
.. But asp page return error 401 . Access denied ...
where I create error ?
... more >>
how to redirect parent page from iframe page_load?
Posted by Sheryl Landon at 4/28/2005 8:02:11 AM
Hi, I'm having a similar issue as the poster Mike whose message I copied
below... I have a page with an iframe... when I discover that the session
state is no longer valid in the page inside the iframe, I want to redirect
the parent page to a login page. Can anyone help me?
Thanks,
Sheryl... more >>
How to popup a warning?
Posted by Q. John Chen at 4/28/2005 7:55:51 AM
I have a "Delete" button on WebForm, but I want to popup a warning
message with OK and Cancel in case user clicked the button by accident.
HOW?
... more >>
question about application root path?
Posted by Dave at 4/28/2005 6:40:13 AM
Hi, since I'm developing on XP and can only have on website, how can you
refer to your root application (not web) in your paths?
I read for server controls that "the ~/ prefix will be converted to the
application path as in ASP.NET so that links have the correct path relative
to the web-s... more >>
where the native code is stored ..?
Posted by Balaji at 4/28/2005 5:46:07 AM
Hi folks,
I heard the nGen is the tool to generate the native code so that the
response WIll be faster?
what is my doubt is?
how to specify the location of the native code of particular dll(MSIL)...to
the CLR ?
Thanks
B.Balaji... more >>
'as' operator
Posted by AVL at 4/28/2005 5:22:01 AM
How is 'as' operator better than explicit casting while casting to a type.... more >>
Event Execution Order
Posted by Dan NO[at]SPAM Hope_Hospital_Salford_UK at 4/28/2005 4:27:08 AM
Hi
I have two web server controls on one web form, one is an OLAP pivot table
and the other is Chart control. I am passing the OLAP data to the chart
control but the chart is always one page behind. I create the chart in the
Page_Load event but I believe that the OLAP grid is updating itself ... more >>
Works
Posted by Bill Webb at 4/28/2005 2:05:39 AM
Works was on the computer when I purchased it and I need to reload it but I don't have a disc. is it on the recovery disc, or how can I reinstall works?
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com... more >>
More: Deny direct access to jpg, swf... files, without authentication
Posted by Matt at 4/28/2005 1:39:56 AM
Hello,
I raised a question a few msg back, but it wasn't complete:
I'm working on a portal where the main page is
desktopdefault.aspx and all content (jpg, css, swf files) is stored in
www.domain.com/content/flash/example.swf
or
www.domain.com/content/images/example.jpg
and injected in the... more >>
log server errors while customerrors=on
Posted by Daves at 4/28/2005 12:37:15 AM
think you got my idea, the user shouldn't see the errors but I'd like to log
them though and even run some notifier code... how would I do that?
... more >>
Background processes and session timeout
Posted by jester at 4/28/2005 12:03:02 AM
It is my understanding that when a session timeout occurs, the servicing
thread will be terminated by IIS. However, I did a simple test and made a
test page with a single button; when clicked, the button will go into a loop,
making an INSERT into a database; loop length is long.MaxValue. I t... more >>
|