all groups > asp.net > november 2007 > threads for tuesday november 13
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
website considered production code?
Posted by Sunfire at 11/13/2007 10:09:34 PM
I was looking at trying vs 2008 standard but the agreement says that you
can't make production code. Does that include live websites?
... more >>
javascript intellisense in VS 2005
Posted by Sawan at 11/13/2007 9:12:00 PM
Hi,
I faced problem in javascript intellisense. when i write window then . after
that it don't display showModalDialog method in the Dropdown List.
I reinstall IE 7 i am working on win2003 server and VS2005... more >>
ImageButton OnClientClick Events Not Firing on Client
Posted by EagleRed@HighFlyingBirds.com at 11/13/2007 7:15:01 PM
I am having trouble getting client-side events to fire on ImageButtons.
Instead I am seeing postbacks. The client-side handlers end with "return
false;" but they are never called.
<asp:ImageButton id="myButton" runat="server"
OnClientClick="myButtonClick();" src=... ></asp:ImageButton>
... more >>
Chinese Language Pack??
Posted by Evan Camilleri at 11/13/2007 6:46:55 PM
I am trying to do a web application with chinese. I managed to BUT
javascript alert and VS2005 display of resource files in designer mode does
not show the correct chinese characters but 'boxes'.
I tried to installed the Chinese language pack.... but in vain!
http://www.microsoft.com/down... more >>
Error Page in web.config .. getting Page name with error?
Posted by jobs at 11/13/2007 5:43:14 PM
I know I can set my web.config to redirect to an error page when there
is an error. Is there any way to report what page had the error in the
that error page? Will that always be the referring page name?
Thanks for any help or information.
... more >>
Need Authorization to Shared Resources
Posted by Jonathan Wood at 11/13/2007 3:58:58 PM
I have three roles: Admin, Trainer, and Client. Client pages are in my root
folder, Admin pages are in my Admin subfolder, and Trainer pages are in my
Trainer subfolder. No users can access any pages not matching their role.
In order to enforce this, I have the following in my web.config:
... more >>
Question about using several search criteria on a form
Posted by jm at 11/13/2007 3:56:01 PM
Hi, I have a form that I need to search several with several items,
some together and some separate.
Say I have a date, lastname, and invoice and I want to search on any
of these individually. Do I create three sql data objects and key
each object to the correct control?
What if I want to ... more >>
Calling Page in VB.NET class? and Forcing a page error?
Posted by jobs at 11/13/2007 3:49:42 PM
Do I have access to the name of the page calling a class from inside
the class?
What's the cleanest way to force a page error from inside a class so
that I'm automatically redirected to the configured web.config Error
page ?
And if I check the referring page from inside the Error page, whic... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
When I set the DropDownList.SelectedIndex of ONE DropDownList they ALL change!
Posted by S_K at 11/13/2007 3:39:58 PM
Hi,
I have a list of 6 DropDownList boxes, from DropDownList1 to
DropDownList6, and I'm changing the SelectedIndex of each using a
foreach loop as follows:
foreach(PaymentReqDisplay thispayment in listPaymentReqDisplay)
{
if ((string)thispayment.TaxType == "FIT")
... more >>
need help debugging please
Posted by rodchar at 11/13/2007 3:30:01 PM
hey all,
i have a simple user control that has a button on it which is on my web
page. everytime i click it i get the following message:
---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?
Line: 52716926
Error: Expected ';'
... more >>
Web Site Folder
Posted by shapper at 11/13/2007 3:21:17 PM
Hello,
I am creating a web site in VS 2008.
I have the usual App_Code, App_Themes, etc.
I would like to create a folder named Project to store some files like
PNG images, DOC files, etc.
This folder shouldn't be included in the web site compilation.
How can I do this?
Thanks,
Miguel
... more >>
Publish Web Site
Posted by shapper at 11/13/2007 3:16:25 PM
Hello,
Is it possible to publish a web site through FTP using Visual Studio
2008?
Basically, I want to compile it and send through FTP to my hosting
account using VS 2008.
Thanks,
Miguel
... more >>
First time access to website is slow - Solutions?
Posted by Cirene at 11/13/2007 3:11:12 PM
As I understand it, (by design?) the first person to visit a ASP.NET website
has to wait a little longer because the site is being compiled. Subsequent
visitors (if they visit soon) will find the site to load faster. After like
30 minutes this happens again. Where can I change this setting ... more >>
Having terrible time replacing a textbox in a gridview with another type in edit mode
Posted by anonymoushamster at 11/13/2007 2:52:47 PM
Whether it is a checkbox to be replcaed with and image or a textbox to
be repalced with a dropdown, imfailing.
One simple reason. I can add a new compoentn into the edit row ,I
jsut cant replace an existing one or fin done to then set it to
invisible.
Any help, greatly appreciated.
Many... more >>
Excel .CSV problem with save
Posted by S_K at 11/13/2007 2:02:10 PM
Hi,
I have a problem when I try to save a .CSV file from an ASP.NET web
page and the client has Excel open already. The symptoms are:
1) The web page is currently displaying the Excel spreadsheet with the
accurate data.
2) The .CSV file is saved from the server to the local hard drive of
t... more >>
Hiding GridView Columns without Re-Firing ObjectDataSource Select
Posted by Jay Pondy at 11/13/2007 1:55:01 PM
Based on wether a row is selected in a GridView I need to HIDE the last two
columns of a gridview. I do NOT need to make the cells invisible I want to
hide the entire column.
When I set the Visible property on the columns it causes the underlying
ObjectDataSource to re-issue the Select sta... more >>
compiled asp.net webpage doesnt work?
Posted by Sunfire at 11/13/2007 1:16:00 PM
I have published a website that has the "make this site updatable" checkbox
unchecked in vs2005 publish utility. I have a folder in my website that a
subdomain points to with a default.aspx file in it. Since the default index
file for websites on the server is index.aspx, I asked the server ad... more >>
Text box and Gridview on same page
Posted by JJ297 at 11/13/2007 12:46:21 PM
How do I get the validation not to fire if I'm updating a gridview on
the page. When I try to update the item in the gridview the text box
won't allow me to update because of its validation set for that text
box. How do I get around this I need the validation on the text box
too. Here's my pa... more >>
Error 12301
Posted by eme at 11/13/2007 12:34:34 PM
Hi,
I need help about this message:
"Sys.WebForms.PageRequestManagerServerErrorException: An unknown error
occurred while processing the request on the server. The status code
returned from the server was: 12301"
... more >>
Webapp restarting randomly
Posted by SAL at 11/13/2007 12:27:58 PM
Hello,
I have a web app (asp.net 2.0) that I'm loosing Session variables in.
I implemented:
Application_End in Global.asax using the following code:
Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application shutdown
Dim b As Boolean
Tr... more >>
Page encoding and browsers (IE in particular)
Posted by Mark at 11/13/2007 12:10:01 PM
Hi...
Have another thread going on in scripting.jscript trying to work around some
deficiencies in the way IE and IIS interact.
The nub of it is this: ASP.Net explicitly sets an output encoding header
which IE seems to want to ignore most of the time. At the same time, ASP.Net
emits a... more >>
CSS Website....
Posted by Jamal at 11/13/2007 11:59:05 AM
All,
We are currently in the process of rewriting our website using asp.net and
are trying to determine if we should use CSS/Div instead of tables and make
the site a full CSS site. We are new to CSS/Div and need advice/opinion on
the best approach. I did find during my research that CSS/Di... more >>
Infragistics vs. DevExpress
Posted by eric at 11/13/2007 11:50:03 AM
I'm hoping to get a response from someone who has actively used both
products (Web Based). I have been a very long time user of DevExpress
components both WinForm and ASP.Net and, overall, they're OK. With the
change in DevExp licensing scheme, I'm no longer entitled to upgrade pricing
for... more >>
GridView insert button
Posted by shapper at 11/13/2007 11:39:05 AM
Hello,
Is it possible to, instead of having the GridView Insert in each
GridView row, have it before the GridView or maybe in the GridView
footer?
Thanks,
Miguel
... more >>
gridview column width
Posted by rodchar at 11/13/2007 11:26:11 AM
hey all,
can someone please tell me how to make a gridview column fixed-width? When I
resize the browser the columns auto adjust somehow and i can't figure out how
to make that stop for one of my columns.
thanks,
rodchar... more >>
Script load problems
Posted by Lloyd Sheen at 11/13/2007 11:16:17 AM
If I click to soon (as any user would do) I get the following msg:
Microsoft JScript runtime error: Sys.InvalidOperationException:
ScriptLoader.loadScripts cannot be called while the ScriptLoader is already
loading scripts.
Any ideas how to stop this or to recover from it?
Lloyd Sheen
... more >>
How do one test for nulls in VB?
Posted by Randy Galliano at 11/13/2007 10:54:15 AM
Hello,
I am reading some records into a recordset when I got to assign a text
box the value of one of the fields I get an exception because the
recordset has a null value in it. How do you test for nulls in vb script?
Example:
txtModel.Text = SqlDataReader("Manufacturer") ... more >>
Forms Authentication Problem: Session expired, pages can still be visited.
Posted by gnewsgroup at 11/13/2007 10:38:00 AM
I am using forms authentication for a web application.
Like many other member web application, my web application prints out
Welcome! John Doe (Logout)
on the top right corner of each protected page.
But, pages can still be visited by following the links in the web
applicati... more >>
change default roleprovider at runtime
Posted by william at 11/13/2007 10:08:04 AM
Hi,
Could anyone tell me how to change the default roleprovider at runtime?
Basically I have a few sets of roleprovider and membership provider, I want
to switch among them at runtime based on some sort of identifier.
Thanks.
William... more >>
Which protocols are used when connecting using SQLClient if none are specified?
Posted by JimLad at 11/13/2007 9:41:40 AM
Hi,
<add name="ConnectionString"
connectionString="Data Source=xyz;Initial Catalog=xyz;Persist Security
Info=True;User ID=xyz;Password=xyz"
providerName="System.Data.SqlClient"/>
We are having connectivity problems between the IIS web server and the
db server. There is a firewall in betwee... more >>
Maximum memory for ASP.NET worker process
Posted by Frank1213 at 11/13/2007 9:15:00 AM
We have an application that runs out of memory on our client environment runs
when executing a rather large crystal reports ( about 400000 records) spread
over several 1000 pages. The current production server has about 4GB RAM. Is
there any benefit in increasing this to 6GB so that we can inc... more >>
Training on asp.net projects
Posted by Big Charles at 11/13/2007 8:32:55 AM
Hello,
I am an asp.net programmer and will be off work for a couple of months
looking for new jobs.
In the meantime, I thought it is important to learn some new asp.net
and web development skills.
But I would like to find this kind of on-line training: Supervised by
tutors or experts, th... more >>
UnhandledException event
Posted by Alhambra Eidos Kiquenet at 11/13/2007 7:51:03 AM
Hi misters,
is it possible use AppDomain.Currentdomain. UnhandledException event en
ASP.NET 2.0 ??
I have this code:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
PantallaControlIULogging.TrazarDebug("Principal. OnInit.");
... more >>
error in app log file anout aspnet_perf.dll
Posted by david at 11/13/2007 7:29:01 AM
The same error messages full out the application event log.
---
"The open procedure for service "ASP.NET" in DLL
"C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.dll" failed.
Performance data for this service will not be available. Status code
returned is data DWORD 0.
Data (word... more >>
Retrieving image from SQL (C#) problem
Posted by Bjorn Sagbakken at 11/13/2007 7:23:12 AM
This is kind of silly, but I just cannot figure out why:
In ASP.NET 2.0 I am retrieving images from a MS SQL server, and writing them
as binary to a separate page as the url for image controls, everything by
the book. I have been doing this a lot with VB. Now I am writing a new
application ... more >>
Using content-disposition to download a remote file?
Posted by Bob Jones at 11/13/2007 6:25:21 AM
I am using ASP.NET 2.0 w/ c#. I have an Http handler that intercepts
any request labeled .file. I am trying to have this handler serve up a
file from a remote location (public) and I do not want to have read
the file from the remote server first then stream it through my server
to the client.
... more >>
VB6 Combo box text property equivalent in HTML Select control
Posted by swapna.munukoti@gmail.com at 11/13/2007 6:08:09 AM
Hi all,
Is there a way to display some text in html select control by default
which when the control is clicked, will not be listed in the drop down
that contains its options.
For example:
When I open a page, there is a combo box with "Select" displayed in
that. It looks like that item is ... more >>
AutoComplete feature in dropdown in asp.net 1.1 - Urgent
Posted by Therasa at 11/13/2007 5:38:27 AM
Dear All,
I need the coding for AutoComplete feature in asp.net 1.1
dropdown(combo) box. Pls kindly help me to resolve this problem ASAP.
Thanks in Advance.
Regards,
Therasa.
... more >>
ConnectionString - space at end of password?
Posted by Chris Ashley at 11/13/2007 4:16:56 AM
The password to our SQL Server was recently changed and now has a
space at the end of it. I've modified the Connection String in my
web.config, but it's throwing a 'Login failed for <user>' exception.
I'm assuming this is because of the space at the end of the password
as nothing else has change... more >>
HttpContext
Posted by Alhambra Eidos Kiquenet at 11/13/2007 3:49:01 AM
Hi misters,
if I have HttpContext, how I get Page reference ??
Which is the best way to get it ??
Thanks in advance.
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica/viewtopic.php?p=843
www.trabajobasura.com/solusoft
... more >>
text align right
Posted by Claudia Fong at 11/13/2007 3:01:13 AM
Hi
I add this code in my asp.net file and I can see the text align to the
right, but I can't see the difference when I displayed the webpage in my
PDA.. so my question is does someone know why? I got mobile 5 in my PDA
<asp:TextBox ID="TextBox1" runat="server" style="text-align:right" />
... more >>
asp.net error: could not find a part of the path
Posted by ipramod@gmail.com at 11/13/2007 1:20:15 AM
Hi,
I have a codebase which contains project for all the DLL's and another
project for all UI presentations.
When I try to open an aspx page on Visual Studio editor, I get
following error on the very first line of the aspx page:
ASPX Code:
++++++++++++++++++++++++++++++++++++++++++++++
... more >>
Page reference in IExceptionHandler
Posted by Alhambra Eidos Kiquenet at 11/13/2007 1:08:00 AM
Hi misters,
I have an application web (asp.net) and I want define custom Handler for
exceptionhandling (Enterprise Library)
My custom class..
[ConfigurationElementType(typeof(CustomHandlerData))]
public class GestorExcepcionesIU : IExceptionHandler
I want to do like this:
E... more >>
|