all groups > asp.net > october 2004 > threads for wednesday october 27
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
ItemTemplate Question
Posted by Patrick.O.Ige at 10/27/2004 11:49:02 PM
Hi All,
Is there any difference when i use :-
<%# Container.DataItem("FileCategory") %> or use
<%# DataBinder.Eval(Container.DataItem,"Description") %>... more >>
HttpWebRequest 404 Error
Posted by Randy Chow at 10/27/2004 11:14:15 PM
Please help. I have been developing a application and the HttpWebRequest
has always worked until I applied some sort of Windows Security Patch from
Microsoft. I am not sure which one but has now causes the GetResponse to
return a 404 error. I think the configuration is locked down in Windows X... more >>
How to declare this in codebehind
Posted by TJS at 10/27/2004 10:48:46 PM
this is the code in the html
<tabs:menu id="Menu1" runat="server"></tabs:menu>
how do I declare "Menu1" in the codeBehind ??
... more >>
Scrollable datagrid: dynamic paging
Posted by RJN at 10/27/2004 9:10:10 PM
Hi
Sorry for posting again.
I have a datagrid which is put inside a div tag to make it scrollable. I
need to page the datagrid. The page numbers appear at the bottom of the
datagrid and has to be scrolled down completely to see the page number
links. The page number should always be visib... more >>
Forum or e-commerce software
Posted by Paul Aspinall at 10/27/2004 8:59:18 PM
Can anyone recommend a good Forum or E-Commerce software package for
ASP.NET??
Thanks
... more >>
Adjusting ItemTemplate to show non-empty fields during Databind
Posted by SteveB at 10/27/2004 7:30:11 PM
I have an SQl db with 5 address fields. Address field 1 and 2 always
contain data. Fields 3 4 and 5 are sometimes null. I have a Repeater set
up to display the addresses. How do show a conditional statement within
the ItemTemplate that will only display address fields containing
data(no blank ... more >>
need advice on check data...
Posted by Asha at 10/27/2004 7:27:01 PM
hello...
i'm uploading data from an excel file to the server, and to check the data
values; i loop though excel file row by row and compare the value with
database value. if anything does not match i throws an error. this makes it
pretty slow if the record is big.. can someone please advice ... more >>
Label without <span>
Posted by Andrei Pociu at 10/27/2004 7:04:42 PM
Is there some way to make the label not add a <span> tag?
For example I don't need any styles applied or position set so I could as
well get rid of <span>.
Or is there some other type of control that I could use instead of label
that doesn't add a tag like span or div?
Thank you.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Form controls, who gets the enter key
Posted by bep NO[at]SPAM 10.10.10.10 at 10/27/2004 6:27:01 PM
Hello
I have a asp.net form in VS.Net 2003. It has a custom control with a text
box and a button (search) in the top left hand corner. this is on every page
in our site, as it is on the main template.
I also have a search box and button in the content part of the page. This
search is co... more >>
what the suffix of the file
Posted by Green at 10/27/2004 6:03:00 PM
Hi,
I have a question that when i surf the internet, i found out that using
..aspx suffix means using asp.net, using .jsp means using javaserver page,
etc. But some don't have any suffix. For instance,
http://daniel.gallery.whitelands.com/photos/newyorktrip , there is no such
suffix.
Ca... more >>
a question related to web server or asp.net?
Posted by J at 10/27/2004 5:11:49 PM
Hi, all
I have a question but I am not sure it's related to IIS or ASP.NET?
When a user at my web site, how can I display (for example)
http://www.somesite.com all the time instead of fully url address like
http://www.somesite.com/customer/login.aspx ?
Is there any setting needed on IIS or co... more >>
Handling not visible DataGrid objects
Posted by tshad at 10/27/2004 5:11:29 PM
I have a datagrid that has objects that are not visible and I need to use
them in my Sql Statement.
The problem is they are not there when set as "visible=false", but they are
if set to true.
For example:
I have:
*************************************************************************... more >>
Random Integer
Posted by George Durzi at 10/27/2004 5:06:50 PM
How can I choose a random integer between to given integers?
For example, I'd like to pick a random integer between 1 and 3. E.g. 1, 2,
or 3
If I do
Dim oRandom As New Random(1)
Response.Write oRandom.Next(3)
will I get a different number between 1 and 3 every time, even if I'm always... more >>
Server.HtmlDecode for windows services (Urgent)
Posted by Sonu Kapoor at 10/27/2004 5:03:05 PM
Hello,
does anybody knows the equilant of Server.HtmlDecode when
creating a windows service?
Thanks, Sonu... more >>
Preventing users from using history buttons...
Posted by Charlie at 10/27/2004 4:46:10 PM
On dynamic sites, the history buttons can be confusing to users as they do
not force return trip to server to get updated content. I get complaints
from users saying things aren't working when problem is they are not using
links. How do you deal with this?
Thanks,
Charlie
... more >>
Need Mechanism or code for wait state in asp.net web application
Posted by SP at 10/27/2004 4:38:13 PM
Hi,
I want to add wait cursor code whenever page is post back. Page may be
post back on my user control's or on change of dropdown or on click of any
button on page. so is there any common solution available that will provide
me mechanism to display wait cursor or wait image to user whenever... more >>
adding image to table cell
Posted by Manny Chohan at 10/27/2004 4:37:09 PM
i am trying to add image to table cell. Here is my code..
System.Web.UI.WebControls.Image img = new System.Web.UI.WebControls.Image();
img.ImageUrl="http://localhost/Lhw/Images/i.p.new.gif";
for(int i=0; i < allRecords.Length; i++)
{
TableRow tRow = new TableRow();
Table2.Rows.Add(tRow);
T... more >>
Validator Positioning
Posted by Angelos Karantzalis at 10/27/2004 4:17:13 PM
Hi guys,
I've a small problem with validators.
I'm building a single .aspx file that handles all my form posts. I need to
be using ASP.NET validators ( or subclasses thereof ), so what i do to
overcome the fact that i don't really know what sort of input controls I'm
working with is thi... more >>
No referer page for SWF files
Posted by Raed Sawalha at 10/27/2004 4:15:47 PM
Hello:
In my aspx page I need to check the HTTP_REFERER for (images swf ) file, so
when I request the server variable (HTTP_REFERER) like this
Request.ServerVariables["HTTP_REFERER"] within (page.aspx) . if the
page.aspx contain only SWF the referer returned empty.
but if JPG or GIF and refer... more >>
Set Focus to control
Posted by sck10 at 10/27/2004 4:03:47 PM
Hello,
I have a content page (I am using a Master Page) that has a control
"ddlRequestType".
In my code behind, I am using the following to create an image and assign
JavaScript to it that will set the focus to the control "ddlRequestType":
If Trim(Me.ddlRequestType.SelectedItem.Text) =... more >>
How to determine active sort order parameter of a DataGrid
Posted by Hrvoje Vrbanc at 10/27/2004 3:47:15 PM
Hello all!
I would be grateful if someone could offer me some help with the following
problem:
I have a DataGrid control with sort enabled. Therefore it could be sorted in
several different ways. The same datagrid also have a Button Column with
Update button. After the update action for ... more >>
Popup WebForms
Posted by Craig G at 10/27/2004 3:21:12 PM
i'm new to all this so go easy on me!!
How would i go about making a popup Webform
i have a parent page and when the user clicks the button i want it to
display a popup dialog that allows them to select an option. i would like
the popup modal also, so that the user cannot return unless they ... more >>
VBCRLF being ignored when sending mail. Help!
Posted by David Hearn at 10/27/2004 3:12:10 PM
I am trying to generate a short text based email and using VBCrlf to break
the lines. The problem is that they are being ignored after about the third
or fourth line down into the email. I have also tried using Chr(10) &
Chr(13) and Environment.NewLine but these didn't help either. Anyone have... more >>
How to determing Grid object
Posted by tshad at 10/27/2004 3:08:33 PM
I have multiple Grid objects that are editable on my page. The following is
an example of the onEditCommand method. In this case D1 (the Grid object)
is known.
****************************************************
sub DataEdit(S as Object, E as DataGridCommandEventArgs)
trace.warn("in Data... more >>
view image in repeater
Posted by nicholas at 10/27/2004 3:04:05 PM
Got an asp.net data-repeater on my page.
I can view the texts from the database (ex.: <%#
Databinder.Eval(Container.DataItem, "contentEN") %> ), but I also would like
to see the image, but only if there is one.
So in the repeater there should be someting like:
if ( the_image_field <> "" ) t... more >>
Image Problem
Posted by Manny Chohan at 10/27/2004 2:53:04 PM
when i write Image img = new Image();
img.ImageUR="url";
I get the error: image is a ambigous reference
I have included reference at top: using system.web.ui.webcontrols
Please help
Thanks
Manny... more >>
Buffering the output of multiple controls
Posted by ScottOnes at 10/27/2004 2:45:01 PM
Hi
I have a placeholder that has multiple controls that need to be loaded and
rendered to the user based on some user selections. I have to loop through
the choices that the user makes and then load the controls. I am doing this
in the protected override void Render(HtmlTextWriter writer) ... more >>
Clear the Render info & change to different info
Posted by Andrea Williams at 10/27/2004 2:00:27 PM
I have a form where the user chooses reporting options and when submit is
clicked, I need to present them with dynamically created excel file. In
Classic ASP I would just change the viewing options, but in ASP.NET I'm
using code-behind. Is there a way to clear what is scheduled to be
renedered... more >>
E-Commerce Package
Posted by Tina Smith at 10/27/2004 1:56:08 PM
I'm looking for a storefront package that I can tailor to our needs.
I'm looking at http://www.aspdotnetstorefront.com/
Anyone have experience with their product?
... more >>
Hyperlink to page
Posted by karl at 10/27/2004 1:25:03 PM
In my webpage I want the hyperlinks to open inside the same webpage. (I don't
want to use frame pages.) I.e. open the hyperlink page in a table column.
Anyone knows how to do this?... more >>
Clicking on textbox causes focus to go to a button
Posted by Tim Meagher at 10/27/2004 1:14:18 PM
I am finding some odd behavior. When clicking in a textbox, I find that the
focus is resorting to a different button on my web page, not to the
textbox.. I would like the focus to remain on the textbox so that if the
user presses enter it will cause the textbox text changed event handler to
fi... more >>
Server perfomance
Posted by Fredrik Melin at 10/27/2004 1:07:50 PM
We have a larger ASP.NET application that is running on 3 identical servers,
(Network Load balanced) with Windows 2003
On average the servers has 250 active sessions each. They serve about the
same number of requests per second.
Now, after running for sometime, we are loosing processor tim... more >>
Create link inside datagrid column to open new window
Posted by Ed Chiu at 10/27/2004 1:03:08 PM
Hi,
I like to create a datagrid that has a column of links and one of these
links is clicked, a new browser window pop up and shows the aspx specified in
the link.
How do I do that?
Thanks in Advance ... more >>
File upload
Posted by Kikoz at 10/27/2004 12:53:11 PM
Hi all.
I assume that if the user uploads a file from aspx page IIS will put all
future requests to the same page from other users in a line and all of them
will be waiting until this upload finishes. Meaning appl uses just one
thread for all requests. Right?
Is it safe or possible to ge... more >>
Newbie question: DataBinding...
Posted by The Eeediot at 10/27/2004 12:23:13 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0010_01C4BC1F.BA86A1D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I have a drop-down list (listbox) control in ASP.NET that I would =
like to contain "Select Typ... more >>
Load Image from codebehind
Posted by Manny Chohan at 10/27/2004 12:03:04 PM
HI Guys, I need to load image in table cell from codebehind.
i have the following code:
TableRow tRow = new TableRow();
Table2.Rows.Add(tRow);
TableCell tCell1= new TableCell();
if (property[4].Value.ToString()=="1")
{
tCell1.Image="test";
}
tRow.Cells.A... more >>
Problem with streaming a DIME attachment with SOAP
Posted by ipsita.mohanty NO[at]SPAM gmail.com at 10/27/2004 11:53:17 AM
Hi!
I am trying SOAP with DIME attachments in web services. For example
say, I have a file resume.pdf stored somewhere on my server. How does
the web service send the file to the client, so that the client can
store it and also read from it. I am trying out with C# and ASP.NET.
Server Side ... more >>
Getting the locale of the browser...
Posted by Stu Lock at 10/27/2004 11:52:45 AM
Hi,
I am writing a web app which is going to be used primarily in the UK and
Canada. Is ther any way of determining where the user is (without an IP
address db). It is not for core functionality - just to be able to set
defaults in coutry drop downs etc.
Thanks in advance,
Stu
... more >>
Transactions between multple servers.
Posted by Luis Esteban Valencia at 10/27/2004 11:17:47 AM
I have an applications that makes some UDPATES and INSERTS but those
commands are on differente servers: How can I make them to execute as an
unit ? I mean as a transaction
I tried but an sqltransaction can only be assigned to ONE connection.
--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 2.... more >>
Combo Box Control
Posted by Mike Moore at 10/27/2004 11:15:02 AM
Can any one suggest a combo box control or know of where to find code for
(Microsoft's control) that will let the user type in the whole word of
his/her intended selection to automatically select the item. ... more >>
Instantiating Outlook
Posted by gregoryenelson at 10/27/2004 11:13:35 AM
Hi.
I am writing an INTRAnet app using asp.net/VB that, amongst other
things, needs to access the global address list in Outlook, extract
some email addresses and send email to these people.
(actually, I believe I will have to be using Outlook's Web client).
I am spending vast amounts of ... more >>
WriteXml grouping data
Posted by switter NO[at]SPAM enpathmed.com at 10/27/2004 10:54:58 AM
I am using WriteXml to output data to an xml file, and and XML web
control to display it. The code runs fine, however my groups are
being ignored. For Instance, the current output is:
<NewDataSet>
<Table>
<PRODUCT_CODE>RM-Safety</PRODUCT_CODE>
<PART_ID>*61177-000</PART_ID>
<... more >>
Autopostback = true without refresh screen in asp.net?
Posted by Wei at 10/27/2004 10:53:59 AM
Hi,
I have a page written in ASP.net c# witch has a datalist with 200 records
(in Itemtemplate). Each record includes nine webcontrol radio buttons as a
group. The user will need to check through all 200 records and select the
choices by clicking on the radio button. Every time the radio butto... more >>
Access denied when executing Process.Start() on my Server 2003
Posted by Cédric Rossé at 10/27/2004 10:47:31 AM
Hello,
I'm currently developping a web application and I'm trying to execute a
batch file (.cmd) on the server side when the client presses a button on a
web page.
When I do this on my local machine (where I'm developping my application),
no problem occurs. But when I put the web applicat... more >>
how to refresh screen after delete a record
Posted by J at 10/27/2004 10:29:45 AM
Hi, all
I have a simple question but have no clue how to do this:
I have a datagrid in a web form which presents each user's info, after admin
selected a user, then click 'delete' button, that user will removed from backend
database. Now, how can I have screen refresh to display updated data?
... more >>
installation question on framework
Posted by djc at 10/27/2004 9:49:51 AM
part of directions I have gotten for installing asp.net for use with IIS 5
and/or IIS 5.1 is to download the dot net framework redistributable package
and install it. Is the necessary even if you have installed the dot net
framework via Windows Update site? is it different?
... more >>
Regex - Time
Posted by Ron at 10/27/2004 9:30:23 AM
Hi,
Can anyone help out with a regex for time?
I would like the regex to accept:
HH:MM AM
HH:MM PM
Optional space, optional 1st H, case doesn't matter. Thanks in advance.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for ... more >>
Directory to DataSet
Posted by Random at 10/27/2004 9:21:20 AM
Can I load a directory listing into a dataset for binding to a DataGrid
control? Anyone have some "quick start" examples. Actually, I want to read
through each xml file in the directory to compile a dataset based on search
criteria.
... more >>
Default submit button
Posted by fmeriot NO[at]SPAM hotmail.com at 10/27/2004 8:34:17 AM
Hi, I have a "long time" problem with submit buttons. On my home page,
I have 3 .ascx : The first is the login form, the second is the search
form and the last is a form which submit some data to the datatbase.
My problem is that when I fill the third form and when I hit the
"enter" key, my fi... more >>
Regular Expressions
Posted by scottnatwick NO[at]SPAM yahoo.com at 10/27/2004 8:32:58 AM
Can anyone suggest a good reference for Regular Expressions?
Or more specifically, I need to check that a user has made a selection from
Drop Down List. The default in my Drop Down List is "[Select a Model]". I
need a Regular Expression to trigger if this default value has not changed.
Any... more >>
How do i restrict entering non-numeric data
Posted by sp at 10/27/2004 8:19:18 AM
Hello Everybody,
How can I restrict the user entering non-numeric data in textbox control
on server side using asp.net. Any Code sample or suggestions are appreciated.
Thanks in advance
sp... more >>
Quick ? on Forms Authentication
Posted by Daniel.Peck NO[at]SPAM gmail.com at 10/27/2004 8:06:29 AM
Hi,
I'm using asp.net form authentication. The problem i'm having is when
my cookie expires it redirects me to the login page, so I log in again
and it brings me to the page that I was on last before the cookie
expired.
Is there something I can do so that after I login it always redirect
... more >>
implementing record browser (next previous buttons)
Posted by David at 10/27/2004 8:05:18 AM
What I envision is this.
The user gets a set of records in a data grid
Then the user gets to select one of the rows to view the detail information
about the record. Then instead of backing out to the datagrid, press Next
or Previous to view the next or previous record respectively.
How... more >>
attach flag to email msg from asp.net page
Posted by Derek M at 10/27/2004 7:13:06 AM
I am trying to accomplish sending a reminder to a clients computer. I would
like to either send an appointment using the Outlook com which I keep getting
object not found error when it gets to the namespace line
or another option is to use the flag feature with an email. I can not find
the ... more >>
Can u debug two asp.net apps @ the same time?
Posted by mekim at 10/27/2004 7:01:03 AM
Hi...Is it possible to debug two projects @ the same time w/ visual studio?
Regards,
mekim
... more >>
Regular Expressions
Posted by Scott Natwick at 10/27/2004 6:53:47 AM
Can anyone suggest a good reference for Regular Expressions?
Or more specifically, I need to check that a user has made a selection from
Drop Down List. The default in my Drop Down List is "[Select a Model]". I
need a Regular Expression to trigger if this default value has not changed.
Any... more >>
asp.net v2 and asp.net v1
Posted by Mike at 10/27/2004 6:35:04 AM
I'm creating a C# web service(locally) and i have .NET 2005 with asp.net v2
on my development box. At this time our web servers do not have asp.net v2
installed on them. Is it possible to develope and asp.net v2 and still use
asp.net v1 if i deploy to the web servers?... more >>
Data grid EditCommandColumn
Posted by Bonj at 10/27/2004 6:17:02 AM
Hi
I've been following the example on
http://aspnet.4guysfromrolla.com/articles/071002-1.3.aspx
and no matter what I do, i can't get the DataGrid1_EditCommand event handler
to fire. Could someone please tell me what I'm doing wrong.
Code below.
public class WebForm1 : System.Web.UI.Pag... more >>
Configuration error
Posted by chokk at 10/27/2004 6:13:05 AM
All,
I am getting the following error when I try to run a form page. Can someone
tell me what this is about and show me how to fix it. Thnaks.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
Description:... more >>
forms authentication and roles
Posted by Phil Townsend at 10/27/2004 6:10:20 AM
I am integrating forms authentication in a web app which authenticates
users who are listed in a SQL Server table. There will be a small list
of application roles associated with each user and I would like to store
this list of roles in SQL as well. How would one go about this? Thanks!
***... more >>
A little question about asp.net 2
Posted by lcorrias NO[at]SPAM yahoo.com at 10/27/2004 4:03:42 AM
Good Morning,
Sorry for my imperfect english.
I have this little question:
I want try ASP.net beta 2 in my development server (windows xp
professional sp2)
i have VS 2003 asp.net 1.1 and SQL Server 2000 - a tipical
installation-
Can i install the .net framework beta 2 without overwrite my
pr... more >>
exporting mutiple datagrids on different sheets of a same excel fi
Posted by Hitesh at 10/27/2004 3:57:06 AM
Hi,
I have three datagrid control on my aspx page and one export to excel
button, i want to export all the 3 datagrids contents in one excel file. how
can i achive that?
--
Thanks
Hitesh... more >>
Newbie: How to duplicate a webform (including code) - I'm confused.
Posted by Dave Smithz at 10/27/2004 2:42:17 AM
Hi there,
I am sure there is a very simple answer to this question. But how does one
duplicate a webform in ASP.net? E.g. I have a webform that has standard
basic functionality for my whole web application (e.g. a navigation bar and
general layout). I want to copy this form many times as it is... more >>
upload bitmap - problem with postback
Posted by lvpaul NO[at]SPAM gmx.net at 10/27/2004 2:34:00 AM
Hello !
I have created a webform to upload a bitmap and save in a database.
There is a <input type=file run=server>-Field where the user can select the file.
I have to buttons
Button 1: Preview
Is loading the selected file and showing in an image-field.
Button 2:
should upload the ... more >>
Upload
Posted by Bill Hicks at 10/27/2004 12:14:09 AM
I'm trying to come up with an efficient HTTP File Upload solution, but have
been discouraged by the things I have read about how Asp.Net caches the
entire file in memory before relinquishng control to the programmer. This
is definitely not good for many simultaneous uploads. As an Asp.Net
... more >>
|