all groups > asp.net > april 2007 > threads for tuesday april 24
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
Viewstate Dynamically added control (ASP.NET 2.0)
Posted by jelle.huygen NO[at]SPAM gmail.com at 4/24/2007 11:50:00 PM
Hello,
I have a problem in ASP.NET 2.0 with the viewstate of my dynamically
added user control. I have reproduced the problem with a very simple
user control and a very simple page.
On my usercontrol is a button and a label. Everytime the button is
clicked a counter which is stored in the... more >>
FindControl with GridView
Posted by sck10 at 4/24/2007 9:17:34 PM
Hello,
I have the following GridView. I need to be able to get to the DataFields
and set the Visible property. Any help with this would be appreciated.
Thanks, sck10
<!-- Grid: List of all the Services from the Textbox -->
<asp:GridView ID="gvSearchData" runat="server"
DataSourc... more >>
Problem with my format() functions...
Posted by n.net at 4/24/2007 7:43:23 PM
Due to the much of VBScript inhibition in my early years of website
development, I exhaustively used the following code in my .NET
console applications.
oLog.setStartTime = Format(Now, "MM/dd/yyyy HH:mm:ss")
This worked fine, when ppl used the code in US.
When the same code was migrated ... more >>
Regarding dropdownlist in page and request object
Posted by Robert Dufour at 4/24/2007 7:42:40 PM
I have a content page in a site that references a master page. In the
content page I have an aspnet Dropdownlist control that has autopostback set
to true.
I think that when I select another item I should get the value of the
selected item in vb code behind as
Dim myval as string
myval = ... more >>
Getting values from an CheckBoxList
Posted by RSH at 4/24/2007 5:58:45 PM
Hi,
I have a CheckBoxList that is dynamically created in the codebehind. When I
click the submit button on the form I am handling the click event but I cant
get at the checked values of the checkBoxList.
I have tried:
chList as checkboxlist = findControl("ChkList")
Null exception error.... more >>
regular expression
Posted by jb at 4/24/2007 5:25:54 PM
Hi,
Am trying to check a string from a textbox for sql injection. I want to
make sure there is only one space between each word. Whats the regular
expression to remove all extra white spaces / new lines etc from a string?
Thank
JB... more >>
Error using ReportViewer control and SQL Session State
Posted by Andrew Teece at 4/24/2007 5:06:32 PM
Hope someone can help.
We are trying to deploy an ASP.Net 2.0 application to a 3-node webfarm.
The application uses the ReportViewer control in local mode, hence we
need session state.
Because we dont wan't a single point of failure we use SQL Session
State.
I have setup a pe... more >>
Can I print a portion of a page?
Posted by John Kotuby at 4/24/2007 4:44:50 PM
Hi all,
Again running into problems converting existing ASP to ASP.NET 2 in VB. I am
simply trying to print a portion of the HTML displayed on-screen and not the
entire document. Specifically I just want to print the HTML contained in the
content area of my Masterpage layout, without the user... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
FindControl in GridView Footer
Posted by Andrew Robinson at 4/24/2007 3:39:20 PM
I am using the following code to preload a few controls in the FooterRow
within a GridView control:
protected void Page_Load(object sender, EventArgs e) {
((TextBox)GriwViewRates.FooterRow.FindControl("TextBoxRateInsert")).Text
= "60";
}
The successfully loads the Footer / TextBox on... more >>
Unrelated Question
Posted by rn5a NO[at]SPAM rediffmail.com at 4/24/2007 3:31:40 PM
Probably this post doesn't belong to this group but since I couldn't
locate any group where I could post my question, I am doing it here.
Sorry for the same.
What are the criteria that should be taken into consideration while
buying a domain? Of course, that would also depend upon factors like... more >>
Centering main area on the page
Posted by Dave Griffiths at 4/24/2007 3:24:33 PM
Hi all
Using VB 2005
I am trying to recreate some existing pages made originally in Dreamweaver
to ASP.net. Now I am stuck at the first hurdle.
Original code using css
div.edges {
border-left: 2px solid #c7c7c7;
border-right: 2px solid #c7c7c7;
height: 600px;
width: 780px;
}
<!DO... more >>
ASP.NET Hangs While Opening A Connection To An Oracle Database
Posted by s_valmont NO[at]SPAM telus.net at 4/24/2007 2:45:24 PM
Just wondering if anyone's heard of this issue.
It relates to accessing an Oracle 9i database from ASP.NET 1.1. The
first time you do this (e.g., run a sproc) it works fine. However
doing this multiple times causes ASP.NET to freeze permanently. Its
memory consumption increases and its CP... more >>
Authentication for ASP and ASP.NET apps
Posted by dotNetBuddy at 4/24/2007 2:44:02 PM
Hi, I have a created a new website (Default web site is stopped) for a
classic ASP application. The local path under Home Directory is
F:\inetpub\wwwroot\codebase and the Anonymous access, Basic authentication,
Digest Authentication are unchecked and Integrated Windows authentication is
chec... more >>
Access to WebResource.axd through reverse proxy?
Posted by kcmarshall.msp at 4/24/2007 1:44:04 PM
We're working on an app that will be integrated with another web app through
a reverse proxy. Our aspx pages will appear in an IFrame from their site and
will appear to the client browser as originating from the other app's domain.
Through use of relative URLs we've believe we have links wor... more >>
ASP.NET Ajax Synchronous call
Posted by Jason at 4/24/2007 12:49:43 PM
Hello,
I am using ASP.NET Ajax on the web site I work on and I was just
wondering if anyone knows of a way to use the PageMethods to be
synchronous or to at lease be able to return a value instead of always
having to use the callback.
I can't think of any way to do it but I though maybe som... more >>
Loosing connection to IIS on big queries
Posted by Jim Andersen at 4/24/2007 12:47:26 PM
Hi there,
I have a .Net 2.0, vb.net web-app, where the user enters an SQL-string, and
the SQL is sent to an Oracle database.
The result is then shown in a gridview.
But, when the query runs a long time (or returns a large dataset) I loose
connection to the IIS. I get a "server not found... more >>
difference between assembly in aspx page and web.config?
Posted by Beemer Biker at 4/24/2007 12:46:20 PM
I have some demo code that came with a 3rd party product. This is what it
looks like (I remove html braces in case it does not print right)
Register TagPrefix="pin" Namespace="Pintexx.Components.Web.pinTab"
Assembly="pinTab"
That line of code was the 2nd line just below the Page Language=... more >>
From asp to asp.net migration related
Posted by trs at 4/24/2007 12:32:35 PM
Hi,
I am developing an application module in asp.net and the site is
currently developed in asp.net.
1.How can i transfer my session variables or information from asp
pages to aspx pages.
2.Also i want to reuse the code i.e. there are some files in the
existing asp code which are included... more >>
Findcontrol in Gridview Footer row not working
Posted by kevin NO[at]SPAM webpageconcepts.com at 4/24/2007 12:14:55 PM
Hi. I'm ripping my hair out.
I'm in VS 2005 Framework 2. I have one website with a gridview with
some template fields. I'm using the footer row to insert records. For
this discussion there is a textbox and a linkbutton in the footer row.
In the click event of the linkbutton an example of what ... more >>
sending "crtl z" to serial port
Posted by Scott at 4/24/2007 11:37:32 AM
when i actually hit "crtl z" key combination i deletes text. how can i send
this command to serial and stop windows taking over and deleting the text ?
... more >>
Mindboogling security problems
Posted by Lloyd Sheen at 4/24/2007 11:11:26 AM
I need to add a login front end to an existing website. No big deal ????
VS 2005 / Vista / II7 / SQL Express
Well I go into the security and add a welcome page and a login page. Real
easy and the .Net Config tool allows the changing of security and creation
of users etc. Again real easy... more >>
ASP.NET outgoing email goes to Junk-Email
Posted by sweetpotatop NO[at]SPAM yahoo.com at 4/24/2007 11:11:20 AM
Hi,
I have been using "Mail" in ASP.NET to send email, however, email
deliveries to the Junk-Email of the receiver. Is there a way to get
around this please?
Thanks in advance. Your help will be greatly appreciated.
... more >>
how to get the name of the current aspx file?
Posted by Dave at 4/24/2007 11:10:39 AM
Hi,
i need to get the name of the current aspx file in code-behind.
Assume the current aspx file is "myfile.aspx", i want to put value "myfile"
into a variable in code-behind.
Is that possible?
Thanks
Dave
... more >>
Need urgent Active Directory / asp.net help
Posted by Steve at 4/24/2007 10:52:00 AM
Hello all,
I need to find all the distribution lists/groups a user is a member of using
Active Directory when they request an INTRANET webpage. Impersonation is
DISABLED on this site.
I have a ASP.NET webpage written in VB.NET where when a user loads the page
it get's their network user... more >>
ACCESS AN ACCESS DATABASE FROM ASP.NET INTRANET SCENARIO
Posted by kmccoskey at 4/24/2007 10:32:03 AM
I'm trying to access an access database on the file server from a web server
using asp.net and IIS 6.0. I can do it when I have anonymous access enabled
in IIS 6.0 as in the public internet web site style. I want to do the same
with the intranet setup where IIS 6.0 is not setup to allow anon... more >>
Watch a video tutorial from Mr.Bool!
Posted by Jeff at 4/24/2007 10:28:27 AM
Watch a video tutorial from Mr.Bool!
Looking for a easy way to learn!
Look what Mr.Bool site offers for you!
Here you can find articles, tips and tons of video tutorials. Totally
Free!
Watch a video tutorial now.
http://www.mrbool.com
Did you like it? To see more videos as this, access ... more >>
Debugging: Stop on first executed line
Posted by Jerry J at 4/24/2007 10:28:02 AM
In debug mode, I want to be able to stop on the first executed line in my
aspx.vb code page without setting a specific break point. Is there a way to
do that?
--
Jerry J... more >>
Newbie: asp.net and restricted web server, Access backend?
Posted by Keith R at 4/24/2007 10:20:26 AM
I've done some basic programming in VBA and VB.Net 2003 (CF), but have never
had a need to do any web programming before. I have downloaded VB2005
express.
I have a data entry tool that I'd like to re-create to make it web enabled,
moving from and Excel to Access backend. Access is required... more >>
Can I change the response URL to http://server/page.XLS instead of http://server/page.ASPX ?
Posted by guillermojco NO[at]SPAM gmail.com at 4/24/2007 10:12:30 AM
Hi,
I've got an ASP.NET page that returns XLS, DOC, PDF and other files
from binary fields in a database.
The problem is that MS-Excel 2007 shows a security warning when trying
to open the file because its name is page.ASPX instead of page.XLS
(the file opens properly when this warning is a... more >>
DownloadLink
Posted by gh at 4/24/2007 9:37:47 AM
I have an asp.net website and was going to add a folder so the user
could download a file to there pc. I would like for them to click a
link, enter a password and have the file automatically download. The
password would be the same for everyone and I would change it
frequently. Anyone hav... more >>
Regular Expression
Posted by C at 4/24/2007 9:00:07 AM
I have a textbox and want to allow my user to enter negative or positive
decimal values.
I want to do 2 things:
1) Only allow the user to type one minus sign (-)
2) Only allow the user to enter one point (.)
I would like to do this using Javascript or a Regular Expression.
Anyone got ... more >>
values in web.config in subfolder not read
Posted by interuser at 4/24/2007 8:51:16 AM
Hi.
I have some values in web.config of a subfolder:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="remoteFile" value="/TEST/ACCBALEXP.TXT" />
<add key="UseSqlLogging" value="False" />
</appSettings>
</configuration>
When debugging on my pc... more >>
UserControl (ascx) - Using Javsscript
Posted by C at 4/24/2007 8:12:06 AM
I have an ascx.
I have some client side JS on the ascx itself.
I want this to run each time my control is loaded.
How can I do this?
... more >>
Controls to Entity
Posted by Alhambra Eidos Kiquenet at 4/24/2007 7:52:03 AM
Hello misters,
I have an application web asp.net 2.0, 3 layers.
I have pages with several controls (textbox, dropdownlist, radiobutton).
I guest if there are utility class (helpers) to do more easy the following:
get the values of controls (IU layer) and set values of an entity (bussinnes... more >>
FileNotFoundException on Page.LoadControl
Posted by pyrusmagnus NO[at]SPAM gmail.com at 4/24/2007 7:15:17 AM
Hi,
I'm having trouble loading a user control from inside my Sharepoint
webpart. A System.IO.FileNotFoundException occurs on this line:
Control myControl = Page.LoadControl("/UserControls/
SearchControl.ascx");
The UserControls folder is located under the root of my Sharepoint web
applic... more >>
Control
Posted by shapper at 4/24/2007 6:47:51 AM
Hello,
I have been creating custom controls in Asp.Net 2.0 by creating Class
Library projects.
Then I compile it and use the DLL in my Asp.Net 2.0 web sites.
Is this the right way to do this?
I am asking this because I have been downloading a few projects from
CodePlex and their struct... more >>
IIS Server / ASP web application .NET 2003 problem
Posted by Anna S at 4/24/2007 6:44:02 AM
Hi everybody,
I have installed the .NET 2003 (framework 1.1) on Windows XP SP2 computer.
When I try to open existing Web application or create a new Web application
then the following error message appear:
HTTP/1.1 500 Internal Server Error.
Then the existing application loads normally,... more >>
Query on ASP .NET: Validators
Posted by Parneet Dhillon at 4/24/2007 6:22:02 AM
1) When we use the validation summary we face the following challenges.
When the page is loaded for the first time, a summarised message box is
shown. This happens for the erroneous drop down fields marked as error(This
is because we have validators for the drop and if the drop has the defau... more >>
reg uploading huge files.
Posted by muthu at 4/24/2007 6:12:52 AM
hi friends,
I am developing ASP.NET application which allows user to upload the
files upto 10 MB.
But if the user selects the file to upload more than 10 MB the
application crashes with error.
I have tried the follwoing to prevent the crash.
if (System.IO.Path.GetFileName(Request.Pat... more >>
UserControls - Textbox Blur Event issue
Posted by bsm at 4/24/2007 5:27:18 AM
I have created one User controls which contains
1. Textbox and
2. ImageButton (to display calendar)
(I tried to create my own datetime control).
I have created "onblur" event on textbox event, so that It will
validate that Textbox should not empty. I shown calendar window when
user clicks th... more >>
Load DropDownList
Posted by Alhambra Eidos Kiquenet at 4/24/2007 1:50:00 AM
Hello,
I have a list of entities (with properties Key and Description).
Which is the best manner of load dropdownlist with this list ?
Thanks in advance
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
... more >>
BC30260
Posted by psychomad at 4/24/2007 12:25:42 AM
I'm getting this error, can someone please HELP!!!!!! thx
--------------------------------------------------------------------------------------------------------------------------------------------
Server Error in '/' Application.
-------------------------------------------------------------... more >>
How to submit a POST with a WebRequest? (in C# to a PHP file)
Posted by Lloyd Dupont at 4/24/2007 12:00:00 AM
there is a PHP file with which I try to communicate.
there is a simple HTML like that:
"<form action='feedback.php' method='POST'>blablabl</form>"
now I try to write some C# code to invoke the PHP from a desktop app, which
look like that:
====================
static HttpWebRequest CreateR... more >>
Global.asax not firing
Posted by Eric Layman at 4/24/2007 12:00:00 AM
Hi everyone,
Currently Im using Global.asax.vb to capture any errors and to send them =
via email to me.
But I didn't get any emails when I purposely crash the web application.
May I know what I am missing here?
I've copied (shamelessly) the script from here:
http://easerve.com/develop... more >>
strange problem about ModalPopupExtender
Posted by Victor at 4/24/2007 12:00:00 AM
Hi guys
i have a strange problem about my modalpopupextender. In my page, i put a
gridview inside a updatepanel with paging enabled. also i put a
modalpopupextender in another updatepanel to do the edit and add new job.
My problem is everytime time i change the page index in my gridview. and i... more >>
|