all groups > asp.net > may 2004 > threads for sunday may 2
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
Download Pdf file
Posted by Machi at 5/2/2004 11:56:03 PM
I am trying to use the below source codes in ASP.NET application to download pdf file
===========================================================================
Response.Clear()
Response.AddHeader("content-disposition", @"attachment; filename=" + strFilenm + "")
Response.ContentType = applicati... more >>
Access to parent objects
Posted by SOS at 5/2/2004 9:08:22 PM
Hi guys ,
i create a custom control and place it on a web form,
how can i access to this web form from my custom control ?
for example i want to add a button to this webform by writing code in my
custom control.
Thanx :)
... more >>
SmartNavigation, Stylesheets and Frames
Posted by Sleepy at 5/2/2004 6:36:03 PM
I have a situation where my stylesheet seems to be ignored when I set the smartNavigation property to True. Can someone please tell me what I'm doing wrong or how I should be doing this
I have a project with a stylesheet (Styles.css) in which I define a syle class. The start page is a frameset w... more >>
How do I move all items in a listbox to another listbox
Posted by kent at 5/2/2004 6:31:04 PM
Hi All,
On my form, I have 2 listboxes that get populated with the correct items.
I have 4 buttons between the 2 boxes. The first 2 buttons are used to move
the selected item
back and forth between the boxes. That works fine.
The last 2 are used to move all the listbox items (whether they'... more >>
textbox control
Posted by sean at 5/2/2004 5:28:04 PM
Hi There,
I am trying to display some textboxes on my page, When I run the code the
textbox is written to the page (when I view source) but not to the screen.
Could someone tell me if I have the syntax correct?
Sean - thanks in advance for your answer
!-- code
response.write ("<as... more >>
How to call code in aspx webform from functions defined in code behind modules
Posted by CW at 5/2/2004 4:18:31 PM
I find it necessary to mix code-behind and non-code behind techniques
sometimes.
I have utility functions defined in a VB module. Is there anyway for me to
call functions defined in VB module from aspx form (i.e., code mixed in with
html elements) or even call public shared functions from othe... more >>
How to imbed non-SSL links within SSL pages without using code
Posted by CW at 5/2/2004 4:14:44 PM
I have pages, such as LogOn.aspx, Payment.aspx that enforces the use of SSL.
Every single one of my page embeds a header and menu server controls - which
have links to other pages that do not require SSL.
In the LogOn.aspx, it automatically detects in the page_load event (using
URL.Scheme pr... more >>
immage in datalist
Posted by mahsa at 5/2/2004 2:46:02 PM
hi I use the image in datalis
<asp:Imag
ImageUrl='<%#Server.MapPath(@"\images\roomscenes\"+DataBinder.Eval(Container.DataItem, "PartNo")+"_ss.jpg") %>' Visible='<%#!System.IO.File.Exists(@"\images\roomscenes\"+DataBinder.Eval(Container.DataItem, "PartNo")+"_ss.jpg") %>' runat="server" ID="Image1" ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Credit Card Payments?
Posted by nm at 5/2/2004 2:12:23 PM
Hi,
I am a developer quite familiar with the C# language and .NET framework. I
develop mainly data driven websites. All of our past clients have shopping
cart systems developed by me in ASP.NET with the final checkout process also
being written by me and handled over SSL. However for all past ... more >>
Actually a question about the MS Access GUI
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/2/2004 2:03:36 PM
I've been building an application in VB.Net that uses an Access 2003
database (which is why I posted over here), and I'm very much in that
phase where I'm still figuring stuff out. This is my first time
using Access.
Something that has been really a pain is that I have to frequently
open a t... more >>
Please help with connection string problem
Posted by William Gower at 5/2/2004 1:55:13 PM
I am converting an ASP app to ASP.net. I need to run the old asp app on my
desktop in the process. I downloaded the files from the web server and set
my connection string as follows
strConn = "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\database\USITracking.mdb;"
I am unable to conne... more >>
Frame Listener
Posted by stw NO[at]SPAM idsi at 5/2/2004 1:11:02 PM
I am not sure how to go about creating a "frame listener" (as it is known in Java circles) in C# in ASP.Net. In essence, I to enable a parent frame to listen for, and to handle specific javascript calls from a child iFrame
I have an asp.net page with an embedded iFrame. The initial iFrame source ... more >>
HyperLink Control + Button
Posted by Paul Sullivan at 5/2/2004 12:54:05 PM
I need an "Exit" button on my intranet web app that would direct the
user to the opening page of our intranet. The HyperLink control
provides that function, but its visual presentation is not a button.
How I can I have a submit button that works as a hyperlink out of my
ASP.NET app??... more >>
moving label in c# around circle
Posted by taghreed at 5/2/2004 12:31:03 PM
please i nead to moving label in c# around circle or inside circel ?... more >>
<% ... %> constructs?
Posted by Martin Schmid at 5/2/2004 11:52:21 AM
I'm getting a parser error message:
Server tags cannot contain <% ... %> constructs...
Ok.. so How do I accomplish this:
For Each file in Files
if ucase(right(file.name,7))<>ucase("_tn.jpg") and
ucase(right(file.name,4))=ucase(".jpg") then
tnName=left(file.name,len(file.name)-4) & "_tn.jpg... more >>
WEB Controls Collection????
Posted by ALPO at 5/2/2004 9:46:03 AM
I'm used to spinning through contorl collections in VB6 to set contorl properties on the form load event. Now I would like to do the same thing in the page_load event. However, it appears that the .NET framework does not support contorl collections. I am wondering if there are any snippets out th... more >>
Hook JScript Client Events to Server Controls
Posted by David Pifer via .NET 247 at 5/2/2004 9:26:57 AM
Hello,
Fooling around with ASP=2ENet and wanted to know if this is=
possible=2E=2E=2EI wanted to attach a client event to a ASP:Checkbox=
control=2E I got this to work by adding this line of code to the=
Sub Page_Load
Code:
chkBoxProduct=2EAttributes=2EAdd("OnClick", "testFunction();")... more >>
get session by session id
Posted by clement_mai1 NO[at]SPAM yahoo.com at 5/2/2004 8:53:21 AM
I need to retrive user session by session id. Any help is much
appreciated. Thank you.... more >>
Resolution of web page / web application section...
Posted by spai NO[at]SPAM immunetolerance.org at 5/2/2004 6:56:52 AM
Hello there,
I need to set the resolution of a set of pages within my application to 800 * 600.
Is there any API / command which would help me to achieve?
Thanks ina advance,
Srikanth Pai... more >>
how to dispaly aspx forms in lower frame of the frameset
Posted by hullyi at 5/2/2004 3:11:03 AM
i have 2 frames one is a header with a menu and the other one is for dispaly, i want that all the aspx forms will be displayed in that frame even if i use 'response.redirecty' action... more >>
Identity Impersonation question.
Posted by Peter Johansen at 5/2/2004 1:17:43 AM
Hi,
I have a server that I use for shared hosting. For security reasons, I set
<identity impersonate="true" /> in my machine.config file, and set
allowOverRide="false" to prevent individual webs from impersonating anything
other than the IIS anonymous account.
The problem now is that I woul... more >>
Events of a dynamicaly created control
Posted by Carlos Cruz at 5/2/2004 1:16:01 AM
Hi,
I've a class that creates dynamically a Panel with a Calendar.
I would like to handdle the calendar event SelectionChanged but I don't know
how.
I tried:
addhandle CalendarVar, addressof EventFunction
.... but I can't get the EventFunction called.
Could you help me on this?
Th... more >>
checkbox problem.
Posted by Mac at 5/2/2004 12:51:02 AM
Dear All,
When I use ENABLE property of checkbox set to FALSE at the c# level (server side). I’m not able to change the DISABLE status of the checkbox at javascript level (client side).
Anybody can help
Thanks
... more >>
saveviewstate for the entire page
Posted by dave NO[at]SPAM palfery.com at 5/2/2004 12:03:28 AM
I have a page that needs lookups on it, so I am forced to leave the
page to get the lookup value then return to the original page. The
way I am storing the info the user has already entered is to put each
field in a session variable. Shouldn't I be able to save the
viewstate for all the contro... more >>
|