all groups > asp.net > may 2005 > threads for tuesday may 10
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
any free calendar control's
Posted by Uhway at 5/10/2005 10:51:00 PM
The ms calendar control has a problem on postback. So are there any free
calendar controls for .aspx pages are available?
Thanks
BVR
... more >>
Disabling IE back button
Posted by Uhway at 5/10/2005 10:48:26 PM
1. How can do disable IE back button when I am on certain pages?
2. When user clicks ob IE back button, how can I force them to return to the
same page? The reason I want to do is, after they click on the finish
button after navigating through four or five pages, I don't want an user to
revisit... more >>
Custom server control running code before page_load?
Posted by Daves at 5/10/2005 10:42:16 PM
Is there any way to have a custom server control for all aspx pages which
runs code before the page_load event? I need some code to be run before the
page_load since it's supposed to change some Page properties, something like
an include file in the old classic asp days...
... more >>
XMLTextReader
Posted by Simon Harris at 5/10/2005 9:55:12 PM
Hi All,
I am trying to set properties of a class from the values of an XML
document.
The document is structured like this:
<?xml version="1.0" encoding="utf-16" standalone="yes" ?>
- <Page>
<Title>Test</Title>
<MetaKeywords>Test</MetaKeywords>
<MetaDescription>Test</MetaDescrip... more >>
Dropdownlist and requiredfieldvalidator postback problem
Posted by anandv81 NO[at]SPAM gmail.com at 5/10/2005 9:40:46 PM
Hi,
I have a dropdownlist and a requiredfieldvalidator that checks if a
value has been selected for the dropdownlist by the user. I am
populating the ddl at runtime and adding two items ( "Please select"
and "All") the "Please select" option has a value of "".
The problem I am facing is th... more >>
How to do "Did you mean?" a la Google
Posted by Colin Peters at 5/10/2005 9:13:19 PM
Hi,
I'm a terrible speller. So are many people, and I think it's getting
worse. That's why Googles' function to suggest re-searching with
corrected misspelled words is really nice.
Now I'm implementing an aspx page to handle 404 NotFound cases, and I
thought it'd be cool to look at the p... more >>
Should I close a datareader returned using daab?
Posted by hansiman at 5/10/2005 8:26:52 PM
I'm unsure if I should call the close method (dr.Close()) of the
sqldatareader after the following code:
Dim dr As SqlDataReader
= SqlHelper.ExecuteReader(strConn,
CommandType.StoredProcedure, "SPROC", arParms)
If dr.Read Then
m_strValue = dr("Value")
End If
/... more >>
How to Get FckEditor to work
Posted by Showjumper at 5/10/2005 8:21:41 PM
Has anyone been able to get FckEditor for dotnet to work successfully? I
consulted google groups for past post on the matter but found onlu a few
posts relating to it and still wasnt able to get it to work. Th documenation
for it is awful (read non existent). However FreeTextbox works like a ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Open new window using Javascript or Hyperlink
Posted by Jawahar at 5/10/2005 7:45:05 PM
I am trying to open a new window in two ways
1 - adding javascript to the onclick attribute of an Image button to open a
pdf document in a new window as
javascrit:window.open('MyPage.aspx',status=1,location=1,resizable=yes,scrollbars=yes)
2 - I am using a HyperLink and using the NagigateUrl p... more >>
Programmatically Creating new windows user accounts
Posted by J. Shane Kunkle at 5/10/2005 5:31:36 PM
I would like to create a web form that gives administrators the ability to
create and modify windows users on our server. The problem is that I am
having trouble finding examples of programmatically creating/modifying
windows user accounts - does anyone know of a .net library or windows API
... more >>
Crystal report
Posted by Simon Abolnar at 5/10/2005 5:05:18 PM
I implemented Crystal report in my application (export in PDF/WORD).
When I click button to display report, PDF/WORD window is opened in browser.
Is it possible to open it in PDF reader (separete window)? How?
Thanks for help!
Simon
... more >>
Frames
Posted by Ishan Bhalla at 5/10/2005 3:54:01 PM
Hello,
Am very new to ASP.Net and HTML.
I have a frame defination html file with 2 frames:
1. frSearch
The source is: WebReceiverSearch.aspx
2. frResults
The source is: WebResults.aspx
I want to accept a client code in the search frame (ie:
WebReceiverSearch.aspx) and pop... more >>
CSS File Refresh is Not Happening
Posted by Smithers at 5/10/2005 3:40:33 PM
My ASP.NET application enables the user to update a css file that is used to
style pages in the same application. During testing I discovered that
sometimes when the css file gets updated, the browser (IE6/sp2, fully
patched) doesn't show the current styling... i.e., it is not using the
curr... more >>
Configuration error
Posted by ansank at 5/10/2005 3:38:02 PM
I had .net framework 1.1 installed in a windows 2003 server. My asp.net sites
were working fine. I went ahead and installed visual studio .net (along with
front page extensions). Now, if I create a virtual under inetpub\wwwroot, I
get the following error. If I create a virtual and map it to an... more >>
web form state accross sessions
Posted by Bill at 5/10/2005 3:23:08 PM
Is there an easy way to store the values of a web form in to a database so
that every time a users comes to the site those settings populate the form
by default? Also the form contains many drop down boxes which makes it more
complicated. Before I wrote custom code I wanted to make sure ther... more >>
Multiple Page_load
Posted by tshad at 5/10/2005 3:03:54 PM
Is there a way to do put Page_loads on a page?
I am trying to setup a Page_Load that just puts a persons name that is
logged on at the top of a page the first time a page is loaded.
In my template (which would be copied to each page) would have this in it.
The each page has its own Page ha... more >>
ads by google
Posted by Ray5531 at 5/10/2005 2:28:26 PM
Sorry if this is irrelevant to this website,but I didn't find a better place
to ask this question.I sent an email to google as well which I didn't
recieve the answer.I'm creating a website and apparently the host hasn't
registered me in googles search engine(I donnu why?) .I was rerading that ... more >>
Updating a DB via SQL is giving me a headache
Posted by Ryan Ternier at 5/10/2005 2:14:38 PM
I'm having an issue with an SQL insert statement. It's a very simple
statement, and it's causing too much fuss.
strSQL = "INSERT INTO tblFieldLayouts(TypeID, FieldID, OrderID, Hidden)
VALUES(" & intTypeID & ", " & intFieldID & ", " & intOrderID & ",0)"
comFields.CommandText = strSQL
comFi... more >>
problem setting more than one selected value in a list box
Posted by Paul at 5/10/2005 1:55:05 PM
Hi I have a listbox and have the selection mode set to multiple in the
property box.
I am trying to set multiple selected values in code but it only seems to use
the last one.
listbox.SelectedValue = 1
listbox.SelectedValue = 2
thanks.
only 2 gets set above.
--
Paul G
Software engin... more >>
Progressbar using XMLHTTPRequest
Posted by laxmilal Menaria via DotNetMonster.com at 5/10/2005 1:29:13 PM
Hello Every one,
I want to implement a progressbar using the xmlhttprequest.
Please anybody can tell me how i can do this.
i think this should look like this
http://dotnet.dart.com/PowerWEB_LiveControls_CSharp/LiveProgress.aspx
Please help me out!
Thanks... more >>
need help with content type application/msword formatting page as envelope
Posted by sonic at 5/10/2005 12:58:33 PM
Hello,
I've searched the web, and can't seem to find a good reference for
msword ( content type ) formatting.
I am presenting my information as microsoft word doc. I was able to
format the text the way i wanted, but still not sure how to format the
page.
In RTF1, I can format the page as E... more >>
looking for an example to add rows and cells to a table
Posted by Fetty at 5/10/2005 12:37:01 PM
I need to be able to add fields and read then for inserting into a DB
--
I am using the free version of SPAMfighter for private users.
It has removed 0 spam emails to date.
Paying users do not have this message in their emails.
Try www.SPAMfighter.com for free now!
... more >>
Could not lock file error
Posted by TechniCT at 5/10/2005 12:25:17 PM
I am very new to working with Visual Studio, and I am trying to display
information from a MS Access database in an asp webform.
The adapter, connection, dataset, and datagrid setup have been no problem. I
am even able to preview the information, and it is correct.
When I build I get no er... more >>
server side include or user control?
Posted by Mark at 5/10/2005 12:13:38 PM
I am setting up an asp.net site using the Ektron CMS. Every page in the
site uses the same basic template, with the look of the page changing
via CSS and an id on the body. The id is shared by all pages in a
subsection, e.g. everything in /about/ needs to have <body id="about">.
In the pas... more >>
401.2 (Access Denied) Error When Moving Asp.Net to Production
Posted by ElGordo at 5/10/2005 11:46:47 AM
In our dev environment, our ASP.Net application works fine and outside users
can access it when provided with the proper URL.
Once we moved the application to our public server, we now get a 401.2
error. A windows login prompt occurs once the URL is accessed in the
browser and nobody can l... more >>
Default submit button
Posted by Chip at 5/10/2005 11:37:26 AM
This seems terribly basic, but can't find any posts on it. I have several
submit buttons on my form and at the very least, I'd like to make NONE of
them the default (hitting Enter) button. At best, I'd like to tie each
button to the text field it's associated with. Right now, I have no control... more >>
CreateUserWizar
Posted by Diego at 5/10/2005 11:31:43 AM
Cerco un modo per aggirare il problema di cui al mio post precedente (vedi
sotto): Esiste un modo di farmi tornare il MembershipUser appena creato da
un CreateUserWizard? Ho controllato nell'evento onCreatedUser ma sembra che
eventargs sia vuoto e che sopratutto non contenga il MemberShipUser ... more >>
Automated Zip File Creation
Posted by Smithers at 5/10/2005 11:26:26 AM
I have indeed googled this group and googled the 'net, and what I came up
with was that if I want to have an automated process that ZIPs a file, I
need to come up with 600 bucks for PKWare's server product.
There has to be something much much much more affordable than that.
I'd appreciate ... more >>
Visual Studio .NET setup from hell
Posted by M Skabialka at 5/10/2005 11:19:52 AM
In hopes of getting Visual Studio .NET running on my Win XP Pro computer I
have un and reinstalled VS.NET (various versions), .NET Framework (various
versions), various MySQL and other databases etc. I have never been able to
go to a localhost site on this machine, in two months of trying eve... more >>
Format Dates with HTTP Module Not Working
Posted by xenophon at 5/10/2005 11:16:48 AM
I am trying to format datetime output with an HTTP Module. Right now
dates are displaying in US format like "MM/DD/YYYY 12:00:00". I want
to change the output to "MM/DD/YYYY" if US or "DD.MM.YYYY" if German,
etc. My HTTP Module code below does not seem to affect the output of
my datagrid with ... more >>
what is the postback information in Viewstate for?
Posted by sam at 5/10/2005 11:09:51 AM
When you decode Viewstate, there last root triple is a bunch of control
ids that 'participate in postback'. This is all the information i've
been able to gather on the web. Does anyone know exactly what these
are for? And more importantly, how to get rid of them? Thanks.
-Sam
... more >>
Converting a Guid to a string
Posted by Eagle at 5/10/2005 10:53:06 AM
How do I convert a Guid to a string? I am trying to retrieve a value from a
dataview into a string variable:
CurrentValue = drv(strColumn)
and it works fine until the strColumn is a guid column, then I tried this:
Current Value = CType(drv(strColumn), String)
and I get an error that th... more >>
KeyCode Chart
Posted by Angel at 5/10/2005 10:04:01 AM
Does anyone know where I can find a chart that lists the keycodes for
javascript event.keycode property?
thanks...... more >>
MembershipProvider/session
Posted by Diego at 5/10/2005 10:03:48 AM
I've created a Custom MembershipProvider, in the user creation i have to
return somehow the ProviderUserKey but inside the MembershipProvider I have
no access to the session to store the info.
Any suggesions appreciated.
Thanks, Diego
... more >>
best control to use
Posted by Paul at 5/10/2005 9:52:04 AM
Hi just wondering the best control to use for this. I have a stored
procedure that returns, 1 to 5 records (string and corrosponding integer).
Anyhow I want the string portion to be editable. Tried a list box and it
populates correctly but can not modify the text.
thanks.
--
Paul G
Sof... more >>
enabling the debugging in VS2003 on Win2003
Posted by So at 5/10/2005 9:30:41 AM
Hi All,
Does any one know how to enable the debugging in VS2003 on
Win2003 Ent, for local or remote ASP.net web project.
The instructions given in the MSDN does not help.
Even tried the ones at http://weblogs.asp.net/mkpark/articles/86872.aspx
but could get debugging to work. So something mus... more >>
How to display multiple images in one browser window?
Posted by david at 5/10/2005 9:25:46 AM
Can I use WriteFile methods? It seems that it does not work.
For example, the following code only dispay one figure.
Response.WriteFile("images/image002.jpg")
Response.Write("<br><p>")
Response.WriteFile("images/image003.jpg")
Response.Write("<br><p>")
Any help?
Thanks
David... more >>
Empty Session Object on Port 888
Posted by Adam Barker at 5/10/2005 9:23:53 AM
Hi all,
I have an ASP.NET site running on port 888, but it doesn't seem to save
anything in the Session object. This only happens when I reference the site
using the machine name instead of localhost - when I use 'localhost' it
works fine.
Any ideas?
Thanks in advance
Adam
... more >>
ASP .NET application performance
Posted by Sunmax at 5/10/2005 9:14:08 AM
I have an ASP .NET application which loads pretty fast in our intranet. When
we try to run the same application from outside our office, it takes a lot
of time to load the ASP pages. We have a 100 Mbps line and the application
is behind a firewall in the office.
Is there any reason why accessing... more >>
how do I "write" an ASP.Net onto the page in code?
Posted by bennett NO[at]SPAM peacefire.org at 5/10/2005 9:10:49 AM
How can I do a loop from 1 to 5, where on line 1 I print 1 space
followed by a button, on line 2 I print 2 spaces followed by a button,
on line 3 I print 3 spaces followed by a button, etc.?
I tried this code:
for (int i = 1; i <= 5 ; ++i)
{
for (int j = 1; j <= i; ++j)
{
Response.Wr... more >>
Server Side Tags and Performance <% ... %>
Posted by michaeltorus at 5/10/2005 9:10:36 AM
Do server Side tags decrease performance ... i.e.
Does it make any difference from
<% response.write "A" %
<% response.write "B" %
<% response.write "C" %
<% response.write "D" %
t
<%
response.write "A"
response.write "B"
response.write "C"
response.write "D"
%
Cheer
... more >>
META HTTP-EQUIV="REFRESH" & IsPostBack
Posted by chortler NO[at]SPAM fetchmail.co.uk at 5/10/2005 9:02:10 AM
When I use the meta tag to refreh my asp webpage, it doesn't change
Ispostback to false; It always equals true?
Any ideas??
... more >>
reporting service
Posted by holly at 5/10/2005 8:58:47 AM
Does anyone know a good newsgroup that I can ask question
about sql reporting service? Thanks... more >>
Win2k3, IIS6, ASP.Net - Server Application Unavailable
Posted by Nirbho at 5/10/2005 8:40:05 AM
Hi,
I've got 2 web servers. I've installed my web app on both Win2K3 machines.
It works on one and not the other. I noticed that server which has the
problem didn't have ASP.NET installed, nor did it have the right web
extentions in IIS6. But it still doesn't work after correcting these.
... more >>
sessions, ascx, reference not set to an instance
Posted by Alexander Widera at 5/10/2005 8:26:46 AM
hi,
i have the following problem in the following code:
Basket basket = (Basket) Session["Basket"];
if (basket.isEmpty)
{
...........
}
Basket is a class which i have created myself. It has a function isEmpty of
the type bool.
This code is in a ascx-page (usercontrol).
Now... more >>
Can I translate to a different language on replication?
Posted by aaa at 5/10/2005 8:26:33 AM
Can I translate to a different language on replication and if so how?
... more >>
Locking Down Textbox
Posted by chuckdfoster at 5/10/2005 7:57:47 AM
Is there a way to limit the amount of characters a user can enter into a
textbox. I have a comment field that shouldn't have more than 50
characters. Currently, I check this length when the user clicks Submit, but
I have been asked to "lock the textbox down" so they can't enter more than
50 ch... more >>
Could not load type - not obvious
Posted by ChrisC at 5/10/2005 7:56:07 AM
Ive been fortunate enough to inherit a vs project that is causing me
problems. It compiles and runs absolutely fine on my development
machine (local), but if I deploy the generated files to one of my other
servers I get 'could not load type x.x' errors. The namespaces and
class names are correct... more >>
"file in use" from XmlDocument.Load
Posted by ek03 at 5/10/2005 7:52:12 AM
I have a web application that saves/loads XML documents. On occasion, an
error is logged on the call to XmlDocument.Load: "process cannot access the
file <filepath here> because it is being used by another process." Why
should a document read operation have any sort of locking issues - even i... more >>
Persist object
Posted by Jon at 5/10/2005 7:31:01 AM
Hello all,
I'm in need of some brainstormin help!
We have an object that we use in a number of places, both by User Controls
and Pages. This object is loaded everytime we need to use the piece of
functionality.
Example:
The user logs in and the object is loaded, the user then clicks ... more >>
DataTable Select
Posted by VK at 5/10/2005 7:23:35 AM
Hello,
I have a dataset which has one datatable in it. The dt
has over 3000 rows in it. Now I would like to get the rows
where the StartDate is 15 Feb 2005, so I did the following:
ds.Tables(0).Select("StartDate = '15/02/2005'")
However this returns me only 3 rows. I have tried other... more >>
Slide show and Sql
Posted by Rudy at 5/10/2005 6:56:07 AM
Hello all!
Can somebody give me an example of pulling images from SQL into a slide
show. I know how to pull into the repeater and stuff. So if I had
Container.DataItem ("filePath"), where "filepath" is my column that hold the
file path. How can I tell it to go to one image at a time. Woul... more >>
Convert JSP's to ASP.Net
Posted by Vinny Vinn at 5/10/2005 6:40:13 AM
I have to convert some JSP's to C#(ASP.Net),I know there are a number of
tools to do this task including the Microsoft Java Language Conversion
Assistant 2.0.
I a looking for some recommendations from people who have successfully used
some of the tools.
TIA,
Vinny
... more >>
Can I include ASP pages?
Posted by basulasz at 5/10/2005 6:10:06 AM
I have an authenticate page in ASP format. I want to include it in my ASP.NET
project, in such a way that, I want it to run everytime when any request to
my ASP.NET project pages occurs. The user will be checked by this page, and
if it authenticated he/she will be able to run on my ASP.NET pag... more >>
Storing form data
Posted by garethdjames NO[at]SPAM gmail.com at 5/10/2005 5:37:51 AM
I am looking for a generic way of storing and reloading form data,
I will implement IPostBackHandler and enumerate through the form
objects, then persist them to my DB,
I then want to on PageLoad, load this state and apply it to the state
of the form,
I don't want to loop through each nam... more >>
Setting RadioButtonList selection
Posted by dhnriverside at 5/10/2005 3:43:02 AM
Hi guys
I have a radiobuttonlist with 3 listItems, with values 0, 1 and 2
respectively.
My database stores the number, but how do I set the selected on the brl to
correspond with the database.
I tried rblMyRBL.Items.FindByValue(dbfield).Selected = true;
but the selection doesn't chan... more >>
IE Web Controls problem
Posted by Tran Vinh via DotNetMonster.com at 5/10/2005 3:34:47 AM
Hi everybody
Now i have a problem in IE Webcontrol. This is I add a button to one page
of multipage, but i can't i use button in IE 6.0 but in Mozilla 1.7.3 it
use very well. I don't know why? Can u help me? Thank alot.... more >>
Web Service Credentials
Posted by Web Team NO[at]SPAM Borough of Poole at 5/10/2005 3:11:37 AM
Hi All,
I am trying to consume a web service that requires a username/password.
If I go direct to the web service in my browser, I get a password box.
If I enter the username/password I am presented with the usual 'The
following operations are supported.' - All fine! :)
Now, when I try to... more >>
Redirecting from a .cs class file
Posted by dhnriverside at 5/10/2005 3:04:01 AM
Hi guys
How do I use Response.Redirect from a non-page class file?
Cheers
Dan... more >>
Web request with an existing cookie...
Posted by Andy Rose at 5/10/2005 2:20:04 AM
Hi,
I'm writing a small c# app to test response times of specific pages of a
website. What I need to know is when I make the request to a restricted page
can I pass an authentication cookie that all ready exists on my hard drive
rather than go through a whole login process to capture the co... more >>
Problem with Event handlers for Dynamic created Controls in DatGri
Posted by Shiju Poyilil at 5/10/2005 12:29:53 AM
I have a link button "lButton" created dynamically at the item databound
event of the data grid "datagrid1" in the footer.so i want to execute the
item command event of the datagrid on clicking the dynamicaly created link
button, but when at runtime i click the dymanic created control it dis... more >>
|