all groups > asp.net > december 2003 > threads for monday december 15
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
Browsers back button
Posted by Don at 12/15/2003 11:47:56 PM
Hi,
my application consists of two pages. On page A
configuration settings are done for the information that is
shown on page B.
On the first run everything works fine. But if the user is
on page B and then going to A by clicking the browsers back
button, changing something on A and then pre... more >>
Drag and drop
Posted by Angkoon at 12/15/2003 11:19:24 PM
Can asp.net do a drag and drop operation, can anyone help
me point to some example on this.... more >>
Site Search Component Needed
Posted by PCC at 12/15/2003 11:01:51 PM
I am looking for a site search component, any pointers or links? Thank you.
... more >>
XML Files
Posted by Jim Heavey at 12/15/2003 10:49:28 PM
I am trying to figure out what "rule of thumb" I should be using to figure
out if I must store/retrieve my information from a database or an xml file.
It would appear that web hosting companies will charge more for utilizing
MS SQL server and frankly I just don't feel that the cost are warran... more >>
Code Behind
Posted by A.M at 12/15/2003 9:58:16 PM
Hi,
I want to have both code and HTML in same page so I removed CodeBehind and
Inherits directives from top of the aspx page. The problem that I have now
is Visual studio.NET 2003 doesn't help me to create event handlers.
How can i have VS.NET 2003 help me to create event handlers when i do... more >>
DataList checkbox status
Posted by Vannela at 12/15/2003 9:29:21 PM
I want to get the status of the checkbox control in the
item template of the DataList in the code behind
Using findcontrol i am not able to get the status of the
checkbox . How shouls i get the status of the checkbox
whether it is checked or not?\
Thank you... more >>
How Many record. Like to know?
Posted by RAW at 12/15/2003 8:52:36 PM
I'm using ASP.net with vb, Access database and SQL query, I'm trying to
count records that match with a particular criteria after making a loop
statement and after displaying any records.
Does any one of you knows the asp.vb.net script
... more >>
Exception handling strategy
Posted by Do at 12/15/2003 7:46:50 PM
Hi,
I would like to hear about everybody's exception handling strategies.
I currently just catch my exceptions and display all my messages
on the page that the exceptions occurs, in a label.
I don't have a centralized page for all error. What are some good ways
that I can centralize my... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Script
Posted by simon at 12/15/2003 4:18:55 PM
if I have on page:
<asp:label id="Label1"></asp:label>
and I can't get its value on client script:
<script language="vbscript">
sub test()
msgbox form1.label1.text
end sub
</script>
If I use instead of this <input type=...>
I can read it's value in client script but I can'... more >>
Html encoding SOAP response
Posted by Casper Hornstrup at 12/15/2003 4:15:50 PM
Is there anyway I can make my xml webservice not htmlencode the response
from a call to an API?
I have:
public int PerformOperation(string operation, out string result)
The content of result is html encoded, but since it contains valid xml,
I should get away with not htmlencoding it, or not... more >>
Visual Studio.Net + Windows 2003 = don't work!
Posted by Armando Lacerda at 12/15/2003 3:30:02 PM
Hi there,
I've just installed VS.Net on a Windows Server 2003. I've
made a simple web app (ASP.Net) and it doesn't work. The
error message is:
Debugging is not supported under current trust level
settings
Does anybody have a clue about this error?
Thanks!
Armando Lacerda... more >>
Programming Excel Efficiently
Posted by ibeetb at 12/15/2003 3:20:48 PM
My head is exploding with the 500 different ways shown on Microsoft's site
to program Excel (Office)
Can anyone offer the best solution to the following:
I want to program a couple of Excel reports for both Mac Users and PC users
and have them access from a web site. These users not only have di... more >>
NT Login
Posted by Phil Barber at 12/15/2003 3:09:45 PM
Using the Win32's I used "WNetGetUser" (winsock API ) to get the NT login
name.
what is the best way to achive this in C#?
thanks
Phil.
... more >>
Could not display a column in Access 2000 nwind.mdb in a listbox using ole DataAdapter, Connection and dataset controls
Posted by yma at 12/15/2003 2:55:47 PM
Hi,
I tried to use a listbox to display a column in MS Access 2000 nwind.mdb by
using ole DataAdapter, Connection and dataset controls. But I got "It is
already opened exclusively by another user, or you need permission to view
its data." I put ole DataAdapter, Connection and dataset contro... more >>
stop postback flicker
Posted by Mary Simpson at 12/15/2003 2:31:58 PM
Hi,
I have a page that refreshes every 5 seconds, smartnavigation is set to
true. It works great on my local server (no flicker), but it flickers pretty
badly on the host's server.
Is there a reason why smartnavigation might not work on a certain server?
Is there another way to stop flick... more >>
Where is BIN directory?
Posted by localhost at 12/15/2003 2:26:29 PM
I want to get the location of the bin directory, where
the ASP.NET dll files live before they are shadow-
copied.
System.Reflection.Assembly.GetExecutingAssembly() only
shows the shadow copy location, which is not what I want.
Thanks.... more >>
Checkbox Value - Please help
Posted by Amy Snyder at 12/15/2003 2:20:50 PM
For what I thought would be a very simple task is turning out to be very
frustrating. I have been trying for a day now to extract checkbox
values from my form and nothing is working.
On my form load I am setting the values of my checkboxes:
chk1.Attributes.Add("checkValue", "151010")
chk2... more >>
dynamically add linkbutton
Posted by Hu Dong at 12/15/2003 2:14:25 PM
HI, I got some difficulties in adding linkbuttons through C# coding. I added
a panel as follows:
<asp:Panel id="LblNav" Runat="server" Visible="True"
Height="4Px"></asp:Panel>
then I created a method to generate a few links and inserted into this
panel;
void RenderNav (int CurrentPage, int... more >>
default button on page
Posted by John Holmes at 12/15/2003 2:04:43 PM
I've added a button to a search page and when the user enters in search
criteria in the search text box and hits ENTER I'd like it to behave as if
the user clicked the SEARCH button. Is there a way to set a default button
with ASP.NET?
Thanks,
John Holmes
johnsh@co.skagit.wa.us
... more >>
compiling error happend after asp.net site run for a while
Posted by Jhe at 12/15/2003 1:22:49 PM
Any one have any ideas for the following problem?
After update asp.net web site, it runs pretty well, but
after a while (from within 30 minutes to couple hours),
the site still available, but all the .aspx will not work,
it said the code behind file did not compile, actually the
code behi... more >>
moving from ASP.NET 1.0 to 1.1
Posted by Sanjay Tibrewal at 12/15/2003 1:11:54 PM
Hello,
I need to move from .NET 1.0 to 1.1. Is there a package that enables you to
do that or do you just apply 1.1 on top of 1.0. Is there any KB article/FAQ
that describes the upgrade process and any thing I need to worry about
before I go ahead and upgrade?
Was looking around MSDN but co... more >>
Creating VS.NET Projects Outside from Wwwroot
Posted by Ken Awamura at 12/15/2003 12:05:16 PM
Hi,
By reading this article =
:http://www.microsoft.com/downloads/details.aspx?FamilyID=3D8b8e4a98-64b4=
-4b95-89b2-8235ffbb8b02&DisplayLang=3Den
I notice the I can create VS projects in places different from wwwroot. =
Well, I figure out how to do it, eg : force VS to create a project in M... more >>
TimePickerControl
Posted by simon at 12/15/2003 11:52:37 AM
I need timePicker control which allows user to pick the time.
So I use Microsoft Date and Time picker control 6.0 which is shown on page
as activex:
<OBJECT id="izberiCas" style="Z-INDEX: 101; LEFT: 64px; WIDTH: 64px;
POSITION: absolute; TOP: 80px; HEIGHT: 32px"
classid="clsid:20DD1B9E-... more >>
Comma Delimited
Posted by Yama at 12/15/2003 11:51:33 AM
Hi,
I am looking to create a report comma delimited on a click of a button.
Explanantion:
1. Get from the database: "SELECT * FROM Customers WHERE Region = 'CA'"
2. Use either DataReader or DataSource
3. Create a button "Export"
4. On ServerClick Event prompt user to save as a text comma d... more >>
How to use RegularExpressionValidator instead of RequiredFieldValidator
Posted by Peter at 12/15/2003 11:44:02 AM
Hi All,
I would want to use RegularExpressionValidator instead of
RequiredFieldValidator. I coded ValidationExpression="^[a-
zA-Z0-9 ]+$">. But it doesn't work. Do you have any idea?
Thanks,
Peter... more >>
peculiar ViewState corruption problem when clients are FrameWork 1.0
Posted by Richard K Bethell at 12/15/2003 11:14:36 AM
I recently upgraded a web server to FrameWork 1.1. Everything works fine,
but we get email alerts whenever there are errors. Now one that I do not
understand is consistent ViewState problems when someone uses the site with
this in the User Agent string: ".NET CLR 1.0.3705"
Why would the client... more >>
JIT compilation hangs ASP.NET process
Posted by Scott at 12/15/2003 11:13:57 AM
So I can't figure out how to Google for this problem, I'll
try asking for a solution here.
Whenever I deploy changes, whether they are changed
code-behind DLL's or ASPX/ASCX/ASAX pages to my staging and
production web servers the process hangs. I'm guessing it's
during the JIT compilation bec... more >>
Strange Error - When Subfolder is converted to virutal folder
Posted by at 12/15/2003 10:57:09 AM
Let me explain step wise.
1.. I have a site running on port 5555=20
2.. If contains web.config file with contains <Forms> authentication.=20
3.. The site contains a sub-folder named "MembersArea" which contains =
ss.aspx=20
4.. ss.aspx contains page_load event which prints=20
... more >>
Do most people use the regular old DataGrid?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 12/15/2003 10:31:19 AM
I have only made on asp.net vb.net application and used the "regular"
DataGrid control. I found later there is a MSDataGrid and different
controls. What do most people use? I am already behind the times
enough. I want to make sure I am using what is appropriate. I have a
typical three-tier appro... more >>
redirecting within frameset
Posted by Serge L at 12/15/2003 10:20:07 AM
Ok, I have Main.htm page which contains:
<frameset rows="20%,80%">
<frame scrolling="no" name="top" src="ONE.aspx">
<frame scrolling="yes" name="bottom" src="MAIN.aspx">
</frameset>
and I have another webform TWO.aspx
So the top frame (one.aspx) contains action buttons and
bottom frame is ... more >>
IIS Reverse Proxy
Posted by A.M at 12/15/2003 10:12:25 AM
Hi,
We are developing ADP.NET applications and one of our requirements is
implementing a Reverse Proxy on IIS.
I have couple of questions about Reverse Proxy:
Question 1) my understanding is IIS6 (and also IIS5) doesn't have reverse
proxy capability and the only reverse pr... more >>
ntext to string
Posted by dave at 12/15/2003 9:57:09 AM
dr1.GetString(2) this is how I get varchars. How to I get ntext?
... more >>
Sending and receiving encrypted emails
Posted by Leszek at 12/15/2003 9:35:08 AM
Hello,
A few weeks ago I sent a post about sending encrypted emails. I found out
how to encrypt such emails using .NET, but now there is another step: How to
receive them?
Let's say I have sent an encrypted email using SHA1 from a WebForm. What
kind of software should a user have on his/her... more >>
The process cannot access the file because it is being used by another process.
Posted by Jerry at 12/15/2003 9:21:33 AM
I've inherited a system w/5 projects - I'll refer to them
as P1 thru P5 - P5 being the executable...
P1 has no dependents.
P2 is dependant upon P1
P3 has no dependents.
P4 is dependant upon P1, P2, P3
P5 is dependant upon P1, P2, P3, P4
The build order is:
P1, P2, P3, P4, P5
So... more >>
Error number 448?
Posted by Ross at 12/15/2003 9:03:44 AM
I am trying to pass a datatable from a page to another
page in a different frame. The user would see the results
of a query in the first frame then could navigate through
the second frame to a page that uses the query data for
another purpose.
I kept getting null-object-reference errors whe... more >>
Return Key Press
Posted by Tracey at 12/15/2003 8:21:31 AM
I have a web form that has an OK button. I would like the
user to be able to press the return key to activate the OK
button as well as clicking on the button. How would I do
this?
Thanks for any help.... more >>
Showing the Enable property on the PropertyBox of an ImageButton type class
Posted by Andrés Giraldo at 12/15/2003 8:20:22 AM
Hi!
I created a webcontrol that inherits from an ImageButton, I need to show
the Enable property on the PropertyBox, how can I do that?
Note: The ImageButton doesn't shows the Enable property on the
PropertyBox
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't ... more >>
Autogenerated Columns
Posted by Binny at 12/15/2003 7:44:09 AM
I have a DG with autogenerated columns.
can i make a columns readonly like the data key column.
when edititemindex is valid.
Thanks
... more >>
Passwords in web.config... is this secure?
Posted by John Buchmann at 12/15/2003 7:32:42 AM
In my web.config, I have a section that has a name and
password:
<credentials passwordFormat="Clear">
<user name="aaa" password="bbb" />
</credentials>
Is this secure? What is to stop someone from opening up
this file (it's a simple text file), getting the
sensitive info, and then ... more >>
Client-side scripting from a radio button
Posted by Eldon Ferran de Pol at 12/15/2003 7:26:25 AM
I'm trying to bind some client-side script using...
rb.Attributes.Add("OnCheckedChanged", "clientfunction();")
For some reason the client-side cript is never being
called. I've done this before from buttons without any
problems.
Any ideas?... more >>
Asp.net DNS error
Posted by Amar at 12/15/2003 6:54:07 AM
I have set the file size limit to 50 MB in the
Machine.config file on the websever. whenever a user tries
to upload a file which has size > 50 MB, then my
application quits showing a DNS error page.
With some help from this forum, i have been able to trap
this error of file size limit in ... more >>
Converting string in iso-8859-1 format to unicode
Posted by jesper_schioett NO[at]SPAM hotmail.com at 12/15/2003 6:23:50 AM
Hey!
I got a rather anoying problem here.
I'm making a webmail application, that collects webmail from different
POP3 servers. Fine - it works - allmost.
The problem is encoding - or should I say lack of (i think)
When Outlook 2003 (danish) sends email, it encodes in iso-8859-1
When my mai... more >>
Datalist binding
Posted by Abhishek P. at 12/15/2003 6:09:58 AM
Hi
I am using a datalist bound to a query to display data.
The problem is that, in the query there is a numeric field
that stores values from 0 to 3, each corressponding to a
state {0-availble, 1-unavailable...and so on}.
When i bind the datalist, numeric values in the field
values ar... more >>
Error in accessing Excel sheets.
Posted by sk at 12/15/2003 5:41:10 AM
Please forgive me if the same topic is already posted. But i havent found
I have got an error while accessing the excel file as below. Can somebody reply if there is a solution
Access is denied.
Exception Details: System.UnauthorizedAccessException: Access is denied.
The ASP.NET process is not ... more >>
#region Web Form Designer generated code
Posted by JakeC at 12/15/2003 5:01:20 AM
when i put my code in initializecomponent
it gets erased.
where is the best place to put my page oninit code
a)oninit
b)initializecomponent
when i put in
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnI... more >>
Web Config without App?
Posted by localhost at 12/15/2003 4:06:42 AM
Is a web.config read in any subdirectory of a web site,
or is web.config only read if it is itself in an
application main directory (eg site root or virtual
directory)?
Thanks.... more >>
Error msg while trying to debug ASP.NET web application.
Posted by Murad Khan at 12/15/2003 3:36:49 AM
I recieve the following error when i try to debug my web
application:
Error while trying to run project.Unable to start on web
server.Catastrophic faliure.Would you like to disable
future attempts to debug ASP.NET pages for this project?
i have tried almost everything to resove this.plaz... more >>
Alignment problem in the datagrid
Posted by Vannela at 12/15/2003 2:57:16 AM
I want the textboxes to be aligned vertically in the
header template of the datagrid ? how is it possible
Please give me some code snippets.
Thank you... more >>
asp:requiredfieldvalidator asks for permissions
Posted by Uso at 12/15/2003 2:01:58 AM
Hi,
I have a problem with field validation. It used to work
fine and might be related to an upgrade to .Net 1.1
framework. Code with asp:requiredfieldvalidator now
prompts the user for username/password. On a "Cancel" it
proceeds but doesn't work correctly.
Has anyone phased this problem?
... more >>
XML File - split up and add to SQL table
Posted by Mark at 12/15/2003 12:06:52 AM
Hi
I have an XML file with 50 fields,
I want to split up these fields and put them in the corresponding fields in
the SQL table
whats the most efficent way to do this? and how do i do it
...also, i'd like to get threads of problems with solutions (like the NG's)
sent to my inbox, anyone ... more >>
Comments regarding the MSDN Yatra seminar held at Hyderabad,India
Posted by Srinivasan S Saripalli at 12/15/2003 12:02:25 AM
To,
Microsoft.
Hi guys.
I am Srinivasan S Saripalli. I am a Windows VC++
Programmer from Hyderabad,AP,India.I have been to USA for
some period of time and now I am in Hyderabad,India.I used
to regularly attend seminars in USA and I do the same in
Hyderabad as part of MSDN Yatra.I find... more >>
|