all groups > asp.net > september 2005 > threads for monday september 5
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
Application Info
Posted by Fernando at 9/5/2005 10:28:52 PM
Hi,
is it possible to know (by code, of course) the names of each page (type
ASPX) of my solution project ?
is there a collection for this ?
I need to implement a sistem of privileges to access each page, and controls
inside
I already know how to get IDs from all controls in a given ... more >>
Problem creating Microsoft.Web.UI.WebControls.dll a/c csc.exe "not found"
Posted by Richard Lionheart at 9/5/2005 7:52:26 PM
How do I make the changes to environment variables made by vsvars32.bat
persistent?
I have tried to build Microsoft.Web.UI.WebControls.dll in a effort to study
some tutorials about web controls. Andrés Cadavid Gómez in
news:F6C9754F-1EF5-4BA1-8B26-6FA03619DB12@microsoft.com pointed me to... more >>
Binding a datagrid to a System.Collections member
Posted by Sathyaish at 9/5/2005 7:07:21 PM
Ok, all I am doing is trying to bind a data grid to an IDictionary.
Here goes:
Sub Page_Load(sender As Object, e As EventArgs)
If Not IsPostBack() Then Call BindData()
End Sub
Public Sub BindData()
Dim Skl As New Hashtable
Skl.Add(1, "Visual C#")
... more >>
Grouping files in Web Matrix
Posted by Sathyaish at 9/5/2005 6:01:29 PM
I am using Web Matrix with v.1.1 of the framework. I don't see a
concept of a project or solution in Web Matrix, so here's my problem.
I have one aspx file that wants to use a class file called
"SkillSet.vb". Skillset.vb in turn wants to use another class file
"Skill.vb". How do I group them a... more >>
New event not firing
Posted by David at 9/5/2005 5:22:24 PM
Hi all,
I am dynamically creating a LinkButton in my datagrid, however, the event
that I am creating for it is not firing.
I am obviously missing something? What am I missing?
Here is the code in my datagrid ItemDataBound
LinkButton MyButton = new LinkButton();
MyButton.Te... more >>
Using .NET to Create and Maintain IIS Virtual Directories
Posted by Robert E. Flaherty at 9/5/2005 4:04:29 PM
Is it possible to create and maintain IIS virtual directories using .NET,
either with an ASP.NET app or a C# windows app?
... more >>
added user control not showing up
Posted by PJ6 at 9/5/2005 3:14:11 PM
I need to add a user control in code, not through the designer. For some
reason it just doesn't show up. Is there some initialization method I need
to call for the control before attemptin to add it?
Paul
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg... more >>
possible to render into the <HEAD> section?
Posted by PJ6 at 9/5/2005 1:29:39 PM
I want to render this text into the <HEAD> section of a page (and perhaps
mute any existing title declaration, or alter it to be this instead) -
<title runat="server" id=HtmlTitle></title>
It seems Render only sends items into the <BODY>.
Actually, it would be nice if I had control over... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Session - Caching question
Posted by gavkel at 9/5/2005 1:24:39 PM
We are building a system with ASP.NET. Currently running
through the optimisation of the system using different caching
mechanisms. Were using Linux LBS for load balancing - this does not
employ sticky sessions. So my question is this - what caching
techniques can we use if we don't have sticky ... more >>
Retrieving arrays of values from the querystring?
Posted by Raymond Bennett at 9/5/2005 11:25:29 AM
In PHP if the querystring contains an array of parameters (e.g.,
param[0]=value1¶m[1]=value2¶m[2]=value3) then it is easy to retrieve
this and reference it as an array
$params = $_GET["param"];
echo $params[0]; //outputs value1
echo $params[1]; //outputs value2
My question is, ... more >>
Detecting if SMTP server is running
Posted by Ben Fidge at 9/5/2005 10:44:47 AM
Hi
I'm working on a project where some business process rely on several
external servers to perform processing. These are Sql Server x 2, Credit
Card processing and Mail Server.
Before entering the business process, I'd like to verify that each of these
are available, in particular the S... more >>
"Sudden" Active Directory error on ASP.NET
Posted by Patrick at 9/5/2005 10:23:03 AM
I have an ASP.NET page that searches for someone in the corporate Active
Directory.
It had been working fine until recently when I changed from Basic
Authentication on IIS6 back to Integrated Windows authentication. The error
occurs on the FindAll method. The exceptions are as follows. a... more >>
ASP.net Not Running?
Posted by R Boudra at 9/5/2005 8:35:06 AM
I am new to .net development so please bear with me. I just installed VS.net
2003 on my XP Pro, SP2 machine and tried to start a new ASP.net application
on the local web server. When I did this, I get a message stating that
"Visual Studio .NET has detected that the specified Web server is no... more >>
simple problem - need something like IsNull
Posted by NH at 9/5/2005 7:59:02 AM
Hi,
I am passing some paramaters to a function is asp.net (vb.net). The values
come from a textbox, how can I pass in a zero by default if the user tries to
enter a blank space?
I have..
BLL.Forecast.SaveChanges_DaysForecast(dgItem.Cells(21).Text)
I want something like
BLL.Forecast... more >>
capturing messagebox OK/cancel event
Posted by Andrew at 9/5/2005 7:50:06 AM
Hi,
I have a messagebox that pops up due to an event. I did it in javascript.
ie. alert("Time's up. Assessment Ended");
I want to capture the OK and Cancel events of this alert messagebox. My code
is in C#/ASP.NET.
TIA.
Andrew.
... more >>
error @ ExecuteScalar() ? need help !
Posted by jk velu at 9/5/2005 7:38:15 AM
i am executing a query in DataGrid1_itemCOmmend.
Private Sub DataGrid1_ItemCommand(ByVal source As Object, ByVal e As System.
Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.ItemCommand
Dim intCount As Integer
Dim cmdvrfy As SqlCommand
... more >>
Open Certificate user Store in IIS 6
Posted by vecozo NO[at]SPAM online.nospam at 9/5/2005 5:31:12 AM
I've got a problem with opening a certificate user store under IIS6
The situation is:
- I've created an application pool in IIS6 that runs under a local user
account. This account is member of the IIS_WPG group
- In the personal store of the user is a certificate installed.
- I've got a simp... more >>
LoadViewstate Error
Posted by Pooja at 9/5/2005 4:30:03 AM
Hi,
When I’m trying to switch from Presentation Mode to Author Mode, at that
point a control is loaded in a custom place holder and I’m getting this
error:
SYSTEM_EXCEPTION:Failed to load viewstate.
The control tree into which viewstate is being loaded must match the control
tr... more >>
y cannot create new project?
Posted by Daniel at 9/5/2005 4:14:01 AM
Hi All,
I have error msg when trying to create web page project.
the error as below:
vs.net 2003 has detected that the specified web server is not running
ASP.NET 1.1. You will be unable to run asp.net applications / services.
How to solve the above problem?
your help will be appreciated..
... more >>
500 error while GetResponse()
Posted by Pooja at 9/5/2005 3:52:03 AM
Hi All,
I'm trying to make a web request to my site from some other ASP.Net
Application. Code used for that is:
string sURL = "<my site url>";
HttpWebRequest wrGETURL = (HttpWebRequest) WebRequest.Create(new Uri(sURL));
wrGETURL.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows N... more >>
Determining What Control Caused The PostBack
Posted by Nathan Sokalski at 9/5/2005 1:27:34 AM
I have a DataList that I was having trouble getting the events for. After a
bit of help, I realized that I needed to put the databinding inside an If
Not IsPostBack() condition. Although this fixed the individual problem, it
caused problems in other areas. This is because the DataSource that I... more >>
Base64 Conversions and CPU Usage
Posted by Raed Sawalha at 9/5/2005 12:34:05 AM
I'm reading a bytes of jpg file and convert them to Base64 string using
Sender Side : Convert.ToBase64String();
in Reciever Side : i get back the string to bytes i write it to file (i
convert the string to bytes using Convert.FromBase64String())
the CPU usage when Convert.FromBase64String() t... more >>
WaitAll for multiple handles on an STA thread is not supported
Posted by jon.george1 NO[at]SPAM gmail.com at 9/5/2005 12:26:43 AM
Our system app is throwing this error intermittantly. I've seen a few
cases of it in the groups, but they all seem to apply to calling
WaitHandler.WaitAll from the UI thread in a WinForms app, which isn't
what we're doing.
We have our main web app running on one server. It creates and makes a
... more >>
How to call 2 events inside the datagrid
Posted by velu at 9/5/2005 12:21:03 AM
I have fetched a query in to the datagrids. Now I have added a new column to
the existing table (to the datagrid.)
In the new column I have placed 2 buttons. So when I click the first button
it performs some set of instruction. I actually made use of this procedure
DataGrid1_ItemCommand.
P... more >>
Test
Posted by Marc Bueno at 9/5/2005 12:17:21 AM
Just a test to MoonLee.
... more >>
Correctly Escape Apostroph in URI?
Posted by Axel Dahmen at 9/5/2005 12:00:00 AM
Hi,
within a DataGrid control I'm using a DataTable containing a string column
to fill a Hyperlink's href attribute. Unfortunately HttpUtility.UrlEncode()
doesn't escape the apostroph character, thus ruining some of my hrefs.
How do I correctly escape any character using a Page's current enc... more >>
How to set the number of drop down rows of a DropDownList
Posted by ad at 9/5/2005 12:00:00 AM
There are about 40 items in my DropDownList, Can I set the number of
dropdown rows more?
... more >>
ASP.NET Wizard Help
Posted by Davie at 9/5/2005 12:00:00 AM
I've got a slight problem with the ASP.NET wizard. The wizard is designed
to build an array of items. The first WizardStep asks how many items there
are. I then have another WizardStep which is used to create an item. I
wish to repeat this step as many times as required, depending on how ... more >>
Specifying 'Expires' header for JS file
Posted by VP at 9/5/2005 12:00:00 AM
I would like to specify 'Expires' header for a js file. Can you please let
me know where & how to specify that.
Thanks.
... more >>
Read asp session varialbes from asp.net
Posted by Glen Wilkin via DotNetMonster.com at 9/5/2005 12:00:00 AM
Can you access asp session variables from an asp.net form and vice versa?
--
Glen
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200509/1... more >>
Error occured when opening a new asp.net project
Posted by Microsoft news group at 9/5/2005 12:00:00 AM
Every time when I try to create a new asp.net porject, I always get this
message:
The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://localhost:8080/WebApplication1'. 'HTTP/1.1 403 Forbidden'.
I installed Pro... more >>
DataGrid Footer?
Posted by Adam Knight at 9/5/2005 12:00:00 AM
Hi all,
I am using a datagrid footer as a container for some data entry
controls.
Above the datagrid is another data entry point which needs to be filled
out before prior to entering data in
these controls.
Q?
How can i reference the controls in the datagrid footer so as to... more >>
Refer to image button in header of datagrid
Posted by Morten Snedker at 9/5/2005 12:00:00 AM
I have a datagrid with multiple columns.
Clicking one column header makes it sort. Clicking again makes a
reverse sorting.
But also I want to show the correct little image in the header,
depending on the column clicked.
I can find out how to catch the column clicked, but how do i refer to... more >>
Server.Transfer - frame to non frame
Posted by jason at 9/5/2005 12:00:00 AM
hi,
In my main form, there are three frames(top, left, right). There is a logout
link in the 'top frame'. When I click Logout (server.transfer('login.aspx'),
login page is shown in top frame.
How do i open the login form without showing it in any frame?
... more >>
|