all groups > asp.net > february 2005 > threads for tuesday february 22
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
newbie question - visual studio vs hand coding
Posted by CraigC at 2/22/2005 11:50:54 PM
hi,
i'm a classic asp developer who is used to hand coding everything.
is there a performance hit to the code that visual studio produces compared,
especially when connecting to databases ?
i notice that vs inserts large swathes of code into the code behind file
when i drag a table from... more >>
Want help on hardware specification
Posted by Shilpa at 2/22/2005 10:39:44 PM
Hi,
I have sql server 2000 installed with 1 GB . Application is installed
on intel pentium 4 processor with 40 GB HDD and 512 RAM.
I want to support up to 2000 concurrent user. which application support
up to 2000 concurrent users.
Reagrds,
Shilpa
... more >>
how to send mail via AUTHENTICATED smtp account?
Posted by RN at 2/22/2005 10:37:29 PM
I am tired of sending mail from the built-in SMTP service for so many
reasons (errors are nondescriptive in the event log, it doesn't let me
control which IP address it sends from, and it identifies itself as the
computer name which is not in domain.com format, triggering spam filter
problems).
... more >>
find web user control using foreach in DataList
Posted by caldera at 2/22/2005 10:11:56 PM
Hi,
I want to find the web user control in the datalist. I iterate the datalist
using foreach statement in the DataListItem and in thi DataListItem I
iterate all Controls objects but I can't find web user control, but I found
that it is in the namedcontrols. How can I find the web user control u... more >>
Could not find installable ISAM
Posted by Henrik at 2/22/2005 10:00:48 PM
Hello
I starting use ASP.NET and has created a new file to open a Access database
I get these error and cant solve it - please need some help.
I Use Windows 2000 (have also tried to put it in to the server Widows 2003)
Here is my Error - waht is wrong:
Thankfull for help
--------... more >>
Copy To Clipboard Not Working
Posted by Wayne Wengert at 2/22/2005 9:38:30 PM
I am trying to copy the text from a textbox to the clipboard. I saw some
code posted earlier for Pasting from the clipboard so I modified it for copy
but it is not working (see code below). When I click on the
btnCopyToClipboard I can see some processing going on but the text from the
textbox is... more >>
File Upload Issue Asp.Net
Posted by Dolph Larson at 2/22/2005 8:09:01 PM
For some reason, when I try to upload a file to my web server using the
HtmlFile Control, the Request.Files is empty/null. The same code has
worked
for at least a year and now it has stopped. I am getting an error "Index
was
out of range" on the Request.Files[0] .
Can someone pleas... more >>
Some basic-design question
Posted by Tinu at 2/22/2005 8:01:51 PM
Hi,
I have some kind of basic-design question.
While developing my web application I asked myself if it makes sense to
use some kind of command pattern. How do others implement the functional
code of a web application? Put put all logic directly into the event
handlers? Use a command pat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do I cast something as a user control?
Posted by Alan Silver at 2/22/2005 7:52:46 PM
hello,
If I capture the OnItemDataBound event for a repeater, datalist, etc, I
can get hold of a control in the ItemTemplate like this ...
Literal litFred = (Literal)e.Item.FindControl("litFred");
How do I do this when the ItemTemplate contains a user control? Say I
have created a contr... more >>
Crystal Reports Cascading parameters don't get preserved between postbacks
Posted by LP at 2/22/2005 7:04:38 PM
I am using (trying to) CR version XI, cascading parameters feature works it
asks user to enter params. But if page is resubmitted. It prompts for params
again. I did set ReuseParameterValuesOnRefresh="True" in a viewer, but it
still doesn't work. Did anyone run into this problem. What's the solut... more >>
Error messages with Validators
Posted by tshad at 2/22/2005 6:41:55 PM
I have a problem where I have some text boxes in my datagrid.
The problem is the message gets displayed and moves the cells to the right.
Is there a way to tell the messages to go to a specific asp:label? If I
could put the label at the bottom of the page (or top) and tell the
Validator t... more >>
How do I pass a DateTime to a custom control ?
Posted by Alan Silver at 2/22/2005 6:33:46 PM
Hello,
I have a custom control that displays the date and time. I currently
have properties for the day, month, year, hour and minute, which have to
be set separately. This is inefficient.
I would like to have one property that I can use to pass in a DateTime,
and have the control pull o... more >>
replace function in C# part ii
Posted by Andy Sutorius at 2/22/2005 6:21:29 PM
Hi,
I read the thread (2/16/05) regarding a replace function in C# however it
didn't answer my question. I have a string which is building an insert sql
statement and I would like to replace apostrophes of the form fields. I was
trying to do something like this:
string sqlInsertEmails = "in... more >>
How to determine whether the user has already selected an option from a multi select list
Posted by Patrick Olurotimi Ige at 2/22/2005 6:02:19 PM
I would like to capture when a user has already selected an option from
a multi select list / or Textbox
So for example if a user selects a value 3 using a dropdown list or by
inputing a value it shouldn't be allowed to select 3 again only values 2
and 1.
using a rated 1 to 3 in order of prefer... more >>
Can I prevent a <asp:Panel> from adding a <div> to the HTML?
Posted by Alan Silver at 2/22/2005 5:38:59 PM
Hello,
I would like to know if it is possible to use a panel, but prevent it
from adding a <div> tag to the HTML. The reason I want to do this is
that I am using a panel to enable me to show/hide part of a page as
required. I would like the part in the panel to appear on the same line
as ... more >>
Account using when call File.Exists() in ASP.NET
Posted by Tony Cheng at 2/22/2005 5:14:26 PM
I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx
... more >>
ASPX and Word question
Posted by Mike at 2/22/2005 4:59:12 PM
Hi 2 all,
I have a question and hope that some of you might been able to give me a
hint or something.
I am bulding a web application where i need to provide the functionality to
start a word document and to fill on some places some data, like name adress
etc...
So people can select from a... more >>
Enumerate HttpCache Items?
Posted by xenophon at 2/22/2005 4:57:00 PM
I have placed several things into application cache in my ASP.NET 1.1
app, but I don't know their names. How can I enumerate everything in
there so I can extract what I need?
Thanks.
... more >>
The Demise of C#
Posted by Kevin Spencer at 2/22/2005 4:44:23 PM
About 2 years ago, and as recently as perhaps 1 year ago, I can recall
seeing many posts about what language to use with ASP.Net. The consensus was
that employers paid more for C# programmers, and it seems that C# became the
darling of the ASP.Net crowd.
In the meantime, I have observed an ... more >>
Unable to get project from the Web server
Posted by Carl at 2/22/2005 4:11:13 PM
This is really starting to do my head in, and I could really do with some
advice/help.
I'm using visual sourcesafe and attempting to open an existing project
within Visual Studio.
After identifying the project and telling VS to open it I get an error
saying "unable to get project from th... more >>
Weird Cookie Behaviour
Posted by hecsan07 at 2/22/2005 3:59:02 PM
I am trying to perform site login using values from a cookie, but for some
weird reason the cookie is being destroyed after the browser window is
closed. I checked the browser settings for the cookies, and there is nothing
there that terminates cookies uopn browser close. The following is a sa... more >>
How to find out whether i'm in window or web!!!?
Posted by Vadivel Kumar at 2/22/2005 3:56:48 PM
Hi folks,
I'm writing a framework in C# which will be my business facade object
consists
of all data layer, BL etc.,
Now the deal is, my client doesn't have any idea of whether making the
presentation layer
as a web interface or window interface, that's make a challenging effort for
me... more >>
Sync Local Access Table to the Internet for ASP.Net web app using
Posted by pStan at 2/22/2005 3:53:04 PM
Nubie Question...I'm sure this is simple, but here goes anyway. I have a
small VB.Net application that uses a local Access Database. I want that same
local data replicated to an Internet web site so that I can use an ASP.NET
page to work with the data. My DB and Application is not really bi... more >>
Looping thru controls - part 2!!
Posted by Craig G at 2/22/2005 3:29:29 PM
i have the routine setup as below. the ctlCollection is populated with =
Page.Controls. but it only ever brings back 3 controls even though there =
is more than this on the page
the control types it returns are
1 x "System.Web.UI.ResourceBasedLiteralControl"
1 x "System.Web.UI.HtmlControl... more >>
A way to transfer a query string for SQL Server to one for another database?
Posted by Quentin Huo at 2/22/2005 3:23:48 PM
Hi:
If I have a query string for retrieving data from SQL Server database, is
there a way to transfer it to a query string for retrieving data from Oracle
or any other database like mySQL...? I mean by a program. I am working on
C#.
Thanks
Q.
... more >>
Determining which Button was pressed
Posted by Keith Patrick at 2/22/2005 3:15:03 PM
I have a web page that has a bunch of usercontrols, each declaring a Button
called "GoButton". Now, my parent page has to be able to determine which
button triggered the event. The catch is: I'd like to use the same
algorithm for every control, and right now, my algorithm is "sender =
this... more >>
ASP.NET page in Crystal Reports
Posted by Prateek at 2/22/2005 3:13:53 PM
Hi All,
Can anybody throw some light on this?
I have a crystal report that shows data from a table. This works fine..
However, my requirement is to run an ASP.NET page within crystal
so that the user can preview and print the output of this page along with
regular table data.
Is this pos... more >>
Duplicate Emails with System.Web.Mail.SmtpMail.Send
Posted by chuckdfoster at 2/22/2005 3:00:20 PM
When using this bit of code, it sends two emails most of the time.
Sometimes it doesn't send two, but most of the time it does. I put the
system time (Now) in the Subject and each email has a different time by a
minute or so. I also tried to count the number of emails it is sending by
using ... more >>
strange Server.Transfer behavior
Posted by marc.gibian NO[at]SPAM ACM.ORG at 2/22/2005 2:43:55 PM
I have a simple pair of ASP.NET pages, main.aspx and login.aspx. Main
checks if there is an identity in the Session context, and if not does
a Server.Transfer to login.aspx. So far, so good. Login does exactly
that, and on success does a Server.Transfer back to main.aspx. This has
been working f... more >>
Cache problem with files sent to client
Posted by Lars Netzel at 2/22/2005 2:41:19 PM
Hi
I send a PDF to the client. It's a file with dynamic content but the same
filename and in an old Explorer 5 client it always pull the saem file even
though it should be a new file sent to tjhe client.
The PDF is sent by altering the ContentHeader to PDF mime type in an aspx
page
Ho... more >>
Looping thru all controls on a WebForm
Posted by Craig G at 2/22/2005 2:35:34 PM
how do i go about this thru serverside code (VB.NET)? any links to any
articles anywhere?
basically i just want something simple that will loop thru all txt & cbo
server side controls, and then set there back color dependant on whether
they are enabled or not
Cheers,
Craig
... more >>
displaying as an excel page
Posted by Joo Park at 2/22/2005 2:30:34 PM
Hello,
i have an aspx page that displays data in tabular format.
I'd like to change this page so that it outputs that same data into excel
format.
what needs to change in an aspx page to do that?
thx in advance!
... more >>
Static Class VS. Application State
Posted by Smithers at 2/22/2005 2:28:49 PM
I have a few variables that need to be accessible throughout my ASP.NET Web
app, across all possible Sessions.
AFAIK, there are two reasonable places to store them:
1. Application state (read the values from Web.config on ApplicationStart()
and then refer to them there).
2. properties of ... more >>
DIV Tag in ASpx page for Client side ??
Posted by mahesh at 2/22/2005 2:16:12 PM
I never used div tag, but i want to display and hide a set of control in a
aspx page in the client end..? is there any other mechanism to clear this
concept..
Mahesh
... more >>
Filling One DataGrid Based on Selection from Another DataGrid - Both in Separate User Controls
Posted by thegame at 2/22/2005 2:15:44 PM
Filling One DataGrid Based on Selection from Another DataGrid - Both in
Separate User Controls
Hello, I have an interesting dilemma.
I have an ASPX page with two user controls (two ASCXs). Both ASCXs have
DataGrids on them. The first user control's DataGrid is populated from our
databas... more >>
asp question about post vars
Posted by glenn at 2/22/2005 2:07:32 PM
I am use to programming in php and the way session and post vars are past
from fields on one page through to the post page automatically where I can
get to their values easily to write to a database or continue to process on
to the next page.
I am now trying to learn ASP to see if we can repla... more >>
Dynamic Bound Columns OnSortCommand not called (Solution)
Posted by Chad Devine at 2/22/2005 2:06:40 PM
Alright, I am posting my solution to a problem I've been having. I have
finally found the answer, and it took me a while so I thought I'd
provide the final solution here, since it may be benificial to others
and because I had to search for the solution (not the problem) in order
to find a workin... more >>
Object not set to an instance
Posted by Hutty at 2/22/2005 1:43:05 PM
The following line is creating the above error message.
tree_nodes((level)-1).Nodes.Add(tree_nodes(level))
It's because of the following line where I'm trying to calculate the length of
blank spaces and substracting from total length.
level = text_line.Length - text_line.TrimStart.Length
... more >>
Mailer, Newsletter script in asp/asp.net
Posted by Joe at 2/22/2005 1:39:05 PM
Hi,
I am looking for an asp or asp.net script that will allow people to
subscribe/unsubscribe to mailing/newsletter list. I have seen that there are
free PHP scripts but didn’t find any free in asp or asp.net. I would
appreciate if you can suggest any scripts that you know that are free ... more >>
System.Timers.Timer/System.Threading.Timer Not Firing At All on Dev Server
Posted by james.e.coleman NO[at]SPAM gmail.com at 2/22/2005 1:34:37 PM
Hello,
System.Timers.Timer/System.Threading.Timer do not fire on my
development server, yet they work perfectly on the production server.
I would appreciate any help on what the cause of this could be.
I am convinced it is not the code since the code works on another
machine.
Thanks,
... more >>
How to migrate to ASP.NET and take advantage on localization?
Posted by Julia at 2/22/2005 1:18:05 PM
Hi,
We want to migrate out asp application to asp.net and take advantage on
localization.
I want to ask how it is advice to structure the site directory
I am going to use resource only assemblies
The site is an intranet site so I don't see problems to cache some resource
manager obje... more >>
Report formatting w/o Crystal??
Posted by BenM at 2/22/2005 1:01:03 PM
I like Crystal, but only to a certain point. Is there a way/component to
format a dataset/grid with page headers footers ?? Basically, we have some
reports that we need to send out to our clients, which need to be
professionally formatted, etc...
Any thoughts?... more >>
Command Arp
Posted by Augusto César at 2/22/2005 12:49:05 PM
How Can I use command ARP to setup a ip address?
Thanks... more >>
Images
Posted by Charles A. Lackman at 2/22/2005 12:48:13 PM
Hello,
I am placing an image on a page using the following code:
Response.Write("<img src=""images/MyImage.jpg">")
This works ok, but it places the image at the top of the page. How do I
make the image show at the bottom of the page or at a particular spot.
Thanks,
Chuck
... more >>
Select DataGrid Row from code
Posted by Tin Man at 2/22/2005 12:44:13 PM
I am displaying a datagrid with a select button in each row. How can I
display it with the first row already selected, in other words I want to
trigger the selection from my server code.
Thanks,
T
... more >>
Refresh button
Posted by siaj at 2/22/2005 12:43:08 PM
Hi ,
I m new to ASP.NET ...
I have a submit button on my form which adds an user to the DB. I am facing
issue where as after clicking the submit button I refresh the form then
duplicate entries occur in DB i.e the submit button fires again. what would
be the best practice to a avoid this!!!... more >>
inserting multiple records.....
Posted by Brian at 2/22/2005 12:39:44 PM
I need help PLEASEEEEEEEEEEEEEEE.....
I am trying to create a list of questions that have yes/no answers.
There are 8 groups of questions. Based on who the user is that logs in
will determine what groups of yes/no questions they will get... The way
I was trying to do it, was to store each grou... more >>
ASP to ASP.NET
Posted by Kevin at 2/22/2005 12:18:38 PM
I have a fairly extensive and complicated ASP 3.0 app that is in use by =
about 10 clients and hundreds of users. Should I devote the time to =
migrate? Where can I see the pros and cons of a conversion? I've =
meddled a bit with .NET and recognize the obvious benefits, but... TIME =
IS MONEY... more >>
Asp.net Client Side Validation Controls are not workiing in Non IE Browsers
Posted by msnews.microsoft.com at 2/22/2005 12:14:56 PM
Hi
I have find the following <browserCap> tag at the follwing link.
http://blogs.msdn.com/scottgu/archive/2004/11/09/254583.aspx
But Still the form is submitted the to server and then show me
the validation summery message which i use in validation controls.
... more >>
Error.. "The process cannot access the file...
Posted by JeffM at 2/22/2005 12:10:03 PM
I have a .dat file on a remote server that seems to be locked. I have tried
to FTP to it and delete it, rename it, copy over it and I get the error.
"Could not copy temporary files to the output directory"
Anybody have any idea why this file is locked? What do I have to do to
release it? ... more >>
Image Zooming
Posted by ACaunter at 2/22/2005 11:57:04 AM
Hi all,
I really am in desperate need of some code that can zoom in on an image. I
don't want to just make the whole image bigger, i want to have a box ( <p>
tag ) that is the zooming window... so the image is always the same size, the
box is always the same size, and only when the box is mo... more >>
Flowing text in a WebControl.Label?
Posted by Paolo Pignatelli at 2/22/2005 11:54:07 AM
I would like to have images, that are generated from a SQL Server (an
address to the images) flow around text that a label gets dynamically from a
SQL Server. Any recommendations, please?
TIA,
Paolo
... more >>
How to set the automatic debugger ?
Posted by Raghu Raman at 2/22/2005 11:52:41 AM
Hi,
i have developed a sample webapp in my machine and it is working nice.I
copied my project to other machine and pasted it and i created the same
virtual directory as u created in the first machine.If i run my project
,it says that
'Unable to run the project .denugger is not attached... more >>
Turn off Caching
Posted by Robert Strickland at 2/22/2005 11:37:23 AM
I wish to turn off browser caching through some meta tags. Note the
following:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
However, running against my local site, the browser still caches the pa... more >>
Disabling ASPX page
Posted by Bernie Yung at 2/22/2005 11:29:03 AM
Hi,
We have a problem now that som of our clients are using a slow connection,
and because the complexity of the ASPX pages it takes a long time to load the
page including many javascript.
Is there a general way to disable the page before the page finishes loading?
thanks... more >>
ASP.Net Validation is not running in Mozilla and Netscap
Posted by msnews.microsoft.com at 2/22/2005 11:28:15 AM
Hi Every Body,
I have build the website in asp.net using
vb.net. I use the asp.net validation controls for client side validation.
When I run the site in Internet Explorer, It
run properly and every validation is working properly.
... more >>
Intercepting and updating page output...
Posted by Stu at 2/22/2005 11:23:00 AM
Hi,
I am working on a CMS that uses html templates with placeholder strings for
the content (eg: %%Content%%). I want to get the web control working on
a blank page. Then intercept the page as it is being rendered to the browser
and place the template around the output.
How do I intercept a... more >>
Difference between hitting enter and clicking submit?
Posted by 23s at 2/22/2005 10:52:33 AM
My site's login page has a form w/ 2 textboxes and a submit button. If I'm
in either of those textboxes (i.e., either one of the textboxes has focus),
in any given browser, hitting "enter" on my keyboard submits the form.
Server side, I handle the click event of the submit button. This is th... more >>
stored procedure
Posted by Yoshitha at 2/22/2005 10:39:12 AM
Hi
i've created one table and one stroed procedure to insert data into that
table.
i've created table like this
table Name=QA_QAuthor
EmailId Varchar primarykey.
Pwd varchar
Comments varchar allows null values
paypalacc varchar all... more >>
Is There a Current Session?
Posted by Johnson at 2/22/2005 10:07:44 AM
In a centralized error logging routine I need to determine whether there is
a "current session" - then if there is I log some information stored in the
current session. I have an HTTP Module that logs all otherwise unhandled
exceptions. Sometimes it logs exceptions that apparently are not rela... more >>
POST vs GET on data display forms
Posted by murphy NO[at]SPAM murphysw.com at 2/22/2005 9:56:39 AM
Hello,
I've run into a potentially wrong design decision on a project and want
to find out if my intended change is the best fix.
I have a page that displays historical time-series data using a
datagrid. The browser can modify the timeframe displayed by selecting
a value from a dropdown li... more >>
can you use resource files in datagrid columns
Posted by drdave NO[at]SPAM canoemail.com at 2/22/2005 9:46:41 AM
using this line in aspx file doesn't throw error just outputs nothing..
<asp:boundcolumn DataField="provincename" HeaderText='<%=
rm.GetString("tblHeader1")%>'></asp:boundcolumn>
in the code behind..
rm = New ResourceManager("minimum_wageapp.report1",
System.Reflection.Assembly.GetExecuti... more >>
Get computer name (but not from Context)
Posted by Johnson at 2/22/2005 9:43:06 AM
In Application_Start(), I need to retrieve the current server's computer
name. How do I do that?
Thanks!
... more >>
Trying to get DataList to use a DropDownList in EditMode. Stuck!
Posted by D. Shane Fowlkes at 2/22/2005 9:33:11 AM
My problem is pretty straight forward and I conceptually understand what I'm
doing wrong. I'm trying to populate a DDL that doesn't exist. I;m just not
sure how to resolve it.
I have a DataList that allows for record editing and deleting using the
OnEditCommand and OnDeleteCommand methods.... more >>
Problem in Application_Error
Posted by Michael at 2/22/2005 9:29:00 AM
Using some example code I've found, I'm trying to do the custom error page
thing.
I have the following in global.asax..
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
Dim oErr As System.Exception = Server.GetLastError()
Session("LastError") = oErr
End Sub
This t... more >>
Control Image Contrast, Brightness, and Sharpness
Posted by ACaunter at 2/22/2005 9:21:04 AM
Hi there,
I was wondering how i could have a slider bar or something on my ASP.Net
page to control the image quality.. like change it's sharpness, brightness,
and contrast??
is that possible??
thanks
--
AdamPC@hotmail.com... more >>
draw line on image
Posted by ACaunter at 2/22/2005 9:13:01 AM
Hi there,
I was wondering how i could draw a line on an image to find the distance (in
mm or cm) from the one point to the other point.
--
AdamPC@hotmail.com... more >>
Session Timeout - Please Help Quick
Posted by BillGatesFan at 2/22/2005 9:05:50 AM
I set the session timeout to 45 in my web.config. But it is still
timing out at 20 minutes. What I'm I doing wrong?
Thanks
... more >>
ASP.NET Caching
Posted by BillGatesFan at 2/22/2005 9:02:50 AM
I'm trying to understand ASP.NET caching. I set the Page Output
directive to VaryByParams= None and the duration = 60.
Now whenever users hit my web app they can see each others data. Is
there anyway to cache the page without this happening or am I using
Page Output caching in the wrong situ... more >>
DataGrid for Multiple Table
Posted by Sam at 2/22/2005 9:02:25 AM
Just wonder where could I find datagrid which it load from multiple table
beside the following website:
- msdn.microsoft.com
- www.asp.net
Thanks.
... more >>
Session_OnEnd
Posted by BillGatesFan at 2/22/2005 9:01:05 AM
Is there a way to warn the user that there Session is about to end? I'm
using Forms authentication and when there session ends it takes them
back to the login screen like it is designed to do.
Also it there anyway to make it take the user to a different page once
the session ends?
Thank... more >>
sorting an arrayList of objects
Posted by Adam at 2/22/2005 9:00:57 AM
Hi,
I've got a class which contains a number of properties which in turn are
read from a database. For example:
class TData
public property firstName
<get and set here>
public property surname
<get and set here>
etc. etc.
end class
I use an i... more >>
Where Can I find the IBuySpy code to download
Posted by PankajMali at 2/22/2005 8:59:04 AM
I am looking for IBuySpy sample web site code for VB. I searched on
microsoft's web sote and that directs me to asp.net web site. And I don;t see
any thing to download. Any one knows from where can I get the source code.
Thx... more >>
ASP.Net SQLConnection leaving orphans
Posted by Catadmin at 2/22/2005 8:25:05 AM
Hello, Everyone.
I have a strange one here. I'm a DBA with relatively low program
experience. Recently I was given an assignment to locate why our SQL Server
has "orphaned" connections. The setup we have is an IIS 6 machine that uses
a third party app designed with ASP .NET. The SQLConn... more >>
Panel - Dyamic Controls
Posted by asadikhan NO[at]SPAM hotmail.com at 2/22/2005 8:12:09 AM
Hi,
I am just studying for MCAD and I came across this piece of code:
-------------------------------------------------
LiteralControl lcExpenseCaption = new LiteralControl();
lcExpenseCaption.Text = String.Format("Travel Expense for Day - {0} ",
i);
TextBox txtExpense = new TextBox();
txtE... more >>
Rich Asp.Net User Control
Posted by Maurizio Alberti at 2/22/2005 8:00:56 AM
Hi,
I would like to create a rich (graphic)
ASP.NET User Control with GDI+
and I'm able to do it.
I have two question about this:
1-I would like to include a background image
(for example a jpg file) without shipping a
distinct file with my control, it's possible?
2-I save the generated ... more >>
Simple Question...Please Help...
Posted by Irfan Akram at 2/22/2005 7:37:07 AM
Hi,
I am havinf difficulty achieving what I'm trying to achieve. My basic idea
is to load an image on to an asp.net page, on a fixed size of the page so
that, if it is quite big, I can scroll through it. I want the rest of the
page for some more contols.
All I am able to do presently is... more >>
Class problem
Posted by Patrick F at 2/22/2005 7:27:04 AM
I have this little test class:
public class Item
{
private int iID = 0;
public int tID
{
get { return iID; }
set { iID = value; }
}
}
when i declare it like this, everything works:
Item mTest = new Item();
mTest.tID = 0;
when i declare it like this:
Item[]... more >>
Error
Posted by Bidyadhar Patra at 2/22/2005 6:55:03 AM
I get the below error when I call a server side function using server side
include eg: <% GetValue()%>
"The Controls collection cannot be modified because the control contains code
blocks (i.e. <% ... %>)"... more >>
Problem in VS.NET - "X is defined in multiple places"
Posted by Me at 2/22/2005 5:53:04 AM
I suddenly started getting the following kind of error and aren't sure what
to do to fix it:
<<
<<
Compiler Error Message: CS1595: 'MyWebApp.Secure.Admin.AddEditUsers' is
defined in multiple places; using definition from
'e:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
F... more >>
No client side script generated by custom validator
Posted by 00056312 NO[at]SPAM brookes.ac.uk at 2/22/2005 2:59:26 AM
Hi there people,
I'm creating my own set of self validating text boxes. They all
inherit from a base text box which simply contains a required field
validator, they then usuallly implement another validator to check
they contain number, currencies, dates or whatever.
The problem i'm having... more >>
Use my own button in input=file ??
Posted by louise raisbeck at 2/22/2005 2:43:01 AM
Hi there, I have read posts that say you can change certain style attributes
of this html control but we actually have defined buttons for our site, and
the browse button in this control just doesnt conform to this. I would really
like to create a bespoke button to use with the control. Can I ... more >>
A very basic page with trace=true doesnt work.
Posted by Bruno Paquette at 2/22/2005 1:47:03 AM
I have installed visual studio .net and now i started to write the first few
examples from the 70-315 book by Kalani.
It looks like all server side code that i put between <% %> doesnt process
from an aspx file. Even a page with <%@ Page Language = "c#" Trace="True" %>
doesnt show the ... more >>
How to close dialog box?
Posted by dotnetravi NO[at]SPAM yahoo.com at 2/22/2005 1:37:13 AM
Use client side botton to close the window.
ex:
<input type=button name="btn" value="Close Me" onClick="JavaScript:window.close();">... more >>
hard to repeat javascript error
Posted by Maverick at 2/22/2005 12:13:02 AM
I have a javascript function that using to set focus to a text box after
clicking a button (butSearch) which is called in Page_Load
**********************************************
dim jsscript as string
jsscript = jsscript + " document.getElementById('txt_S_ItemCode').focus(); "
jsscript = jss... more >>
FOR EACH - NEXT SubTotal Calculation
Posted by Sparky Arbuckle at 2/22/2005 12:02:56 AM
Hello All! My problem is trying to calculate SubTotal in my FOR EACH
NEXT Loop. I am looping through depending on how many of each different
item is in the user's shopping cart. I am using each Item ID in the
cart to display the appropriate image, artist name, and price
information for each item... more >>
|