all groups > asp.net > january 2006 > threads for sunday january 8
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
A Visual Studio 2005 Standard problem
Posted by David R. at 1/8/2006 11:24:28 PM
In Design View, sometimes the Properties Window will not refresh properly
when I select different controls on the page.
Has anyone else noticed this problem?
... more >>
Transaction Log
Posted by close browser without Logout at 1/8/2006 11:23:02 PM
Hi,
I need to keep track of the transactions of an asp.net application with the
help of a translog table. This table keeps all the transactions that happens,
like Logging in logging out. but
the problem is that if a user closes the browser without logging off
properly or the machine h... more >>
ASP.NET 2.0 C# DataSet -> WebServices
Posted by David R. at 1/8/2006 11:04:45 PM
I would like to consume a web service. There is one method in this
webservice that returns the results in a DataSet type.
I know that I can return the data in a GridView control. However, if I want
to deal with the data behind the scenes (without displaying to the user),
how do I do it?
... more >>
Changing Password with Website Admin Tool
Posted by VB Programmer at 1/8/2006 10:32:53 PM
Using ASP.NET 2.0 Web Site Admin Tool.
Under Security tab it says this:
Click a row to select a user and then click Edit user to view or change the
user's password or other properties.
When I click "Edit user" I do NOT see ANYWHERE to change the users password.
Am I missing something?
... more >>
ASP.NET process identity does not have read permissions to the global assembly cache
Posted by Michael Neumann at 1/8/2006 9:51:17 PM
(sorry if this is a repeat, I'm having a bit of trouble with Outlook
Express)
I'm trying to set up a test environment for an ASP.NET site on a Windows XP
Pro box. I installed IIS5.1 and then .Net V2.
I put up a web site that contains just a simple Default.aspx "hello world"
page. When I t... more >>
Printing an ASP.NET web page from VB.NET - (HTTPWebResponse + Printing)
Posted by Jon B at 1/8/2006 9:32:57 PM
Hi There!
I'm trying to print ASP.NET pages to the printer. I know I can grab the
output contents of the ASP.NET page by using HttpWebRequest and
HttpWebResponse objects. However, once I got the contents, it is just HTML.
How do I go about printing that HTML as a graphical document to the
... more >>
nooby question here..
Posted by elvio at 1/8/2006 9:00:32 PM
i am currently new to the asp.net
so, i have a noob question here, jz want to know bout the coding below,
hope u all do not mind >_<:-
Sub submit
(sender As Object, e As EventArgs) <== what does it means, is it alwiz
in default or what?
i have search from net and books ,but then still no... more >>
Shared and object References
Posted by tshad at 1/8/2006 8:12:47 PM
I am trying to build a small shared routine that I call in all my pages. I
don't want to create an object reference as I just want to make a routine
that I can use to add in code that needs to be executed at the beginning of
all my pages with having to go change all the pages whenever this is n... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Visual Studio Pro Edition and VWD Express Editions on the same machine
Posted by Andrew Robinson at 1/8/2006 7:55:57 PM
My main dev machine has WinXp and VS2005 (pro).
1. I need to install VWD Express Edition so that I can do some instruction
on this. Any issues with both on the same machine. Installation order?
2. Does VWD Express Edition support the idea of Solutions? I coun't figure
out how to create... more >>
ASPNET 2.0: Progressbar while long taking task
Posted by purkka at 1/8/2006 7:48:53 PM
Hi
I suppose, that my problem is of interest to many readers:
While long time task (i.e reading a remote Pc's WMI), a user should
see either the progressbar or "a DIV history log" such as "Now
enumerate softwares...". That must be shown in the same aspx page where
the user started the heav... more >>
if statment (assistance)
Posted by vncntj NO[at]SPAM hotmail.com at 1/8/2006 6:36:51 PM
I'm passing testing for a session variable
if (Session["MemberQuantity"] != "0")
void memberFun()
{
Response.Write(Session["MemberQuantity"] + " Young Friend Member
Ticket(s) at " + Session["MemberCost"]);
}
}
the Session["MemberQuantity"] comes from
<select><option>... more >>
Can I store connection in Application variable?
Posted by GS at 1/8/2006 6:26:33 PM
I have system wide connection string defined in web.config. Is it =
possible to store connection object in global variable accessible by =
whole application and get reference to it in different parts of code =
instead of creating new connection each time? How will this survive =
thread switching... more >>
Content page response to a buttonClick() in a Master page
Posted by Jack at 1/8/2006 4:54:01 PM
Hi,
How can I get my content page to repond to the button click it's Master page?
Thanks, Jack.... more >>
Is this made easier in 2.0?
Posted by VB Programmer at 1/8/2006 4:39:27 PM
I have an application that users can fill out and submit on my 2.0 website.
(The results are emailed to an admin.) If I want to automatically store the
application info into a database table do I have to create the ADO.NET for
this, which isn't a problem? Or, is there an easier way to do thi... more >>
WebControl using SPAN tag instead of DIV tags
Posted by Lloyd Dupont at 1/8/2006 4:36:06 PM
I just wrote a composite user control.
It is composed of 2 panels (the idea is only one panel is visible at a
time), and each panel has various simple control.
When rendererd it's rendered using <div> (I suspect this comes from the
Panel), is there anyway to use SPAN instead?
--
I have ta... more >>
trying to change the culture in an IHttpModule
Posted by Lloyd Dupont at 1/8/2006 4:26:04 PM
I'm trying to write a multilingual web site where the user could choose =
his language explicitely.
I have 2 flag, the user could click on the flag to change the culture.
The core of the logic goes in an HttpModule:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
public class LangModule : IHttpModule
{
... more >>
Missive
Posted by nikool19a NO[at]SPAM yahoo.com at 1/8/2006 4:00:15 PM
FRIEND,
As are you, Brandon and www.ChezBrandon.com are intelligent and
awesome. May you have an awesome day.
A succinct warning: Elements of the Mossad, sated with cash from the
murderous and destructive narcotics trade -- for example, according to
Reader's Digest, cocaine alone costs US b... more >>
Dynamically build ImageButton
Posted by Varangian at 1/8/2006 3:19:00 PM
Hi there,
I'm using C# for a webapplication. In my page I'm building ImageButtons
dynamically on Page_Load. However I want to access these Images at
runtime for example when a user clicks a button for example.
I'm trying to use the FindControl but it returns a
System.Web.UI.Control not an S... more >>
<asp:datagrid MISSING!!!
Posted by David R. at 1/8/2006 2:57:40 PM
I can't seem to find the DataGrid control from my VS 2005 Toolbar. I
thought it would be in the "Data" category of the Toolbar, but I could only
see GridView, DataList, DetailsView, FormView, Repeater, ReportViewer and
the other DataSources controls.
The DataGrid seems to be missing. How ... more >>
ASP.NET 2.0 GridView Bug? DataFormatString doesn't work
Posted by Amelyan at 1/8/2006 2:38:32 PM
When I try to apply {0:d} to date or {0:c} to number (for currency), my
GridView doesn't apply the format. It still shows DateTime as it comes from
database with time and currency as just a number without $ sign. Formatting
in my DataGrids still works just fine.
Is anyone else experiencin... more >>
RequiredFieldValidator
Posted by IT at 1/8/2006 2:30:53 PM
Hi
Anybody knows how to enable or diasable requiredfieldvalidator by using
javascript. I need enable validators ony by clicking Submit button, not all
time.
Mac
... more >>
trying to add a module
Posted by Lloyd Dupont at 1/8/2006 2:13:13 PM
I wrote a module, in the App_Code directory.
Now I'm trying to add it to the application with code like:
<add name="MyLangModule" type="LangModule" />
it works quite curiously.
if I put a breakpoint in my module Init() method, it get filtered only once
(for one query), after that it doesn't ... more >>
Good error handling design
Posted by GS at 1/8/2006 2:10:29 PM
Any points of what would be the good error handling design for =
application?
User error handling in Application_OnError and throw() new errors on =
conditions through the code?
I'd like utlimiately to consolidate all error_handling in one method =
which I'll be able to easily modify to write t... more >>
trying to write a multilingual web site
Posted by Lloyd Dupont at 1/8/2006 1:42:27 PM
I created a=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
public class LangModule : IHttpModule
{
public void Dispose() {}
public void Init(HttpApplication application)
{
HttpContext context =3D application.Context;
HttpCookie lc =3D context.Request.Cookies[Lang... more >>
Gridview and Empty Textbox .net 2.0
Posted by paulmac106 at 1/8/2006 12:12:20 PM
Hi,
I have a gridview based on a SQL stored procedure. I then want to let
the user filter the results by 4 textboxes. When all 4 textboxes have
"some" search criteria the gridview works fine, but if even one is left
blank the gridview doesn't return any records. When I test the stored
procedu... more >>
Physical Location for IIS Logs Files
Posted by prabhupr NO[at]SPAM hotmail.com at 1/8/2006 10:28:48 AM
Hi Folks
For a Web-site on VS 2005 on Win 2003 server, can somebody please tell
me where are the IIS Log files Saved?
Thanks
PP
... more >>
Scripted ASPX pages
Posted by prabhupr NO[at]SPAM hotmail.com at 1/8/2006 10:10:25 AM
Hi Folks
In one of the discussion thread I came across this word "Scripted ASPX
pages (that is, there's no code behind file)". Is this possible? If
so, could somebody please let me know how?
Thanks
PP
... more >>
z-index
Posted by Nick K at 1/8/2006 9:58:35 AM
I am having trouble using the Z-INDEX on ASP.Net Web Controls.
I have a drop-down menu above some <INPUT> and DropDownList controls. The
menus are dropped down by JavaScript.
I set the menus to use a style of "Z-INDEX:1000;position:relative;" and the
controls listed above to use a style of ... more >>
403 when opening .pdf from hyperlink
Posted by prefersgolfing at 1/8/2006 7:42:55 AM
I'm using a repeater to list .pdf's. While creating the list I'm using the
_ItemBound event to set the path to the .pdf's. The paths are correct. I'm
getting a HTTP ERROR 403 - Forbidden when the debugger tries to open the
..pdf. What's wrong? Thanks.
... more >>
*.SLN files
Posted by David R. at 1/8/2006 7:32:22 AM
It seems that Visual Studio 2005 insists on creating the *.sln and *.suo
files in a directory that's different from the actual website project.
e.g. I have my web app in E:\web\project1\. But VS 2005 creates a
E:\web\project1 (2)\ to store the *.sln and *.suo files.
Is there a way to forc... more >>
Protection levels after Conversion Wizard
Posted by musosdev at 1/8/2006 5:37:02 AM
Hi
I've got a project I've just run through the conversion wizard, and it's
giving me a few headaches.
I've got a user control which has controls referrenced from its calling page
(usercontrol1.textbox1.text etc).
All worked fine in V2003, but 2005 is giving me a "usercontro1.textbox... more >>
Quickest,effective way of fetching data
Posted by drewdr NO[at]SPAM yahoo.com at 1/8/2006 4:49:56 AM
Let's say I need to get one single value to work with- the balance
column of a certain userid.
Do I have to fill a dataset from a select query, and then find the
appropriate cell in the dataset ?
Or is there some quicker/better way ?... more >>
<asp:PasswordRecovery -- remove security question
Posted by David R. at 1/8/2006 3:19:50 AM
Is there a way to remove the security question step from the Password
Recovery control?
i.e. I just want the user to enter the username and have the password
emailed to him immediately. No need for the security question.
... more >>
Problem with asp:SqlDataSource LIKE condition with acute caracters
Posted by alain.hogue NO[at]SPAM gmail.com at 1/8/2006 3:08:44 AM
I have a table "tblCards" with a field "Titre" that contain french
words (H=E9bert, Gagn=E9, H=E9l=E8ne, etc....) in an database with
SQLEXPRESS 2005.
I have used the asp:SqlDataSource to filter the SELECT statement
according to a Textbox the user can type into. When used with the LIKE
condit... more >>
2.0 Login control with cursor focus on Username
Posted by David R. at 1/8/2006 2:06:05 AM
Using <asp:Login ID="Login1" runat="server">
Is it possible to set the initial cursor focus on the Username text field
when the page initially loads?
... more >>
ASP.NET 2.0 TreeView - Programatically Selecting A TreeView Node
Posted by Tymbow at 1/8/2006 2:02:02 AM
I'm building a web application that is analogous to the Windows XP file
explorer in function. The left column contains a TreeView, and the right
column a DataGrid populated by selecting TreeView nodes. The TreeView
populates dynamically as there are a significant number of nodes. The
DataGri... more >>
Publishing Websites in VS.Net 2005 -url not retained
Posted by mike.aes NO[at]SPAM gmail.com at 1/8/2006 1:29:23 AM
I'm using Visual Studio 2005 and have a website project in asp.net 2.0.
Everytime I publish it, I have to enter in the URL. Is there a way for
VS to remember this setting? It will remember it so long as I have the
project open.
But if I close VS and go back in, it gets "amnesia"
... more >>
Cross browser
Posted by Ajay Kumar at 1/8/2006 1:12:01 AM
I have developed an asp.net application in 2.0 . I need this web page to
have same look and feel in all the browser like IE, mozila , firefox etc.
Please suggest me how to proceed. ... more >>
Variable is used before it has been assigned
Posted by paapa21 at 1/8/2006 1:06:02 AM
i have write code in that updates details of student and then present it in a
different panel i n the same. however a recieve object reference not set to
an instance of an object.
Can someone please help me to correct it. below is the sub where the error
is trapped.
Sub UpdateStudent_C... more >>
|