all groups > asp.net > june 2008
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
ASP.NET 2.0 Web Page Problem?
Posted by dm3281 at 6/23/2008 8:01:10 PM
Hi all --
I have a strange issue.
I have obtained a scripted database and compiled ASP.NET 2.0 application
from a sister site that I'm trying to implement locally. I have
successfully created the database and accessed various ASP.NET 2.0 admin web
pages for populating some of the fields... more >>
Server Explorer vanished
Posted by netnatter at 6/23/2008 6:37:41 PM
I have been using Server Explorer regularly and suddenly its not there.
It's in the View Menu but clicking does nothing
Any ideas?
Netnatter... more >>
IIS response is slow
Posted by llevi at 6/23/2008 5:33:01 PM
Hi there.
I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
under IIS, but it takes at least a minute before it allows me to enter
keystrokes after pressing ctl+f5.
environment: vista home premium, visual studio .net 2005.
Any ideas as to why this is so slow? how may... more >>
anyone good with javascript!
Posted by Paul at 6/23/2008 4:39:01 PM
Hi I have a webpage that is for data input and has a large number of controls
on it. In the middle of the page there are 2 dropdown boxes main,and sub.
when the page first loads only a is visible. If a user selects an item from
the main dropdown I reload the page and make the second dropdow... more >>
How to have external sites access my dynamic image?
Posted by Mark B at 6/23/2008 1:42:26 PM
I have a on-the-fly created image that is something of a performance badge
or emblem to reflect each salesperson's performance. The image includes
their grade "A+" and their sales "650 K" embedded amongst our corporate
logo. It also is a click-to-verify that takes the web user to the
salespe... more >>
How to set text in RadioButtonList from code behind?
Posted by staeri@gmail.com at 6/23/2008 1:18:16 PM
I have a RadioButtonList like this:
<asp:RadioButtonList ID="lstReportType" runat="server">
<asp:ListItem Selected="True"
Value="CompanyCheck">Text 1</asp:ListItem>
<asp:ListItem Value="CompanyStandard">Text 2</
asp:ListItem>
<asp:ListItem Valu... more >>
ASP.NET Dynamic Compilation
Posted by Marc at 6/23/2008 10:26:17 AM
I am studying ASP.NET and have a simple question reading the first lines in
this page:
http://msdn.microsoft.com/en-us/library/ms366723(VS.80).aspx
Are they talking about compilation of C# code to IL code or about
compilation of IL code to machine dependant instruction code?
... more >>
Another CPU 100% w3wp.exe issue?
Posted by Steve G at 6/23/2008 8:33:00 AM
Hi,
We are running Windows 2003 SP2 and IIS v6.0. We have CMS 2002, and are
running in mixed mode, with both asp, and asp.net pages.
We have periods where the CPU is around 100%, and stays there. Sometimes
this is for a couple of minutes, sometimes its for 15 minutes. If I leave
it, n... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
RegisterStartUpScript
Posted by BillGatesFan at 6/23/2008 8:15:12 AM
If I click a button and have a function that registers a startup
script like
button_click event:
ClientScript.RegisterStartupScript(GetType(Page), "gArray", "var
DAddresses = new Array(1,2,3);", True)
Then I have in my head tag
<script type="text/javascript">
var DAddresses = nu... more >>
Startup delay due to compiling
Posted by Chris Zopers at 6/23/2008 6:31:11 AM
Hello,
To prevent my webapplication from compiling when a user first visit's
the site, I precompile the application with the aspnet_compiler tool
(aspnet_compiler -p physicalOrRelativePath -v / targetPath).
When the application ends/stops because of inactivity for a while, it
still takes so... more >>
Login Failed
Posted by RN1 at 6/23/2008 6:02:14 AM
I am working on WinXP Pro SP3, .NET 2.0 & SQL Server 2005 (Windows
Authentication). When I run a ASPX page that connects to SQL Server,
the following error gets generated:
Login failed for user 'RON\ASPNET'
where RON is my machine name. I came across a few posts which
suggested adding RON\A... more >>
Prevent selection
Posted by Chris Zopers at 6/23/2008 2:39:11 AM
Hello,
I have a html table in which selection is prevented by using
onselectstart="return false;". This way, the user can't select anything
in the table with the mouse or with the shift+arrow keys.
But in one table cell I need to re-activate the selection possibility
again. I don't know how... more >>
Change default postback url (.net 3.5)
Posted by musosdev at 6/23/2008 2:22:00 AM
Hi peeps
I'm trying to change the default postback of my webpage. I'm trying to
create a searchbox where you can just press enter and it goes to the search
results (ala apple.com *ahem* :o)
However, the page just postsback to itself when I hit enter.
Is there any way to change the defau... more >>
Strange *.resx file
Posted by CKKwan at 6/23/2008 12:33:13 AM
Dear All,
When creating a new ASPNET project in VS2008, everything looks good.
But when migrating from VS2003 to 2008 (or even VS2005) VS will
create a *.resx file along with each and every of your *.aspx page.
Can I remove those *.resx file? I have tried to remove a few and don't
see an... more >>
Adjacent Sibling Selectors in CSS
Posted by Nathan Sokalski at 6/23/2008 12:02:53 AM
I'm not sure if this is the right place to ask this question, but I wasn't
sure where else to go. I have a table made of the following tags:
<table class="myclass">
<tbody>
<tr><td>.</td></tr>
<tr><td>.</td></tr>
<tr><td>.</td></tr>
</tbody>
</table>
The... more >>
about image rotating
Posted by Michael at 6/23/2008 12:00:00 AM
Hello all, how could I rotate a server side image in asp.net and show it in
web page? Thanks.
... more >>
xslt / transformations
Posted by Rain at 6/22/2008 11:13:53 PM
Hi
I need to do some transformations using the following class.
System.Xml.Xsl.XslCompiledTransform
I have successfully managed to get it to work. The only thing i cant work
out is how to how to prevent the following.
1.) For some reason three ??? appear at the start of the output
2.)... more >>
error "A form tag with runat=server must exist" but there is a form tag!!
Posted by André at 6/22/2008 10:34:30 PM
Hi,
i get sometimes an very unexpected error:
"A form tag with runat=server must exist on the Page to use SetFocus() or
the Focus property"
at line: If j = 1 Then txta(i).Focus()
There is a form tag as you can see in the aspx file. Is there any other
reason for this error?
Thanks for he... more >>
ASP.net 2.0 Datagrid & Dataview Item DataBound problems
Posted by ree321 at 6/22/2008 8:51:58 PM
I tried moving an ASP.net project form 1.1 to 2.0.
But I am having problems with getting the OnItemDataBound function to
run for a datagrid, in 2.0.
It only gets called up if AutoGenerateColumns is set to false.
Is there anyway around this?
Then I tried changing the datagrid to GridView and... more >>
serialize wddx data in asp.net
Posted by SV at 6/22/2008 7:07:51 PM
I am consuming Cold fusion web service in asp.net (VB) application.
My problem is: I am not able parse the data. The web service
returns:
<wddxPacket version=3D=921.0=92><header></header><data><recordset
rowCount=3D=921=92
fieldnames=3D=92JOBID,JOBNO,COST,COSTDESC,SUCCESS,ERROR_MSG=92><fie... more >>
Silverlight question
Posted by David Thielen at 6/22/2008 1:47:12 PM
Hi;
Is this the right forum for questions of silverlight on ASP.NET?
If so, is it possible for a Silverlight 2 application to trigger an
ASP.net/ASP.net AJAX event in the page it is embedded in?
If so how?
thanks - dave
david@at-at-at@windward.dot.dot.net
Windward Reports -- http://... more >>
Asp.net Questions-Answers
Posted by Bhaumik at 6/22/2008 6:08:41 AM
Hi,
http://www.aspnetquestion.blogspot.com
http://csharp-bhaumik.blogspot.com/
Check this Site for the Asp.net Question and Answer.
And also C#.net Question and Answer.
You will also Find some interview tips from it.
Regards,... more >>
Detailsview not updating
Posted by John at 6/22/2008 3:24:43 AM
Hi
I have a DetailsView that is bound to a sql server. Problem is when I press
the auto generated Edit button make some change and press the Update link I
get the below error;
Updating is not supported by data source 'mysqlserver' unless UpdateCommand
is specified.
What is the UpdatCo... more >>
can not create web-project
Posted by cmrchs@gmail.com at 6/22/2008 3:13:13 AM
Hello,
I installed Visual Studio 2008 last week, created a web project and
could run it.
I had to deinstall it for some problems I had, installed it again, try
to create a new web-project but now VS2008 comes up with the message
"unable to create website... you must install IIS, ASP.NET, ..... more >>
Synchronization between pages?
Posted by CKKwan at 6/22/2008 1:46:03 AM
1. A user log in to my page.
2. Right click at one of the link and bring up another IE window.
3. The two IE Windows are under the same session.
4. I can access the same session valirables using Page.Session["abc"].
Question:
Can I synchronize them using
lock (Page.Session)
{
... more >>
slightly off-topic: when will Microsoft host a Silverlight newsgroup?
Posted by Ken Fine at 6/21/2008 10:09:06 PM
I know about this:
http://silverlight.net/forums/14.aspx
and this:
http://forums.asp.net/1127.aspx
Silverlight Beta 2 was announced at TechEd. I was impressed. When does
Silverlight get a first-class newsgroup?
-KF
... more >>
VS 2008 New Website...create on server?
Posted by John Straumann at 6/21/2008 4:50:43 PM
Hello all:
Most of my development for websites has been on test VPC images where VS is
installed on the server image. I now have a setup where I have a test server
joined to my domain, and a development PC also joined to the domain. On the
server I created a new website on port 99 called "d... more >>
"External component has thrown an exception" - ASP.NET Bug?
Posted by SH at 6/21/2008 11:41:00 AM
There seems to be an issue with .NET 3.5/Visual Studio 2008 (Team System).
After convincing my company to create our latest project in .NET 3.5, this
is kind of reflecting bad on me.
Problem:
Solution will NOT compile. Error is simply: "External component has thrown
an exception". NO ot... more >>
Force aspx page to load from server--not cache
Posted by William LaMartin at 6/20/2008 11:44:11 PM
I have an aspx page, A.aspx, that uses some xml. The source of the xml is
another aspx page, B.aspx. B.aspx is populated with xml by code that
depends on several Session variables.
This all works fine the first time you load A.aspx. however, on subsequent
times--with changed session vari... more >>
Displaying a panel when the page loads
Posted by Joy M at 6/20/2008 8:03:31 PM
Hi -
I am writing my first two programs in ASP.NET, using Visual Basic.
The first is a questionaire form, the second sends the data collected from
the form out in an email.
The questionaire in the first program has two panels, a yesPanel and a
noPanel.
The first question of the questiona... more >>
asp to asp.net
Posted by John at 6/20/2008 7:46:40 PM
Hi
Is there a utility around to help migrate a site from asp to asp.net?
Thanks
Regards
... more >>
VWD Express 2008 Date Picker Control
Posted by Mark B at 6/20/2008 5:04:19 PM
Is there one? I couldn't see it in the list of tools....... more >>
Probably missing something simple
Posted by Paul at 6/20/2008 3:53:05 PM
Hi I have a generic list with the type being an object and am trying to fill
the list. It works partially but keeps overwritting the previous values. I
have
the generic list of objects of type Links
public List<Links> linksStructFollowup= new List<Links> ();
instance of an object of type Li... more >>
problem with CSS and DTD
Posted by maz77 at 6/20/2008 2:27:08 PM
Hi! I'm trying to develop a webApp onVisualStudio2005, but I have a
problem with CSS ... I think it's due to this directive:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
... more >>
Custom Membership Provider
Posted by Leo Seccia at 6/20/2008 12:57:09 PM
Hello everyone,
Can you use session variables from a custom membership provider? If yes,
how?
Regards,
Leo
... more >>
Exporting to Excel directly from ObjectDataSource?
Posted by ASF at 6/20/2008 12:40:27 PM
Hey all,
I have a gridview with an objectdatasource. I've been using the below
code to export to excel:
gvITV.AllowSorting = False
gvITV.DataBind()
Dim tw As New IO.StringWriter()
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
Dim ... more >>
Local ASPX pages won't diaplay - IE and Firefox ask to open or save file
Posted by Arch Stanton at 6/20/2008 11:42:57 AM
I have a set of ASPX pages that work fine on my home computer (Vista),
and on a server at work (XP). I just got a new laptop at work (XP) and
these same files don't work on it. I installed IIS and dot.net on my new
computer, but every time I try to access the ASPX pages locally (using
http... more >>
10 million visitors per month
Posted by tonim at 6/20/2008 11:35:27 AM
10 000 000 uniques. ! unique = 1 page view. Site is ASP.NET 2.0 and SQL
Server 2005. 1 visit is 3-5 database access (smal number of fields with
datareader). No pictures or other multimedia, only text.
Can I run this on some good shared hosting like www.re-invent.com or
www.hostinguk.net or ... more >>
Save entired page content to an image.
Posted by batham at 6/20/2008 11:06:25 AM
Hello C# Gurus,
I have a asp.net web page called it http://localhost/default.aspx.
Now what I want is using C# I should save the entire page content even
below the scrolling region into a PNG or some image.
Is that possible?
Help is appreciated
Thanks
Shailendra... more >>
<a> or Hyperlink?
Posted by maz77 at 6/20/2008 10:35:24 AM
Hi!
I'd like to know what's the difference between <a runat="server"
href="tmp.aspx"> and <Hyperlink NavigateUrl="tmp.aspx"> in
VisualStudio2005. What's the better chice?
Thanks
Max... more >>
XMLHttpRequest - how to get XML attributes
Posted by SpaceMarine at 6/20/2008 9:38:07 AM
hello,
my ASP.NET page uses javascript to retrieve XML data from another ASPX
page. i do this like so (snippets for example):
var ajaxResults;
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "getData.aspx", true);
xmlhttp.onreadystatechange = function()
{
if (xmlhttp.ready... more >>
Hide contents in source code
Posted by mrajanikrishna@gmail.com at 6/20/2008 9:07:49 AM
Hi friends,
I have a web page(.aspx) in my project. In the code behind, I
have a method. How can I hide(invisible) only that method and rest of
the code is visible(all other button events, bla bla).
That means when anybody opens my project in visual studio or any other
editor, the meth... more >>
Poor performance under IIS
Posted by Ilyas at 6/20/2008 8:53:49 AM
Hi all
I have an application which brings back 1000 records from a sql server
database. Under the local asp.net development server provided with
Visual Studio 2008, it takes about 1.8 seconds
When I place this application in IIS it takes 16 seconds for the exact
bit of code. I have narrowed... more >>
REGULAR EXPRESSIONS - identify specific entries as INVALID
Posted by Skinnerfritz at 6/20/2008 8:07:00 AM
Hey all,
I'm looking for some help on coding a validationexpression of regular
expression validation control in C#.
The problem is simple..and it would seem the solution likely is as well.
But I haven't come up with it.
I'd like to validatie a textbox entry.
The entry must be 6 digi... more >>
How to get connection string
Posted by SF at 6/20/2008 7:44:42 AM
Hi
How to get connection string from web.config?
SF
... more >>
Problem using a UNC Path within a COM component in asp.net
Posted by Bill Tinker at 6/20/2008 7:10:39 AM
Hi
I would appreciate any help that would shed some light on this problem...
I have a com dll that is an API to another application. The initialize
routine of the object requires the path where the data files are located, to
be passed in as a parameter. This works fine when the data folder i... more >>
Show/hide divs according to server side variable
Posted by Mike P at 6/20/2008 4:02:11 AM
How would I show or hide a div that is using client side Javascript
based upon a server side variable?
Here are my divs :
<div id="idButton5" class="otherLeftBarLink" onmouseover="javascript:
changeStylesMouseOver('5');" onmouseout="javascript:
changeStylesMouseOut('5');" onclick="location=... more >>
How to send a mail from a .net appln(.NET 2.0)
Posted by ferdin sylvester M I at 6/20/2008 2:53:39 AM
give me the code to send email from a .net application and are the
other settings i have to make to send a email successfully...... more >>
How to improve page performance
Posted by mrajanikrishna@gmail.com at 6/19/2008 11:53:10 PM
Hi friends,
I have a page which has dropdownlists bound to data source
controls. Its a big page has some input controls.
How can I improve the page rendering time/
thanks... more >>
CheckBoxList item vertical distribution
Posted by dbuchanan at 6/19/2008 10:46:23 PM
When there are only a few items in the CheckBoxList they are distributed in
a sparse maner such as one at top, one in the middle and one at the bottom.
Is there any way to have the vertical spacing always consistent and at the
top? I looked for a setting but did not see one,.
Thanks,
Doug... more >>
|