all groups > asp.net > august 2006 > threads for tuesday august 22
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
How to keep viewstate small?
Posted by Arjen at 8/22/2006 11:16:29 PM
Hi,
How do I keep the viewstate small?
I think I'm only using it for redirection (String)ViewState["UrlReferrer"].
Thanks!
Arjen
... more >>
Total number of records paged gridview
Posted by msch-prv NO[at]SPAM bluewin.ch at 8/22/2006 11:08:16 PM
Hi, I have a paged gridview (Apts_grd) tied to an Access DataSource
(Apts_srcGrd). How do I get the total number of data records returned
by the query?
The following shows only the number of records per page:
Apts_srcGrd.SelectCommand = "SELECT * FROM tblApts WHERE ..."
Apts_grd.DataBind()... more >>
ASP.NET - Logout from code
Posted by JackResteBienSurMaisSeraPas at 8/22/2006 8:14:38 PM
How do you logout from an account from the ASP.NET code?
... more >>
Well Formed & Valid XML Documents?
Posted by Arpan at 8/22/2006 6:58:59 PM
I came across the following statement at
http://windowssdk.msdn.microsoft.com/en-us/library/hdf992b8.aspx:
Although an XML document is considered to be well formed if it meets
all the syntactical requirements defined by the World Wide Web
Consortium (W3C) Extensible Markup Language (XML) 1.0 R... more >>
Could'nt Find MouseHover Event
Posted by Saurabh at 8/22/2006 6:34:02 PM
I'm a user of Visual Studio Web Developer 2005 Express Edition & I use C# as
the language in it. So, the problem i'm facing is that I want to add a
MouseHover event to an image but i could'nt find it in the Events' list in
Properties window as in Microsoft Visual C# 2005 Express Edition.Can yo... more >>
Why is my web site generating App_Data folder?
Posted by Hugo Flores at 8/22/2006 6:29:16 PM
I created a Web Application Project in VS 2005.
The site is working fine in the development computer.
Then I transfer all my files and dll to the production computer.
I have a login form. If I try to log in, the production computer
automatically generates an App_Data folder (the development comp... more >>
bind to xml innertext and attribute
Posted by werD at 8/22/2006 5:50:02 PM
Hello,
Ive run into this issue a few times and Im wondering if there's anything i
can do to get around it.
Say i have an xml file like this
<data>
<info category="1" name="Original Effective Date" type="" caption=""
notes=""><![CDATA[1-1-84]]></info>
</data>
If i create an xml datas... more >>
Possible to have .net 1.1 and 2.0 web sites on same server?
Posted by dw at 8/22/2006 4:50:02 PM
hello -
we have a web site (asp.net 1.1) and we want to start working on an asp.net
2.0 version. is it possible to run both web sites on the same server?
thanks
- will
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
asp:image not visible when dynamic
Posted by Deere at 8/22/2006 4:49:22 PM
When I try to take a database field and change it with a function and
return it...it will not display the image. The "Imageurl" does not
convert to "src=" but stays as ImageUrl.
id=Image2 will display ok ..and shows in view source as .......
<img id="gvwExample_ctl07_Image2"
src=".\images\... more >>
Turning on ASP.NET 2.0 in IIS
Posted by pj at 8/22/2006 4:43:59 PM
Within IIS, I've gone to my website properties, and have changed the
ASP.NET version to 2.0.
But not, even the simplest of ASPX page will not show in my browser
(IE). What else do I need to change?
... more >>
Intermittent Active Directory Error
Posted by Susan at 8/22/2006 4:34:01 PM
Hello all,
My ASP.NET application seems to have intermittent problems when
connecting to Active Directory server. Most of the time
the Active Directory app works fine then suddenly fails and will repeatedly
occur for a period of time then start working fine again. ASP.NET
application uses... more >>
Sort Gridview by columns
Posted by keithb at 8/22/2006 3:47:31 PM
I have a working ASP.NET 2.0 application that uses a GridView control. How
can I enable the feature that allows a user to click on a column heading and
sort the contents by the information in that column?
Thanks,
Keith
... more >>
Web Form/SQL Table Structure
Posted by sck10 at 8/22/2006 3:28:23 PM
Hello,
I am building a web form that will be used to gather information for
marketing plans. The form will have 15 questions which must be answered.
Each question can have large blocks of text. The issue is that the user
will go to the web to enter and update their information over time, ... more >>
Adding rows to gridview
Posted by VMI at 8/22/2006 3:21:02 PM
I'm working on a questionaire, and I'd like to add the questions to a
gridview, so that each row (of two "columns" each) has the question in one
field, and the editable section (where the user will enter the answer) in the
next field. The questions are not stored in a table, and I'm thinking ... more >>
Moving controls dynamically
Posted by VMI at 8/22/2006 2:47:01 PM
I'm working on an web app and I'm interested in moving a TextBox from one
position in the page to another (in the same page) when a user clicks on a
checkbox (i.e. display additional textbox when the user checks "Write more
info"). Is this possible? How hard is it? It's not an html control.
... more >>
Website Solution File
Posted by Uriah Piddle at 8/22/2006 2:17:02 PM
Hi Gang,
When I create a new website in VS 2005 Standard, VS creates two folders,
Website1 and Website1(2) and the .sln and .suo files go into the Website1(2)
folder. I seem to remember seeing a setting to the effect of: 'create a
solution for every website' somewhere before but, for the li... more >>
Strange situation ---how is this happening?
Posted by Hannibal111111 at 8/22/2006 1:58:47 PM
I am getting a strange situation with a .NET 1.1 web application that
we have deployed. I have made an update to a code behind page in 1
file, and then made an update to another code behind page. After that
I rebuilt everything. This is all on my dev server. Now I move the 1
code behind page... more >>
master pages
Posted by Victor Rodriguez at 8/22/2006 1:49:25 PM
Is there a way to present just the content of a page and turn off the master
page by code?
thanks,
Victor
... more >>
ASP to ASP.Net conversion
Posted by tom c at 8/22/2006 1:37:42 PM
I have a client with an ASP site who wants to add some new features and
eventually convert to ASP.Net. I have two related questions:
1. Does microsoft or anyone else have any software that automates the
process of converting ASP to ASP.Net?
2. Can I run new ASP.Net pages on a site and have ... more >>
Get rid of div which wraps GridView
Posted by Lukas Kurka at 8/22/2006 12:57:23 PM
Hi,
do you know how to get rig of <div> which wraps GridView?
Thanks
Lukas
... more >>
master page needs to validate before child page
Posted by enantiomer at 8/22/2006 12:36:17 PM
I am using my master page to always make sure that the User object is
not null in Session. If it is null, I redirect them to the login page.
Some of my child pages utilize the User object. I was assuming that
the master page Page_Load would be called before ChildPage_Load
methods, but it is t... more >>
Using Enterprise Library for .NET 2.0 with ASP.NET 2.0
Posted by Karch at 8/22/2006 12:31:02 PM
I want to use Enterprise Library for .NET 2.0 with ASP.NET 2.0. I've seen
some postings on issues with using it with in ASP.NET, issues like partially
trusted callers and other security issues. What is required to get
Enterprise Library for .NET 2.0 working with ASP.NET 2.0 in a non-hosted
... more >>
code-behind error in user control
Posted by xgngli NO[at]SPAM gmail.com at 8/22/2006 12:17:11 PM
In ASP.NET Unleashed (pp. 274-275) There is a sample
DisplayFeaturedProductCodeBehind.aspx:
<Script runat="Server">
Sub Page_Load
Dim strFeatured As String
Dim RanNum As New Random
Dim ctlControl As Control
strFeatured = "Featured" & RanNum.Next( 1, 3 ) & ".ascx"
ctlControl =... more >>
Does GridView.DataBind work under medium trust with custom objects
Posted by Mark Leistner at 8/22/2006 12:01:02 PM
I am having problems getting a gridview to bind to custom objects under any
non-full trust level.
I created a test project to verify what I am seeing isn't a side effect of
other code in my project and I get the same errors there:
Exception Details: System.Security.SecurityException: Tha... more >>
Role based security - file downloads
Posted by Mesan at 8/22/2006 11:37:56 AM
I have a directory in an app I'm building that has access limited to
users within a specific role and all aspx pages in that directory are
unavailable just as I'd hope but other files (pdfs and whatnot) can be
downloaded by anyone without authenticating or anything. What does it
take for the us... more >>
Dynamicly generated controls not firing their events
Posted by ThunderMusic at 8/22/2006 11:36:00 AM
Hi,
In a page, I dynamicly generate a table in which there are ImageButtons...
When the table is first loaded, it's fine, but as soon as the table is
modified, the events are not fired until the next postback...
As an exemple, I first load the page, I click on an image which add a line
to ... more >>
seting asp:image visibility only if file exists
Posted by mc at 8/22/2006 11:29:29 AM
Scenario:
I have a database of companys, and a directory of images, each image has
the name of one of the companys, although not all companys have images.
I want a page which displays the details for each of the companys, so
far I'm using a repeater with labels for each of the address line... more >>
Context an postback
Posted by Totto at 8/22/2006 11:19:53 AM
Hi,
I'm using context to transfere values between pages with Server.Transfere.
In one page I'm dynamically adding buttons to the page, with data from sql
server.
The buttons are all connected to the same click eventhandler, and is doing a
server.Transfere to the same page. But when a button i... more >>
Simple and Free Ecommerce Components
Posted by Jonathan Wood at 8/22/2006 11:05:50 AM
I need a real simple shopping cart component. I don't need it to show any of
my products. I just need something to track a cart and then handle checkout.
Right now I'm doing this on a Unix system. I want to move my site to a
Windows/.NET site but need a replacement shopping cart.
Also, I w... more >>
Using the OBJECTDATASOURCE and a bound datagrid
Posted by AAJ at 8/22/2006 11:03:12 AM
Hi
Is there anyone out there who can help? I am experiencing 2 problems which
relate to Datagrids
1) If I have a class that holds an arraylist of objects, I can return the
ArrayList via Icollection and bind using OBJECTDATASSOURCE and GRID to it
i.e.
public TempCollection ();
{
}
... more >>
Hi i have a static button problem
Posted by gauravkg via DotNetMonster.com at 8/22/2006 10:58:29 AM
I want to place hyperlink button like add ,delet ,update on the head of my
page. i want that on clicking of any button only the content should be opened
that is button should not be reloaded again and again
can anyone help me its urgent.
--
Message posted via http://www.dotnetmonster.com
... more >>
HasRows
Posted by Rick at 8/22/2006 10:24:22 AM
I have found the HasRows member of the OleDbConnection. This is very nice to
tell me if I have any data coming but what if I want to see how many rows of
data I have. Is there a similar member to Recordcount?
Thanks for your help in advance!!!
... more >>
Using IIS
Posted by Peter Morris [Droopy eyes software] at 8/22/2006 10:21:18 AM
My VS2005 currently uses that embedded webserver and I am happy to keep it
this way.
However, an app I am currently developing requires the use of a HTTPHandler.
So I'd like to know how to set just this one project to use IIS.
Thanks
Pete
... more >>
Difference in IIS installs?
Posted by Schemer at 8/22/2006 10:19:50 AM
Hello,
I have IIS installed on two computers running WinXP Pro.
-- Start inetmgr.
-- Expand 'local computer'.
-- Right-click on Web Sites, select 'Properties'.
On one computer there is an ASP.NET tab, but not on the other.
Both computers have an ASP.NET 2.0 ISAPI filter.
The computer wi... more >>
Modifying metabase?
Posted by Schemer at 8/22/2006 10:10:24 AM
Hello,
I tried to load a web page from my local IIS, and got this error:
-----------------------------
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the err... more >>
Using an ASPX file as a Script Source
Posted by Moskie at 8/22/2006 9:56:08 AM
I recently came across an application where the 'src' attribute of a
script tag was an ASPX file. Like so:
<script language="JavaScript" src="scriptfile.aspx"></script>
This is a new idea for me, and I had some questions about it.
When scriptfile.aspx is processed, is it going to have acce... more >>
Determine Which Button Pressed
Posted by Mike Collins at 8/22/2006 9:54:02 AM
In my page initialize, I am loading dynamic controls for a survey. On the
survey, I have a stop button. If the user clicks the stop button, because of
the page life cycle, the initialize and page load events run before the
button click and reloads a bunch of controls. Is there a way to keep th... more >>
Reusable controls...missing something?
Posted by intrepid_dw NO[at]SPAM hotmail.com at 8/22/2006 9:17:59 AM
Hello...
We are in the process of evaluating a migration strategy to VS2005 and
ASP.NET 2.0 from .NET 1.1.
In our existing .NET 1.1 applications, we have several controls
(ASCX's) that provide stock content to several websites. We want to
persist that idea into our newer and/or migrated app... more >>
WEb Services Error
Posted by ankitdave NO[at]SPAM gmail.com at 8/22/2006 9:14:55 AM
Hi Guyz..
I am working on the creating a web service and I have a code like
Public function test (byval query as string) as string
query.loadxml (queryxml)
-------------
I am getting error like
System.IO.FileNotFoundException: Could not find file
'C:\Shared_folder\Test... more >>
Corrupt PDF files When File is written to the response.
Posted by eventuranza NO[at]SPAM gmail.com at 8/22/2006 9:12:22 AM
For my application, there users can upload and download files to the a
webserver. Straightforward enough. However, when they upload a PDF
file then try to download it, the file seems to be corrupted. The had
not been a problem before but it seems to have been introduced when I
refactored the ... more >>
Does Caching below in the business tier or data tier??
Posted by Nemisis at 8/22/2006 8:17:12 AM
Hi everyone,
We are currently re-developing our software, to asp.net 2.0 and taking
a 3 tier architecture.
I have been thinking about it, and i think that it belongs in the
business tier.
Another thing is am thinking about is what sort of caching should be
done, because i really dont wan... more >>
setting Onclick and setting the ClientID in behind code isn't working in Mozilla
Posted by davidr NO[at]SPAM sharpesoft.com at 8/22/2006 8:08:15 AM
I'm reposting hoping to get a reply, my last one got bumped down
because I posted in the late day.
Hi,
I have in my behind code a user control with the following in Page
Load:
this.btn.Attributes.Add("onclick", "SetDivder(" +
this.divContainer.ClientID + ");");
In Internet Explorer I... more >>
How to filter DataSource?
Posted by Amil Hanish at 8/22/2006 7:34:45 AM
I have a DataSource that I want to only apply (filter) a subset of the items
to a GridView. Can I do this?
Amil
... more >>
print dialog
Posted by rodchar at 8/22/2006 6:03:02 AM
hey all,
how do i get the print dialog to show up by clicking a button on my web form?
thanks,
rodchar... more >>
you search girl?
Posted by zaq1 NO[at]SPAM mail15-dot-com.no-spam.invalid at 8/22/2006 5:26:08 AM
You search girl? I'm single girl and i search man my mail:
olginkaster@gmail,com
I'm 26y.old. If you search woman write to me and i can send to you my
new pics
and tell more about myself. I post this message from this forum
because
i don't have credit card and can't use dating site.
If y... more >>
asp.net 2.0
Posted by ask_net at 8/22/2006 5:17:58 AM
i have used object xml http
to call asp.net pages
error when called button click event
server error in application
... more >>
print gridView
Posted by CSharpguy at 8/22/2006 5:17:01 AM
My web app is using master pages, On the content page I'm using a GridView. I
need to print my GridView and I need to exclude the HyperLink columns. How
can I print my content page and exclude the first 3 rows in my Grid due to
they are links and I don't need to print the links out?... more >>
asp.net
Posted by ask_net at 8/22/2006 5:15:35 AM
error when asp.net page uploaded
server error in application
runs fine on local pc
... more >>
Multiple Partial class file in aspx code behind file?
Posted by Hiten at 8/22/2006 4:19:58 AM
Is it possible to have more code behind file but that file will have
same class in way of partial class,
Default
Structure I
--------------
Homepage.aspx
+ Homepage.aspx.cs (this .cs file will have "Homepage" class
which is partial)
Can we have more file in code behind which has parti... more >>
Try..Catch through sub/functions
Posted by Nemisis at 8/22/2006 4:18:50 AM
HI everyone,
I have a sub that executes a query, within the sub there is a try,
catch, finally block. lets call this subA.
I also have another sub (subB) that calls SubA, and another Sub (SubC)
that calls SubB.
SubC (with Try..Catch) > SubB (without Try..Catch) > SubA (with
Try..Catch)
... more >>
sending fax throught a .net web application
Posted by Amol at 8/22/2006 3:58:44 AM
Hi ,
I am developing a web application.I need an interface in my application
which will allow the user to send the fax domestic /international.I
dont want to use 3rd party tool /service .Does anybody have idea how to
achieve this functonality.
Regards
amol
... more >>
Use global assembly cache for referenced assemblies
Posted by John H Clark at 8/22/2006 3:12:01 AM
I need some direction on how to configure IIS to use assemblies from the GAC
instead of bin. I install assemblies in the GAC but IIS 6.0 doesn't find
them. What's the secret?
Many thanks...
--
John H Clark
www.weownit.coop... more >>
VB ASP Trace Outputed to File
Posted by Tris at 8/22/2006 2:21:02 AM
I've got a web service running, and i'm trying to build tracing into it that
is outputted to a file. Unfortunately, i can't find a way of enabling TRACE
token, and it just seems to skip over all System.Diagnostics.Trace lines in
the debugger.
I don't want to use the ASP page trace dump, as it... more >>
Return to previous page without reload
Posted by staeri NO[at]SPAM gmail.com at 8/22/2006 12:48:27 AM
I want to place a return to previous page-link which returns to the
previous page without reloading it.
The reason I don't want to reload the page is that in the Page_load
there is a web service running which I pay for each time it's used.
How can I solve this?
Regards,
SE
... more >>
Manually Configure site for ASP .NET 2
Posted by Gol Yass at 8/22/2006 12:00:00 AM
Hi
I am using Visual Studio 2005 on windows XP professional (with IIS).
Following the walkthrough provided by help "creating web page for mobile
devices" , I have created a website , but as soon as I carry out the last
step in creating the website , as the website is being loaded in the IDE... more >>
App domain recycling issue in 2.0 but latest VS2003 SP1 seems to fix it - why?
Posted by Tony at 8/22/2006 12:00:00 AM
Hi all,
Here's the link to the issue we were seeing on our ASP.NET system when
modifying, adding and deleting directories in framework 2.0.
http://blogs.msdn.com/toddca/archive/2005/12/01/499144.aspx
I then tried a few of solution I found while perusing Google,
- FCNMode registry mod
- Re... more >>
Table's troublessss
Posted by Carlos A. at 8/22/2006 12:00:00 AM
Hello all
I work with Visual Studio 2005 VB code.
My problem is when I insert a table into another table. It exist a space
between the table and the cells that contains this table.
I tried with ASP and HTML tables and the same occurs.
I also verified that CellSpacing=0 and Cellpadding=0 also ... more >>
|