all groups > asp.net > october 2006 > threads for tuesday october 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
online users
Posted by Jeff at 10/10/2006 10:10:45 PM
Hey
asp.net 2.0
I want to populate a GridView with a list of the online users, but I'm not
sure how to get the collection of online users:
I tryed using this code:
MembershipUserCollection onlineUsers = Membership... but I didn't find a
method in the Membership class which provide a co... more >>
How do I find a control in a datalist?
Posted by needin4mation NO[at]SPAM gmail.com at 10/10/2006 9:00:54 PM
I have this code:
protected void DataList1_ItemCreated(object sender,
DataListItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType ==
ListItemType.AlternatingItem)
{
Label lbl = (Label)DataList1.FindControl("lblTest");
... more >>
App_data folder question?
Posted by Artificer at 10/10/2006 8:51:21 PM
Why by simply having a .mdf file in the app_data folder it is made
accessible? Does placing a .mdf in the app_data folder does some kind
of attachment? Do this pseudo attachment works only with the express
version of SQL Server? Do this feature works for access databases?
... more >>
How can I get an image with webclient and display on calling asp.net page?
Posted by needin4mation NO[at]SPAM gmail.com at 10/10/2006 7:35:42 PM
Hi, using this code I pieced together from others:
<%@ Page language="c#" Debug="true" %>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="System.Drawing.Drawing2D" %>
<%@ Import Namespace="System.Drawing.Imaging" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="Sy... more >>
Application Restart
Posted by Janet at 10/10/2006 6:49:35 PM
Hi,
I've used the Application_Start() to load some codes onto the Web Server.
However, I need to reboot my machine every time if I've added some codes to
the database, and for it to load up to the Web server.
In VS.NET 2003, I can simple remove the compiled files fin /bin then the
Applic... more >>
Dynamically Selected "Group By" for Crystal Reports in 2005
Posted by ASF at 10/10/2006 6:31:19 PM
Is it possible to create a crystal report graph in which a user selects
some parameters---a date range for instance--- AND the table field that
they wish to "Group By" then hits the submit button and CR displays the
graph on the webpage *Grouped By* the user's selection?
In SQL terms, I'm tryi... more >>
Web Server Performance
Posted by Sachin Salgarkar at 10/10/2006 6:18:00 PM
We have a Win 2003 Server that runs around 15 instances of an ASP.NET 1.1
Web Application ( in the same application Pool).
Each instance connects to a SQL 2K database on a separate database server.
The database size is around 100 MB (min ) to 3 GB Max.
The web server is a 2.6 GHZ Xeon with ... more >>
Atlas licence
Posted by Justin Kadima at 10/10/2006 5:55:29 PM
Can I use Atlas in a comercial application?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
go back to Same Point of Web Page !!!!
Posted by Aur_Ros at 10/10/2006 5:05:59 PM
I have a very long page then with a buttom_click event I need to make
some calculation and fill a table shown in the page, the problem is
that when my page postback I start at the top of the page and I need to
scroll down to see the results!!!, Does anybody Knows how can I do to
go back to the s... more >>
Master Pages and JavaScript
Posted by Sekhar at 10/10/2006 4:53:02 PM
Hi all
I have a MasterPage and a Content Page. I want to raise a client side event
for a control on my Content page
When I place the javascript code in master page file it works fine. But when
I place the code in the some js file and refer it in the master page it
doesnt work..
Please... more >>
Problem with textbox
Posted by Jeff at 10/10/2006 4:47:40 PM
Hey
asp.net 2.0
I have a UserControl which contain many TextBoxes. When I from the webpage
(the webpage containing this UserControl) click on a button to start save
the text in the textBoxes, then nothing is saved....
I've debugged and discovered that the TextBox.Text = "", but I typed ... more >>
System.Net.WebClient and UploadFile() Problem
Posted by Amos Soma at 10/10/2006 4:25:33 PM
I am using WebClient to upload a file to a remote server. The call I'm
making looks as follows:
webClient.UploadFile("http://sdtpcal.someserver.com/Federation/Databases/Federation.Zip",
@"C:\Temp\Federation.Zip");
'Federation' is a virtual directory on the server I'm attempting to upload
... more >>
Adding a web user control to a web control library
Posted by rsam2011 NO[at]SPAM yahoo.com at 10/10/2006 3:39:47 PM
Hi,
I need to create different modules (web control libraries) each
containing a set of functions and web user controls. I will then need
to load these libraries into my ASP.NET application and put the
controls on the ASP.NET pages.
The big problem that I am facing is to add web user contro... more >>
XmlDataSource & Website Proxy
Posted by sck10 at 10/10/2006 3:08:34 PM
Hello,
How do you set the website proxy using the XmlDataSource control?
Thanks, sck10
... more >>
Dataset/Excel Problem
Posted by James at 10/10/2006 3:08:03 PM
I'm querying an Excel Spreadsheet and populating a DataSet with the returned
data. This works fine, and I can bind to a datagrid without problem.
That's assuming I have the first row containing the column headings. If my
first row is data and *not* headings, I want to treat it as if there ar... more >>
Javascript changes not saved
Posted by ken s at 10/10/2006 3:02:02 PM
I'm using Javascript to change a value in an asp:textbox control on an
asp.net page, then submitting the page and persisting the data using c# code.
I can see the value in the textbox change when the Javascript runs, but when
the page is submitted, the c# event code still sees the original v... more >>
implementing sql transactions in data access layers
Posted by Sridhar at 10/10/2006 2:55:01 PM
Hi,
I am trying to implement sql transactions. But I am not knowing how to
do that. I created a data access layer which contains methods to
select/insert/update tables in a database. I have also created a business
logic layer to retrieve/update the data from the data access layer. All o... more >>
Is this possible
Posted by Guy Cohen at 10/10/2006 2:51:52 PM
Hi all.
I would like to present a picture (small one) when someone hovers on a
control
Is it possible in ASP.NET?
TIA
Guy
... more >>
Intermittent Referencing Bug in ASP.NET 2.0 / VS 2005
Posted by steve_barker333 NO[at]SPAM hotmail.com at 10/10/2006 2:15:50 PM
Hi guys!
I keep getting the following error reported by VS 2005 in my ASP.NET
2.0 web project:
"The type or namespace name 'MainPages_XXX' could not be found (are you
missing a using directive or an assembly reference?)"
The line of C# code (in the "code-behind" file) that error refers to... more >>
Compile DLL from .vb file
Posted by Elmo Watson at 10/10/2006 1:48:16 PM
Is there a way, inside VS.Net 2005, to compile a .vb file into a dll?
... more >>
Shopping Cart recommendations
Posted by Groove at 10/10/2006 1:11:15 PM
I know this is a FAQ and a noob question so thanks in advance to anyone who
assists!
I did a few ecommerce projects way back in 1999-2000. Back then, I used
StoreFront (an ASP product). I'm in the process designing my first
web-store in several years and a lot has changed since then. So b... more >>
GridView + DataBinding of nested classes
Posted by SMichal at 10/10/2006 12:02:14 PM
Is there some posibility how to bind a nested classes to GridView ?
class BLZ
{
public string name;
public string text;
}
class Konto
{
public string kontoNr,
public BLZ blz;
}
I've tested it with this combination but it doesnt work
<asp:BoundField DataField="Konto.Blz.Name" He... more >>
Problems getting values from nested controls
Posted by Roffers at 10/10/2006 11:41:48 AM
Okay I have a parent page, we'll call it parent.aspx and it holds the
following two user controls
<uc1:Box1 id="Box1" runat="server"></uc1:Box1> <----THIS CONTAINS A
DROP DOWN LIST
<br>
<uc1:Box2 id="Box2" runat="server"></uc1:Box2> <----THIS CONTAINS A
DATALIST
In Box1, I have a dropdown... more >>
Web site search
Posted by ODAN at 10/10/2006 11:25:18 AM
Can anyone recommend a software/package application that I can use on our
corporate Web site? We like to use our Web template and layout and with no
advertisement on our site. And something that provide reports/statistics. I
have reviewed google, but the thing we don't like about that is that ... more >>
Compilation
Posted by shapper at 10/10/2006 11:15:05 AM
Hello,
I am starting to create a Matlab program which uses Matlab toolboxes.
Can I compile my entire project to a .dll file so I can use it with
Visual Studio 2005?
Where can I find some information on this?
Thanks,
Miguel
... more >>
Creating a variable to accept Decimals.
Posted by Phillip Vong at 10/10/2006 10:37:29 AM
I'm using VS2005 and creating a simple test ASPX page in VB.
I have a simple FORMVIEW1 with a label "YTDLabel" databound to a SQL DB.
The DB datatype is set to decimal (18,2) and the value of this cell is 16.1.
Here is my simple Page_Load code and all I want it to do is see if the
decimal f... more >>
2:0: improper layout of controls in a table cell
Posted by RAM at 10/10/2006 10:12:51 AM
Hi,
Please help in the following problem:
I am writing ASP.NET application containing page on which I include (IN A
TABLE CELL) a set of asp:TextBoxs in a <table> and asp:DataList control. I
don't understand why asp:DataList is displayed on the r i g t h of the
<table> with asp:TextBoxs, i... more >>
Enum Problem
Posted by shapper at 10/10/2006 10:07:25 AM
Hello,
I have a custom control property named "ImagePosition".
I need to have only two options available for this property: "Left" and
"Top".
How can I do this?
Thanks,
Miguel
My Code:
' ImagePosition
<Bindable(True), Category("Layout"), DefaultValue(""),
Localizable(True)> Pro... more >>
Excel problem: Cant hide column.
Posted by Sorcerdon at 10/10/2006 9:38:22 AM
Hello experts,
I am currently opening an excel file from a VB.net application.
The excel spreadsheet gets all its data from a Dataset.
I need to hide a column form the results.
I dont want the users to have access to that perticular column in the
excel spreadsheet.
Here is my current code:... more >>
window.open
Posted by Guy Cohen at 10/10/2006 9:27:59 AM
Hi all
How do I show an existing aspx page to the user?
I need an equivalent command to java's window.open in ASP.NET
TIA
Guy
... more >>
Use property in custom control
Posted by shapper at 10/10/2006 9:23:16 AM
Hello,
I am creating a custom control and I have the following property:
<Bindable(True), Category("Appearance"), DefaultValue(""),
Localizable(True)> Property Text() As String
Get
Dim s As String = CStr(ViewState("Text"))
If s Is Nothing Then
Return String.Empty
... more >>
Developing ASP.NET w/out IIS or Admin Rights
Posted by dendav at 10/10/2006 8:21:03 AM
We are a team of programmers (8) who currently develop, test & debug our
ASP.NET (C#) web applications using a local version of IIS 5.0 and SQL Server
2000 Desktop. We have ONE development server (Windows Server 2003 w/IIS 6.0
and SQL Server 2000). Guidance from above is dictating that local w... more >>
Datalist refresh
Posted by Simon Rigby at 10/10/2006 8:15:43 AM
Hi folks,
This seems to have been asked quite a bit but the solutions either dont
pertain to my case or the only response is to supply code. So here's
the question and the code is at the bottom.
I have a datalist which is displaying images in a gallery. Each image
has a pair of buttons to p... more >>
search script
Posted by fazee.ent NO[at]SPAM gmail.com at 10/10/2006 7:57:08 AM
hi
i want to contrustuct a web search for my book shop aplication using
asp.net vb, can any body refer me for good search script or tutorail
please refer me.
thnx and regards
faisal iqbal ch
... more >>
2.0: membership provider configuration
Posted by RAM at 10/10/2006 7:56:12 AM
Hello,
I have to change password rules (minRequiredNonalphanumericCharacters="0").
According to information found in Internet I have updated web.config, but I
receive runtime error: The entry 'AspNetSqlMembershipProvider' has already
been added.
I enclose my web.config (I use Polish language... more >>
Create and Add Asp.Net controls to page from class
Posted by shapper at 10/10/2006 7:47:32 AM
Hello,
I have a created a class which is inside my web site app_code folder.
Inside my class I have the function Load_Documents and the property
_PanelID.
Inside this function I need to create an Asp:Panel and an Asp:Image and
add them to the page panel with ID=_PanelID.
How can I do thi... more >>
Flash benner too small in Firefox?
Posted by Andy at 10/10/2006 7:31:02 AM
Hi hopefully someone has come accross this issue, as it's doing my head in.
We have a flash (.SWF file) banner to display, which does so fine in IE, but
in firefox only seems to be about 1/3 size so looks tiny. Does anyone have
any ideas?
I've included the cut down code below...copy and past... more >>
Searching Content
Posted by sql at 10/10/2006 7:12:54 AM
I am developing a Content Management System in ASP .NET with a SQL
Server database. The main content is stored as HTML (still not sure if
this is the way to go yet!) so that it is displayed on the page with
formatting, which will be specified by the user when adding the content
to a page. I am w... more >>
ConfigurationManager.ConnectionStrings
Posted by shapper at 10/10/2006 7:01:09 AM
Hello,
I create a few VB classes under app_code of a web site.
Now I am trying to create a library project.
Something strange is going on. I have the following line:
Dim connectionString As String =
ConfigurationManager.ConnectionStrings(_ConnectionString).ConnectionString
I get an error... more >>
Sqldatasource like source of an insert statment
Posted by jesusR at 10/10/2006 6:25:54 AM
Hi all.
Here is my deal.
I have a sqldatasource that populate an gridview.
I need to saves this data (the data on the sqldatasource) on other
database, and other server.
Who can i do that????
... more >>
Timeout expired using the SqlDataSource WebControl, ASP.NET 2.0
Posted by ryanb31 NO[at]SPAM gmail.com at 10/10/2006 6:22:38 AM
When I call databind on my gridview which uses a SqlDataSource as its
DataSourceID, after 30 seconds I get the error "Timeout expired. The
timeout period elapsed prior to completion of the operation or the
server is not responding."
I have tried the Connect/Connection TimeOut property in my c... more >>
Compile classes
Posted by shapper at 10/10/2006 6:06:16 AM
Hello,
I have 4 classes, under the same namespace, which I created while
developing a web site.
I have this four classes under app_code folder of my web site.
I would like to compile this classes so I can use the .dll in all my
web sites instead of having the .vb files in app_code folder ... more >>
Download File help
Posted by savvaschr NO[at]SPAM nodalsoft.com.cy at 10/10/2006 1:49:00 AM
Hi to all
I am a new in asp.net and this might seems a very simple question but i
need help.
I want to make a web page that will have one button and when somebody
clicks on it a file will
be able to download to a specific location on the client pc.
I want to do this using asp.net but i don... more >>
Using WebService In ASPX
Posted by rn5a NO[at]SPAM rediffmail.com at 10/10/2006 1:28:59 AM
I have created the following WebService named NConnect.asmx using which
I want an ASPX page to first authenticate a user & after successful
user validation, the ASPX page should display a few TextBoxes for users
to enter some data in those TextBoxes which will finally be inserted in
a SQL Server... more >>
Need to mail and fax asp pages, newbie looking for pointers
Posted by Jim Florence at 10/10/2006 12:32:30 AM
Hi,
I've just started a project in ASP which is new to me, PHP I can do but this
project has to be in ASP.
I've been searching around for the best way to both fax and mail an ASP
page and am basically running round in circles. Any pointers gratefully
received
Regards
Jim Florence ... more >>
Is this an error or what????
Posted by Jeff at 10/10/2006 12:26:21 AM
Hey
asp.net 2.0
My entire project compiles without any errors. But the asp in <asp:table
ID="table1" runat="server"> gets a red underline.
inside this table I type the < to start a new tag within the table, I wanted
to create a <asp:TableRow> tag.... but no tag like this appear in the
i... more >>
User Controls
Posted by Ram at 10/10/2006 12:25:41 AM
Hi All,
I am developing web applications using ASP.Net 2.0.There is a
requirement where I need to create 2 user controls.
1. Tab control
2. A page navigation control which to be placed in the footer of
the gridview.
So far I haven't created any user controls in ASP.Net 2.0. ... more >>
|