all groups > asp.net > october 2006 > threads for wednesday october 18
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
Response.ContentType = "image/jpeg" causes Page_Load Event twice
Posted by Greg at 10/18/2006 11:56:07 PM
I've searched everywhere for a solution
Microsoft .NET Framework V 2.0.50727
AutoEventWireup=3D"false"
image2.aspx resize an image on the fly but Page_Load is triggered
twice:
Any suggestion?
Here is the code behind:
---------------------------------------------------------
Imports S... more >>
shopping cart application
Posted by nkw at 10/18/2006 11:45:03 PM
I am trying to build a shopping cart site in short time. Which one to choose?
License, integration with paypal, bank? suit for big or small site?
TheBeerHouse: CMS & E-commerce Site Starter Kit
Paypal eCommerce Site Starter Kit
pet shop 4.0
Thanks.... more >>
Login Question
Posted by Samuel Shulman at 10/18/2006 10:13:31 PM
Hi all
I want to log a user but without using the following method:
'FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, False)' method
Thank you,
Samuel
... more >>
Invoking javascript function from IHttpHandler
Posted by X at 10/18/2006 9:34:33 PM
I am trying to invoke a javascript function from IHttpHandler using
Context.Response.Write. The function is present in .js file and is not
being invoked. The following snippet is called from ProcessRequest
method of the IHttpHandler.
Code snippet:
context.Response.Write("<script>window.pa... more >>
Change Background Color
Posted by shapper at 10/18/2006 6:24:00 PM
Hello,
How can I change the background color of an Asp:Panel when the mouse is
over it?
Thanks,
Miguel
... more >>
Show and Hide
Posted by shapper at 10/18/2006 6:18:11 PM
Hello,
I created an Asp:Repeater where I have an Asp:Panel and an Asp:Label.
In each record of the repeater I want to have a small button which
hides or shows the panel in that record. If possible with no postback.
And it would be great to have a button like "Show" which would change
to "Hi... more >>
multile submit buttons and Enter key
Posted by Lukas Kurka at 10/18/2006 6:18:08 PM
Hi,
on my form i have few submit buttons. When I press Enter key the first
button on the page submits the page... Is there way how to change this
behavior?
Thx
Lukas
... more >>
Updating GAC-based Assemblies: How to handle versioning?
Posted by Hone at 10/18/2006 5:25:02 PM
I've built a core set of assemblies that are shared by multiple ASP.NET web
applications on a production server. These assemblies are updated quite
frequently, as I am continually adding to and improving the core
functionality of my applications.
Up until now, I've used a batch script to c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help needed for ServerClick function don't start
Posted by David Jia at 10/18/2006 5:21:39 PM
Hi, I have a problem in VS2003 and .Net 1.1 as below:
I put a HTML submit button control and label it as "run @ server"
My purpose is that when click this button, system will check the input
fields' value
so I write on form's onsubmit method is "return checkfield()"
BUT, after I compos... more >>
Newbie Question.
Posted by DamFoo at 10/18/2006 5:04:01 PM
Hello,
I loved how simple it was to load a basic XML file using this code:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
Debug="true" %>
<html>
<body>
<asp:Xml DocumentSource="../code/test.xml" runat="server" Visible="true" />
</body>
</html>
Problem is... more >>
Getting value of a var from javascript back to ASP
Posted by Luke - eat.lemons NO[at]SPAM gmail.com at 10/18/2006 5:03:22 PM
Hi,
I have this function:
<script type="text/javascript">
function disp_prompt() {
var reqid=prompt("Please enter the membership ID number","")
if (reqid!=null && reqid!="") {
reqid=reqid
}
}
</script>
That produces a prompt to prompt for a number, how can i return the
valu... more >>
SiteMapPath control doesn't like named anchors in sitemap
Posted by Alec MacLean at 10/18/2006 4:37:35 PM
Hi.
I'm using VS2005 Pro to work on a website project for my company.
The site has several navigation elements, all based on the standard VS2005
navigation components.
I have high-level section navigation provided via a horizontal menu, a
SiteMapPath to provide a breadcrumb and a verti... more >>
The specified module could not be found.
Posted by segue at 10/18/2006 4:00:02 PM
I'm getting this error when trying to access an aspx/asp.net page from my
laptop.
I've used IIS and asp.NET many times. Could this be related to working from
a wireless connection. I can see and browse my virtual directories.
Suggestions appreciated.
Thanks.... more >>
Need help getting the value in a HiddenField!
Posted by Jeff at 10/18/2006 3:57:51 PM
Hey
ASP.NET 2.0
Below you see the code I'm having problem with. In the Open_Message
event/method I want to get the value of the HiddenField at the row in the
repeater control I clicked.... my goal is to get the id (not a control Id,
but an id related to a database record) of a row in the... more >>
Sequence of code processing
Posted by David at 10/18/2006 3:57:05 PM
I am fairly new to ASP.Net and am using VS2005 and .Net 2.0 for page
creation. I am using VB as a language and have VB code between script tags
at the top of my page. I also have a button on my page that runs a
Protected Sub that performs some processing when clicked as noted below:
Prote... more >>
How to add dll search path? (2.0)
Posted by Tomasz Jastrzebski at 10/18/2006 3:40:26 PM
Hi All,
Is there any way I can specify additional dll search path, preferably in
web.config, which would be used by asp.net 2.0 when binding assemblies?
I have many dlls shared among applications and I prefer not to add them to
the GAC, but also I do not want to keep/manage multiple copies i... more >>
.NET framework 1.1 and 2.0 in one machine - How to make the web pages work for these versions ???
Posted by bienwell at 10/18/2006 3:30:26 PM
Hi all,
I have .NET framework 1.1 and 2.0 installed in the same server. I had some
web pages developed in Visual Studio.NET 2003 and some inline code web pages
before (framework 1.1) . Now I start some web pages from Visual Studio.NET
2005 (framework 2.0). Can I set some virtual director... more >>
How do I make a BulletList display a bullet?
Posted by Steve Kershaw at 10/18/2006 3:12:27 PM
Hi,
I have a BulletList that I fill with the BulletList1.Items.Add("text
here"); method. When I display this BulletList I don't get the bullet
displayed. I've tried:
BulletedList1.BulletImageUrl = "~/Images/BulletedList/Bullet.jpg"; but
it still dosen't display any bullet.
Am I missing so... more >>
How do I rebind a gridview?
Posted by needin4mation NO[at]SPAM gmail.com at 10/18/2006 2:37:37 PM
In a GridView, take for example a delete button. When I click the
delete button in my GridView the GridView row is deleted and the
GridView rebinds and refreshes the records to show accurately.
Problem:
I have a GridView that has a select. This select gives a FormView
control the data to ... more >>
Mouse-over help text in ASP.NET
Posted by steve_barker333 NO[at]SPAM hotmail.com at 10/18/2006 2:13:27 PM
Hi guys!
I'm trying to create a mouse-over help feature in an ASP.NET page. Here
is an example of what I mean:
http://edit.europe.yahoo.com/config/eval_register?.intl=uk&new=1&.done=http://mail.yahoo.com&.src=ym&partner=&.p=&promo=&.last
In the "If You Forget Your Password..." section, the... more >>
comparison reporting -- technique suggestions?
Posted by matt NO[at]SPAM mailinator.com at 10/18/2006 1:15:50 PM
hello,
i have been given a challenging project at my org.
i work on an inventory management web application -- keeping tracking
of parts assigned to projects. in the past, i built an in-house ASP.NET
reporting system. just your standard stuff -- user clicks on a report,
the page executes a ... more >>
Urgent: DataTable.Clear problem..
Posted by Adrian Parker at 10/18/2006 1:13:31 PM
We've suddenly started getting a problem with a call to clear the contents
of a DataTable. This is on a live customer site that's been working fine
until yesterday. As far as we know they've not changed or updated the
server in any way.
"There is no row at position 42"
at System.Data.R... more >>
posting values across several pages.Newbie
Posted by B at 10/18/2006 12:41:27 PM
I keep running into Object reference not set to an instance of an
object problem and I'm not sure why. My source page has a couple of
textboxes and dropdowns that post values to page2.aspx. I used public
members on the source page because the information is not sensitive.
When i click on the bu... more >>
Referencing BoundField Datafield of Gridview when button on row is selected???
Posted by jobs at 10/18/2006 12:27:12 PM
Given the Gridview below:
When I select the button "Rate" and fall into this code. How can I
reference "carriercode" and others . Apparently selecting the button
does not select the row. I've tried find control, and everything
returns that I must reference and instance of the object.
Comman... more >>
get querystring from frameset
Posted by Kevin Attard at 10/18/2006 12:26:56 PM
Hi,
First of all, I know that frames are evil but I had to use them in this app.
I have a frameset with 2 frames (msdn-like environment). The frameset page
has a querystring and I need to get that value from the leftframe. Any
ideas?
Thanks
... more >>
Lock application for use by one user at a time
Posted by UnglueD at 10/18/2006 11:35:52 AM
Hello.
I recently wrote an application that reads from a database and calls
a webservice to output an xml file to an FTP directory. I published
this application so that a couple of people in my department could use
it.
However, I now run into the problem where 2 or more people might us... more >>
Web Service Compression when ASP.NET is Consuming
Posted by Andy at 10/18/2006 10:59:05 AM
Hi all, I'm familiar with web service compression and how to implement
it in a Winforms app. What I'm trying to figure out how to do at this
point is how to consume the service from an ASP.NET page. I've surfed
around quite a bit looking for an answer to this, but most of the stuff
I'm seeing ... more >>
asp.net app calling Reporting Services cannot open file
Posted by kbutterly at 10/18/2006 10:43:29 AM
Good afternoon,
I have what appears to be a caching issue, but i'm a bit of a newbie at
http headers so it may be something else.
I have a small asp.net 2.0 application that is called to serve up some
SQL Reporting Services reports. The asp pages are running under SSL as
are the pages that... more >>
Dynamic Controls & Values
Posted by Jim Gregg at 10/18/2006 9:40:47 AM
Hello all,
I am faced with some logic that I am unsure how to handle. Imagine that
I am running a WMI query and I am outputting the data into a
dynamically created ASP table control. Here is my code that does this.
I have left out the portion that connects to my server and the query,
but this... more >>
Uploading Docs Into Sql Server
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 10/18/2006 9:35:58 AM
Can someone offer or point me to some sample code or advice on how to =
upload a document from a web page and store it into a SQL Server image =
field? And then reverse the process and serve up the file from the =
database when requested through a web page...
Thanks.
Jerry... more >>
difference in adapters
Posted by rodchar at 10/18/2006 9:30:02 AM
hey all,
i'm looking at vs2k3 and web matrix (remember those?).
Dim dataAdapter As System.Data.IDbDataAdapter
Dim dataAdapter As SqlClient.SqlDataAdapter
The first declare is generated by Web Matrix and the only thing i notice is
in the .Fill method. The 2nd one allows you to fill a dataTa... more >>
Session Variables - why aren't novice developers warned?
Posted by BillE at 10/18/2006 9:07:45 AM
When a user opens a new IE browser window using File-New-Window the
integrity of an application which relies on session state is COMPLETELY
undermined. Anyone who overlooks the fact that File-New-Window creates an
instance of IE in the same process with the same SessionID as the parent
win... more >>
Weird Exception
Posted by Irish at 10/18/2006 8:58:54 AM
Hi All,
I'm getting a really weird exception on a web app. It's getting
thrown left right and center.
The Exception is as follows:
Message = "File Does Not Exist"
Source = "System.Web"
StackTrace =
at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext
context)
... more >>
Using line breaks in text
Posted by David at 10/18/2006 8:51:30 AM
We have VS2005 ASP.NET 2.0 application that needs to have each paragraph
separated by a line break. I have added "<br />" into the text column (SQL
2000) and it works fine when displaying on a web page (GridView). However,
when I export the to Excel it creates separate rows for each line bre... more >>
No more stuff on C:\Documents and Settings\[User]\My Documents\Visual Studio 2005\
Posted by craigkenisston NO[at]SPAM hotmail.com at 10/18/2006 8:24:24 AM
Specially on :
C:\Documents and Settings\[User]\My Documents\Visual Studio
2005\Projects\
I don't want stuff to be put in there.
Why when I create a new project, the .sln has to be saved there by
default ?
When I want to move my projects to another computer, which I do a lot,
from one p... more >>
How to get the remote port number in asp.net
Posted by xparrot1 NO[at]SPAM gmail.com at 10/18/2006 6:38:48 AM
I know that I can get the SERVER port number like this:
HttpContext.Current.Request.ServerVariables["SERVER_PORT"]
My question is how do I get the remote CLIENT port number?
Thanks
Derek
... more >>
Multi-thread for asp.net 2.0 in c#
Posted by Ted Ngo at 10/18/2006 6:28:53 AM
Hi All,
Is there an example I can use to create mutli- thread for asp.net 2.0
in c#
Here is what I want to do. I have an multiple arrylist value. Array1,
Array2, Array3, Array3.
I want to pass the array into the thread and run each array on it own
thread.
On the thread it will create docu... more >>
ASP.Net to SMS Text for UK
Posted by robin9876 NO[at]SPAM hotmail.com at 10/18/2006 6:24:13 AM
I am looking to send a SMS text to a UK based phones from an ASP.Net
application. What methods are there of sending SMS messages to these
phones?
... more >>
Report Viewer Export Dropdown
Posted by Fred G. Sanford at 10/18/2006 6:15:26 AM
I am using Visual Web Developer Express with the downloadable Report
Viewer Redistributable Control installed.
On the Report Viewer control, the Export dropdown contains PDF and
Excel.
Is there a property on the control, or some other way, to access those
values in the Export dropdown? I n... more >>
Request for Suggestions on CMS
Posted by Peter Bromberg [C# MVP] at 10/18/2006 4:41:01 AM
I've started researching open-source CMS applications. There seem to be a
number of offerings on sourceforge.net, a few on codeplex (most with no
releases yet) and I also noticed Scott Guthrie has a couple of links on his
blog. So far I've looked at Umbraco (promising) and a few others.
Do... more >>
Treeview control to call javascript function
Posted by hibaru at 10/18/2006 4:38:55 AM
Hi
Is it possible to call a javascript function from a treeview controls
OnSelectedNodeChanged event? Something similar to a OnClientClick event
for buttons? I cant seem to find anyway to do this, any help
appreciated
Thanks
... more >>
Repeater Contains Web User Control
Posted by Webmills at 10/18/2006 4:36:43 AM
Hi all
I have a repeater control containing a web user control within its'
item template field.
Is it possible to pass through a data field into the web user control,
such that this is used when rendering the web user control.
I have exposed a parameter of the web user control and attempt... more >>
master pages across application
Posted by Ily at 10/18/2006 4:20:26 AM
Hi
I have two applications (both in asp.net 2.0).
I want both to have a common company wide look and feel
How can I do this using master pages?
Also If new applications are added, I want them to have the company
wide look and feel, but with the minimum of work? Is this 'do-able'?
Man... more >>
Managing Session
Posted by Shahar Nechmad at 10/18/2006 2:14:02 AM
I'm using ASP.NEt 2.0.
I use the session to save important information about the user current
session (for example the current project he is working on).
I use those variables in almost every web page in the application.
When a user session times out, I want to be able to make the user to relog... more >>
|