all groups > asp.net > september 2006 > threads for tuesday september 12
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
TableAdapter approach
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/12/2006 10:47:09 PM
I'm starting an application using a TableAdapter instead of direct sql
calls.
In my table adapter there's already an stored procedure that returns
columns a, b and c.
Now, I added another query, but now I need it to return columns b, c,
d, and f.
As you can see, columns does not match.
When... more >>
How to Access LinkButton.Text
Posted by JeffP NO[at]SPAM Work at 9/12/2006 10:23:24 PM
I need to know when a link buttons value is zero so I don't try to run a
query to find none.
When I was using ViewState(ds_Last), which I can't do because certain phones
are choking on the data, I have on avg about 12 rows of data.
Apparently that's way too much data for some phones, neari... more >>
Sort DropDownList
Posted by Samuel Shulman at 9/12/2006 9:49:52 PM
I am looking for a simple method to sort the DropDownList after it was
loaded
Thank you,
Samuel
... more >>
GridView or HyperLinkField with call to a javascript function
Posted by SP at 9/12/2006 9:49:39 PM
Hi,
I need a GridView that when I click on a row or on a HyperLinkField a
javascript call raise .
It is possible?
The grid is in a window open from a parent window. Onclick in a row
selected, a field in a opener is fill with the data of the row selected.
Thanks... more >>
Textbox filter
Posted by Samuel Shulman at 9/12/2006 8:07:01 PM
Using VS 2005 is there a way of allowing user to type only numeric value in
a Textbox (without using JS)
Thank you,
Samuel
... more >>
Problems with Running .Net v1.1 and v2.0 on Single Server?
Posted by ChrisFrohlich at 9/12/2006 7:55:01 PM
Here's my scenario:
I have several ASP.NET applications built on .Net 1.1.x running on a Win2K3
IIS6.0 app/web server. Most of these are in-house, but one is purchased,
meaning I do not have a full grasp of its internal architecture/functioning.
I am currently looking to deploy an ASP.NET... more >>
masterpage newb question
Posted by Bob at 9/12/2006 6:47:50 PM
I want to use a master page so that all my pages have the same look but it
seems odd that once you create a master page you only have a little content
window to work in for the rest of the pages. Since the content object is
not resizable this makes designing the content pages very difficult. ... more >>
Create new forms
Posted by Samuel Shulman at 9/12/2006 6:20:32 PM
Hi
I wonder whether it is possible to create a new WebForm and send it to the
user
e.g.
Dim WForm as new WebFrmProduct(Params to go here)
Then send it to the user
Thank you
Samuel
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What is this?
Posted by Jeff at 9/12/2006 4:20:13 PM
Hey
I've bought the book "ASP.NET 2.0 website programming, Problem, Design,
Solution" and some of its code examples is this code:
protected Cache Cache
{
get ( return HttpContext.Current.Cache; )
}
I've got problems understanding this: "Cache Cache", I guess the first
"cache" here... more >>
returning images from a database as part of a page
Posted by David Thielen at 9/12/2006 4:20:02 PM
Hi;
I have to store final reports for later viewing. If the reports are html and
have images I also have to have a way to return the images too.
What is the best way to do this? I was thinking that I store each image in
the DB, use the PK of the image as part of it's "filename" and the <im... more >>
Embbed .NET Custom Control (ActiveX) into ASP .NET page
Posted by Budhi Saputra Prasetya at 9/12/2006 4:19:02 PM
Hi All,
I'm trying to display .NET Custom Control (created using Inherited Control)
on an ASPX page, but no luck. I already registered the Control to Global
Assembly Cache through .NET Framework 1.1 Configuration. I have also put a
reference to the control on my ASP .NET project. The view t... more >>
Binding an array to a DropDownList
Posted by Paul at 9/12/2006 4:16:05 PM
Hi all,
I'd like to bind an array to a DropDownList and use the array index as
the DataValueField. Is this possible?
Thanks,
Paul
... more >>
Problem with ObjectDataSource and ITypedList
Posted by Norbert Ruessmann at 9/12/2006 3:56:35 PM
Hello group,
I have a problem with ObjectDataSource and ITypedList.
At the end of this entry you find the implementatiopn of my List class,
derived from ArrayList and implementing ITypedList. All items contained in
the list are of type Person, which is a class derived from nothing and
imp... more >>
Error accessing website on remote box.
Posted by Jay at 9/12/2006 3:55:16 PM
I created a website in Visual studio 2005.
I did a build and I can browse it on my local box.
http://localhost/gpweb/gpkey.aspx
When I try to access it on a remote box, it doesn't work.
http://<myservername>/gpweb/gpkey.aspx
I get the "Page cannot be displayed" error.
... more >>
Atlas heaviness
Posted by Amie at 9/12/2006 3:38:35 PM
I wanted to hear people's opinion who have used Atlas on their project.
My project does all niffty ajax stuff, but I found that the js file
included with asp:ScriptManager is actually 360k in size! The page
takes a long time to load, and the heaviness of atlas script should be
one of factors... more >>
asp image control output
Posted by MarkAurit at 9/12/2006 3:38:01 PM
I have to display some images kept into a sql server database (image data
type) in an asp.net 1.1 page. Is it possible to use an asp control to
display the contents of a byte[] or a MemoryStream?
Thanks much... more >>
I'm really stumped on what's wrong with this CR in our ASP.NET 1.1 app
Posted by Rod at 9/12/2006 2:49:26 PM
I've been struggling with this thing for 2 days, and after searching the
'net for help, I cannot find what is wrong.
We're using Crystal Reports XI Release 2, with Visual Studio .NET 2003 in an
ASP.NET 1.1 application. I've got a CrystralReportsViewer control on an
ASP.NET page. Once ... more >>
DataBinding images using Repeater Control. Is there an ImageField column?
Posted by Charlie NO[at]SPAM CBFC at 9/12/2006 2:23:58 PM
Hi:
Is it possible to databind an image in Repeater Control? I see support for
it in GridView, but not in Repeater control. There is another way to do
this, but would rather go with new controls.
Thanks,
Charlie
... more >>
How do I fix my querystring value?
Posted by ffrugone NO[at]SPAM gmail.com at 9/12/2006 1:33:16 PM
I need to pass a querystring parameter that contains the relative path
and querystring of another page. For example:
http://www.mysite.com/default.aspx?name=~/news_view.aspx?articleid=9&comment=new
when I do this and retrieve the querystring["name"] I only get
~/news_view.aspx?articleid=9
... more >>
Controlling datagrid column width when there are no records.
Posted by weaklingX NO[at]SPAM hotmail.com at 9/12/2006 1:31:00 PM
I have several datagrids stacked one above the other that are all sized
to 95% width. Each grid has two columns, with the second columns'
widths set to 70px (so the first column's width is not set and it flows
to fit the rest of the grids with). This works great for my needs and
looks good w... more >>
Problem with css in .aspx extension files
Posted by wincek at 9/12/2006 1:26:52 PM
Hi All,
Below .css works with default.html without problem but when i use it in
default.aspx, do nothing. When i use it in separate .css file, and link it
to defaulat.aspx stiil do nothing. /Sorry my English is not very well/ What
can be the problem?
<style type="text/css">
<!--
b... more >>
ASP.NET using COM+ is deadlocking
Posted by Juan Dent at 9/12/2006 12:55:02 PM
Hi,
An ASP.NET 2003 application that uses VB6 COM+ components, works fine with
3-6 users, but gets "frozen" when accesed by 12-or more users.
At some point an error message similar to "OOA: Out of Apartments" was
displayed. This was reported to me, I did not see it.
We also got a warnin... more >>
RegularExpression for filtering unwanted e-mail address
Posted by Sjaakie at 9/12/2006 12:39:08 PM
Not sure if I this belongs in this group or a Regex-group, but since it
involves a WebControl I'll give it a try here.
I want to block hotmail, yahoo and gmail addresses when typed into a
TextBox control. Figured this could be done using a
RegularExpressionValidator control, but I can't com... more >>
Login doesn't work
Posted by Amit at 9/12/2006 12:34:00 PM
I've followed everything to a T, and in fact got logging in working on
another site, but for some reason that I'm not able to see....logging
on for this new site doesn't work.
It just doesn't find any members in the MembershipProvider (put in some
stupid code that should change the page's titl... more >>
dropdownlist cascading !!!!
Posted by Morgan at 9/12/2006 12:07:20 PM
hi everyone
i trying to select a sub-categorie difined like:
service
|_category
|_sub-category
|_the presentation
each of these are represented by a table in sql, and they identified by
their id.
sub-category know the id of his category
and catego... more >>
Our postbacks died in IE? Work fine in Firefox!?
Posted by darrel at 9/12/2006 11:54:05 AM
We've had to move one of our asp.net web applications to a new internal
server.
The move worked, except that our SUBMIT buttons on all the pages no longer
trigger a postback in Internet Explorer 6. The pages work just fine in
Firefox, though.
Any idea as to what's going on? Was there so... more >>
[ATLAS] Unknown error ON Update Panel + Repeater with LinkButton
Posted by Henrique at 9/12/2006 11:11:15 AM
Hi!
I'm having some problems when combining these elements. :(
I have a Repeater with a collumn full of LinkButtons inside an UpdatePanel.
I handle the ItemCommand event of the repeater to fire a desired action, but
when I click on any LinkButton, it returns a javascript alert-like messag... more >>
Upgrading HTML to ASP.NET 2.0
Posted by pagates at 9/12/2006 11:10:02 AM
Hello All,
Newbie question alert!
We have a website that we want to eventually convert from pure HTML to
ASP.NET pages. Unfortuantely, we cannot do this all at once, but rather,
will likely do so over time.
The question is: can we use our existing HTML files as content in a Master
pa... more >>
problem deploying 1.1 app on IIS 6
Posted by Scott Walters at 9/12/2006 10:58:30 AM
Hi,
I have a legacy 1.1 ASP.NET app that I'm trying to get working on an
IIS6 installation, but I get 404 errors when I try to access an aspx
page. Static html pages work fine. Upgrading the app to 2.0 is not an
option right now.
To set it up, I ran the aspnet_regiis app from the 1.1 run... more >>
PDF Documents
Posted by Austin Phillips at 9/12/2006 10:55:50 AM
Hello;
I am *very* new to website programming.
Coming from a client/server background, I am having some difficulties.
I know this is not asp.net related, but I figured someone would be able to
help me with this as I am tearing all of my hair out!
I am simply trying to load a PDF documen... more >>
OT: RegEx Help
Posted by Bob Johnson at 9/12/2006 10:29:03 AM
I need a RegEx expresson that validates a string containing 6 characters
according to this criterion:
First character must be alpha (A-Z) upper case only.
Next 5 characters must each be an integer from 0 to 9.
These would pass: G43879, A00009, K98765
These would fail: g43879, 89873E, ABCDEF
... more >>
Server.Transfer
Posted by Andrew Robinson at 9/12/2006 9:23:56 AM
Quick question....
Can I user Server.Transfer between two different web sites on the same
server? And pass data via the Context object?
--
Andrew Robinson
... more >>
javascript persistence
Posted by rodchar at 9/12/2006 9:11:02 AM
hey all,
how would i save a javascript variable between postbacks?
thanks,
rodchar... more >>
Rebuilding and deploying DLL everytime I change a single aspx page?
Posted by dan_williams NO[at]SPAM newcross-nursing.com at 9/12/2006 9:10:08 AM
I am working with an asp.net 1.1 web application.
Do I have to rebuild the whole application and deploy the compiled DLL
to my production server everytime I modify a single aspx page?
Is there a way to not re-compile (or rebuild) the whole application
every time a single page is modified?
... more >>
Controling Page Layout With ASP.NET 1.1
Posted by Tyson at 9/12/2006 8:50:07 AM
Hello All,
I was wondering what is the best/most effective way to control pay
layout when using ASP.NET 1.1. I have seen that with 2.0 you can use
some new functionality called master pages, but I have not really seen
anything in regards to 1.1
When I develop with ASP I create a file call... more >>
ASP.Net website structure - TableAdapters and a Class Library
Posted by Martyn Fewtrell at 9/12/2006 8:47:01 AM
Hi there.
First of all let me apologise for this is a somewhat general question to
which I would be interested in any opinions.
As far as I can see when I create a web application the recommended location
for the database is the app_data folder. The recommended location for code
files a... more >>
Setting up ObjectDataSource Control when target method takes object as a parameter...
Posted by Charlie NO[at]SPAM CBFC at 9/12/2006 8:27:26 AM
Hi:
I'm using the ObjectDataSource control to databind a Repeater. The method
on business object that ObjectDataSource control point to takes as a
parameter an instance of the System.Data.CommandType enumeration. When
setting up declaritively in HTML, how do I complete the following parame... more >>
custom session management using Oracle in web garden scenario
Posted by satisharas NO[at]SPAM gmail.com at 9/12/2006 8:13:41 AM
Hello,
I am trying to write a custom session manager in ASP.NET 2.0 using
oracle as the backend. I want to know how the session expires in web
garden and we are using NLB (a session can be served by the multiple
web servers)
Following are few points:
1. How to cleanup session data on Ora... more >>
ExecuteReader requires an open and available Connection.
Posted by Mike at 9/12/2006 7:52:01 AM
We are intermitantly receiving this error on our website.
ExecuteReader requires an open and available Connection. The connection's
current state is connecting. Following is the code from the Load event
of the aspx page. The last line is where the error occurs. Does anyone
have any
ideas wh... more >>
create thumbnail of a website
Posted by xkeops NO[at]SPAM gmail.com at 9/12/2006 7:44:14 AM
I need to create a thumbnail (gif, ico or jpeg) of a web page.
Any ideas how to do it in aspnet 2.0 ?
I tried looking around for some code but didn't get much.
Thanks
... more >>
__doPostBack at OnLoad Page
Posted by Philip at 9/12/2006 7:44:02 AM
I am attempting to use the ASP.NET generated __doPostBack JavaScript function
in my custom JavaScript and I can use it successfully but only after the web
page is loaded and idle.
I prefer to invoke __doPostBack immediately after web page load. I have
been attempting to use the HTML Body ... more >>
Create User Control in ASP .NET 2.0
Posted by Roman at 9/12/2006 7:41:59 AM
I would like to slightly change the functionality of the create user
control.
1. When creating a user the password shouldn't be supplied. Rather the
password should be generated much like recover password.
2. The user then will receive an e-mail saying what the generated
password is.
Thi... more >>
Client Callbacks - IE URL History
Posted by Philip at 9/12/2006 7:40:03 AM
I am using the ASP.NET v2 Client Callback facility to conduct partial page
updates..... however part of the user interface problem is that the IE URL
History is unaltered by my partial page update operations.
For future reference.... is there a means under which I can programmatically
delet... more >>
Inserting a value into word doc
Posted by Flurry at 9/12/2006 7:32:39 AM
Hello
I have a simple problem but I think the solution might be tricky...
I have a word document on the server which people can download.
However, what I would like is to use asp.net to insert a unique serial
number into the word document before it is downloaded. So I need some
way to inser... more >>
user control advice
Posted by rodchar at 9/12/2006 7:10:03 AM
hey all,
when i create my user control (not custom control) how do you generally make
it available to other solutions or for other team members to use?
i'm thinking in a new solution, i say "Add an existing item..." and just put
the user control into the project?
thanks,
rodchar... more >>
Hide Next Button on Wizard Control asp.net 2.0 ?
Posted by MOUSTAFA ARAFA at 9/12/2006 6:44:01 AM
Dear All,
i want to hide next button programatically in weizard control,i tried the
find control function,but it deosnt work ? can anyone help me on that ?
... more >>
aspMemeberShip db help
Posted by CSharpguy at 9/12/2006 6:27:02 AM
I'm trying to create user tables in my own database to use on my web site. I
was able to create all of tehe aspnet_[TblName] in my database but when I run
the admin web site and try to connect using the AspNetSqlRoleProvider and
AspNetSqlMembershipProvider I get the following error message:
... more >>
Separate webfolder for each developer in single web project
Posted by alexey.yakovlev NO[at]SPAM gmail.com at 9/12/2006 5:33:02 AM
Hi, please read this before
http://groups.google.ru/group/microsoft.public.inetserver.iis/browse_thread/thread/a2d811734e85ff45/17be8f5af10c9265?lnk=st&q=different+webfolders+developers&rnum=1&hl=en&auth=DQAAAHMAAAB7tC2kb0yAUwZIRwWMwi-sajfDrEr4CucmxKdjNQTI0PkKaZ8p6t4TvyZQWo8zhVWXQJaI_w7nniAtFTIOoj-... more >>
Datagrid - HyperlinkColumn and variables
Posted by Jl_G_0 at 9/12/2006 5:10:37 AM
Hey all, I need to add a hyperlinkcolumn to a datagrid, but the path
(DataNavigateUrlFormatString) is dynamic, since the page lists files in
directories. The folder name to list is stored in a variable (strPath).
The code that I tried is: DataNavigateUrlFormatString='<%#strPath
%>/{0}'
But... more >>
Using multiple controls for validation
Posted by chrisoftoday NO[at]SPAM googlemail.com at 9/12/2006 3:35:58 AM
I have a form that allows the user to specify a date using three
separate dropdownlists (one for the day, one for month and one for
year). I want to validate this date to check that it is greater than or
equal to the current date.
Is it possible to use a customvalidator and somehow access the ... more >>
Solution file not in the solution folder
Posted by cashdeskmac at 9/12/2006 3:05:02 AM
Why is it that when I create a new web application, the project folder
containing the webform, web.config and csproj files appears in
C:\inetpub\wwwroot, yet my .sln and .suo files appear in another folder in My
Documents\Visual Studio Projects?
Is this normal, or have I somehow made an ina... more >>
Sending Emails to Multiple Receipents and with multiple options
Posted by Jai at 9/12/2006 3:04:29 AM
Hi,
I am in a problem of sending mass emails(newsletter) to my website
members.
Actually my problem is this:
I want to send newsletter to my website members. But I had given a
facility for each member to choose different category of products or
all products newsletter.
How can I extra... more >>
CultureInfo and Web.Config
Posted by RicercatoreSbadato at 9/12/2006 2:25:33 AM
I'd like to change the "CultureInfo" of my site.
Which instruction I have to put in the 'web.config' ?
any ideas?
tnx ;)
... more >>
changing the focus from an ASP.NET control to another
Posted by vivela at 9/12/2006 12:50:00 AM
hi,
I hope you could help me out on this one,cause I have been trying for 4
days to solve it,but couldn't quite get it right: I have an ASP textbox
that should change the value in a dropdownlist. this happens,but the
problem is with the validation of the ddl.it has a
requiredfieldvalidator,and ... more >>
Using Master Pages and Base Pages
Posted by Don at 9/12/2006 12:38:02 AM
I'm using master pages and have added some base functionality (public
functions) into this class.
I then create a new web form using the above as the master page. In the code
of my new web form, I need to access the custom PEMs of the Master page (I've
created).
I find only two ways of do... more >>
asp.net 2.0 creating a base page
Posted by Pini at 9/12/2006 12:21:06 AM
Hi all,In asp.net 1.x i creates a basepage that extends
System.Web.UI.Page class.
I created this file in a web appplcaition project and then refernced it
from another projects.
All the pages in this project inherited from this new BasePage ionstead
of the Page class.
In asp.net 2.0 i dont se... more >>
Delete a file
Posted by Neven Klofuar at 9/12/2006 12:00:00 AM
hi,
I have a problem when trying to delete a file.
I have to extract some information from a file, and then I have to delete
it. When I try to delete it after I read it, I get a "Access denied" error.
help pls, Neven
********************************
StreamReader sr = new StreamReader(... more >>
config ASP.net
Posted by Thanh-Nhan Le at 9/12/2006 12:00:00 AM
Hi everybody,
I have IIS 5.1 on Windows XP pro.
On my system are .Net framework 1.1 and 2.0
How can I configure that my IIS support ASP .net 2.0? I did installed the
IIS after installing .NET.
Thanks
Nhan
... more >>
Automatic update web reference in WebSite project
Posted by dev at 9/12/2006 12:00:00 AM
Hello,
In VS2005, we have a WebService project (WSE) and a WebSite project
(WSI) that uses WSE (we added the reference in the App_WebReferences of
the WSI project)
Is it possible to have the WebReference to WSE in the WSI project
automatically updated when the WSE changes ? If yes, how ?... more >>
Clear cache?
Posted by Tanmaya Kulkarni at 9/12/2006 12:00:00 AM
Hi,
Am developing an ASP.Net web app where am caching many pages (say =
abc.aspx, def.aspx) as they are access by
Response.Cache.SetExpires(DateTime.Now.AddSeconds(3600))
Now there is another page pqr.apx. When this page is accessed, I want to =
clear all cache pages, i.e empty the ca... more >>
SIMPLE QUESTION
Posted by at 9/12/2006 12:00:00 AM
I have a web form
<form method="post" runat="server" id="PromotionForm">
and some textboxes
and
<asp:button id="Button3" runat="server" Text="Update"></asp:button>
When i run my web application pressing f5 and hitting Update Button it does
nothing Though I have
Response.Write ("sa");
... more >>
GridView
Posted by le0 at 9/12/2006 12:00:00 AM
Guys,
Im a newbies in asp.net and i have this big prob. How can i get the ID or
the primary key of a table? Im using GridView to display all the data. I
want to pass that value to another page using querystring, but how can i get
some value in a GridView. And how can i use hyperlink control... more >>
|