all groups > asp.net > august 2006 > threads for friday august 11
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
*WITHOUT* using: ValidateRequest="False" for the whole page (or my whole site)....
Posted by \ at 8/11/2006 9:46:22 PM
*WITHOUT* using: ValidateRequest="False" for the whole page (or my whole
site)....
How would I trap/detect that a textBox contains some illegal characters?
(I'm using asp.net v1.1 and vb.net)
Thanks.
... more >>
Problem with asp:calendar....you can help me!
Posted by tranky at 8/11/2006 9:01:24 PM
Hi, i'm an italian programmer.
I've a problem with asp:calendar control.
I'd like to click into a day of this calendar and show in a asp:label
the day.
I tried with this code_
<%@ Page Language="C#" CodeFile="Default2.aspx.cs" Inherits="Default2"
title="Antonio Tranchida - Regis... more >>
"HTTP Error 403.1 - Forbidden: Execute access is denied."
Posted by Alex Maghen at 8/11/2006 7:11:01 PM
I'm getting the error
"HTTP Error 403.1 - Forbidden: Execute access is denied" when I try to reach
my ASPX pages.
Before I go giving Windows permissions to my docroot, etc., I want to
understand what users or, preferably, groups, need to have what permissions
for basic operation of ASP.NET... more >>
HyperLink underline, how?
Posted by Jeff at 8/11/2006 6:58:07 PM
hey
asp.net 2.0
I have a HyperLink control on my webpage, I want this HyperLink to display a
underline when mouse is hovering over it. This is NOT a html link, but a
System.Web.UI.WebControls.HyperLink
This is my CSS (which I use to set font size and remove the underline, but
when mou... more >>
Creating new window in Webpage
Posted by Parrot at 8/11/2006 6:44:01 PM
Is there a way to create a new window in a Web browser using the Response.
Redirect command? Many times I want to create a new window but am unable
with the Response.Redirect command. I can do it with a Javascript but I want
to be able to pass some dynamic parameters which I cannot do in Jav... more >>
Google Maps & Master Pages
Posted by MeerkatInFrance at 8/11/2006 5:27:47 PM
There comes a time when you know you are not going to be able to work
something out yourself, however hard you try. I have reached that moment.
I have a master page and a slave page (or whatever one calls it)
All I want to do is show a Google map on the slave page.
The map that Google gives... more >>
IE Save Dialog Security Warning
Posted by Charles Mifsud at 8/11/2006 5:07:31 PM
Hi all,
We have an asp.net 2.0 page with a button.=20
On clicking the button we redirect to another page which downloads a =
file.
When we deploy on the web server we are gretting a security warning =
saying that=20
"Internet Explorer blocked this site from downloading files to your =
com... more >>
ViewState
Posted by Seema Multani at 8/11/2006 4:21:02 PM
I have two a user controls in which I have two buttons "btnAdd" and
"btnRemove". I have a multiview and I have two views in that multiview
named"View1" and "View2". I want that when I click on "btnAdd' then show
"View1" and when click on "btnRemove" then show "View2" depending on
postback ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Connection limits, HTTP keep-alives, and debuging
Posted by Mark Rae at 8/11/2006 4:12:49 PM
Hi,
Development machine is:
AMD dual-core 64-bit Athlon
4Gb RAM
2 x 160Gb SATA hard drives
WinXP Pro + SP2 and all the latest patches
Visual Studio.NET 2005
SQL Server 2005 developer edition
Recently, after a serious bit of cross-browser / cross-platform testing, I
encountered an err... more >>
Calling class in App_Code
Posted by sck10 at 8/11/2006 4:09:50 PM
Hello, I am trying to get the Month from the following using "switch" in my
App_Code file. The error that I am getting is:
An object reference is required for the nonstatic field, method, or property
'class_General.MonthIndexToString(int)'
In my content page I am using the following syntax ... more >>
Month Name in c# (August)
Posted by sck10 at 8/11/2006 3:12:33 PM
Hello,
What I am trying to do is get the string(August) from:
hdnMonth.Value = DateTime.Now.Month.ToString();
Does c# have a function like the vb function "MonthName" ?
hdnMonth.Value = CType(MonthName(Month(Now())), String)
Thanks, sck10
... more >>
File is locked by a process/program
Posted by Felipe at 8/11/2006 2:58:16 PM
Hello again
I run a script from server side that opens a file.
When ahoter user run the same application, the system fails because this
file is alredy open.
How can avoid this error?
"This files is already open, try again" or another message error intead?
Thanks
... more >>
Team Build, 3rd Party References, and Web Deployment Projects
Posted by mndang NO[at]SPAM gmail.com at 8/11/2006 2:10:05 PM
Hi All,
This may have been posted before and such, but I tried a few solutions
on the web but to no avail.
Problem: I have a web projects (not Web Application Project) with many
project references and a few 3rd party references. The 3rd party
references are automatically added to the web.c... more >>
DetailView Question
Posted by momo at 8/11/2006 1:27:11 PM
Guys,
I am trying to created a detailview that displays several records at a time.
Let's say I have a GridView with checkboxes and when I check two checkboxes
and click a button, I want it to give me two DetailViews; one for each
record selected. how can I do this? Or is there a better way tha... more >>
Defaultbutton handling misbehaving in firefox after hitting back button
Posted by gferreri NO[at]SPAM gmail.com at 8/11/2006 12:36:20 PM
Hi all,
I've stumbled on an interesting problem with the way Firefox handles
form submitting with the enter key.
I'm putting together a page that has one form element with multiple
controls with their own textbox field and submit imagebuttons. I've
set up each control in an asp:Panel with ... more >>
FindControl doesn't work
Posted by Dennis at 8/11/2006 11:45:31 AM
I'm trying to use FindCrontrol and it will not work. Here is the code:
Dim DisplayPanel As Panel
DisplayPanel = CType(FindControl("pnlName"), Panel)
No matter how I do it - I've tried Me.FindControl, Page.FindControl,
just plain FindControl the DisplayPanel variable is always Nothing
after... more >>
Drag And Drop ASP.NET
Posted by Ruben Gatt at 8/11/2006 11:23:53 AM
Hi,
I want to do a drag and drop from one listbox to another? is it possible??
if yes any tips ??
Regards
RG
... more >>
Building a dialog box in that looks like Confirmation box (ASP.NET). Please help !!!
Posted by bienwell at 8/11/2006 11:04:41 AM
Hi all,
I have a button in aspx file
<asp:button id="Button1" onclick="Button1_Click" runat="server"
Text="Button ..."></asp:button>
Sub Button1_Click(sender As Object, e As EventArgs)
some VB lines of code ....
If condition1 Then
Confirmation Messa... more >>
Compilation Issue ::
Posted by XD at 8/11/2006 10:59:03 AM
Hello All,
I've asp.net website written in VS2005 Pro and when I press F5, it is not
opening the site in default browers.
It is just this website, rest all website gets compiled and opened up in a
browser.
Any idea!
Thanks,
XD
... more >>
Problem with Roles.GetUsersInRole
Posted by Bob at 8/11/2006 9:49:03 AM
Hi All:
I have a page where the managers can maintain their own users -
GridView is populated with the list of users. When the manager adds a
new user (button click event calls Roles.AddUserToRole) the subsequent
call to Roles.GetUsersInRole is not returning the user just added. It
is returni... more >>
multi GB file uploads
Posted by mcrose at 8/11/2006 8:57:35 AM
I've written theh standard applicaiton for our client to allow indexed
(customer name, subject etc) file uploads via secure http using the
<input type='file'> http element.
This works great, and has the added benefit over FTP that I can begin
processing the file data stream while the download is... more >>
Architecure Question
Posted by Muckeypuck at 8/11/2006 8:15:50 AM
Lets say i had two classes, user and customer that represented tables in the
database with 7 or 8 fields max. Lets say that instead of passing an id
around hitting my database any time i needed information from those 2
tables, i just made those two classes serializable and passed them around i... more >>
FormsAuthentication.Authenticate
Posted by cashdeskmac at 8/11/2006 8:04:14 AM
FormsAuthentication.Authenticate(txtUser.Text, txtPassword.Text)
I understand that you pass the parameters into this method and they are
checked against the credentials in the config file. However, how would you
check these against details held in an xml file? Is there a way of telling
th... more >>
very urgent...
Posted by saurabh at 8/11/2006 7:52:35 AM
I have a form in which there are two types of control a) asp.net (3
radio button) b) html control (textbox).
On everytime page is load (postback or withoupostback) i want my code
to check which radio button is checked. If any of the first two radio
button is checked i want to set textbox value a... more >>
Cursor to end of line in textbox
Posted by Gyetko at 8/11/2006 7:50:40 AM
I have a textbox on an ASP.NET webform (VB code behind). Is there a
way for me to set the cursor to the end of the line on a gotfocus call?
Right now I'm using the following to set the foucs to that textbox on
a keypress (given certain criteria). Thanks.
document.forms[0].myTextBox.focus()
... more >>
Caching over multiple domains
Posted by mindflower at 8/11/2006 6:54:02 AM
Hi,
i have a web application running on multiple web domains. I'm looking for
the best way to cache data across these multiple domains. The
System.Web.Caching.Cache only supports caching over a single domain and is
therefore no help for me. Can anyone tell me what is the best way? COM+ ?
... more >>
Parser Error - Could not load type 'xxx.global'
Posted by ian.bate NO[at]SPAM hotmail.co.uk at 8/11/2006 6:02:35 AM
This should be really easy to solve because there is loads of stuff on
the web about this problem, trouble is, I have tried them all.
I have developed an ASP.NET application on my WIndows 2000 PC using VS
2003. I have performed a build. I have then copied the .aspx,
web.config and \bin\xxx.dll... more >>
Datagrid: how-to dynamically change WHERE conditions
Posted by bruno at 8/11/2006 3:03:01 AM
I'm trying to dynamicaly change Where conditions in a Datagrid without success.
The aspx form has some input fields, used to build the search, plus a final
SEARCH button. In the click event I build the SQL Select stmt and do the
following:
Me.DataSourceSearch.SelectCommand = "SELECT ..... more >>
Multi-tier ASP.net web application
Posted by kito at 8/11/2006 2:24:42 AM
Hi,
I've a question, regarding the multi-tier model of designing
applications. I'm programming a web-application (Little web-shop) in
VB.net for a project of the university and my question is the
following:
I have a table "Customer" in the database. Is it intelligent then, if
I'm creating (i... more >>
Retrieving Control Values From ViewState
Posted by jupitermoonbeam NO[at]SPAM googlemail.com at 8/11/2006 1:54:35 AM
Hi,
I wondered if anyone can help. I have scowered the web and found
absolutely nothing that relates to my particular problem and I am
pulling my hair out.
Basically, I have a scenario where I need to retrieve the previous
value of a control (a text box) from the ViewState and compare it
... more >>
Programming practices question
Posted by Maciek at 8/11/2006 12:45:58 AM
I've got this question regarding programming practices. I'm designing
Newsletter module in my WebApp and I'm greenhorn in programming.
There's a stored procedure which adds a subscriber to a DB. It outputs
subscriberID (uniqueidetifier) if it succeeds to add them to the
database and return value... more >>
Empty URL for SitemapNode in the Treeview for dotnet 2.0
Posted by martinalmroth NO[at]SPAM hotmail.com at 8/11/2006 12:14:49 AM
I have made my own SiteMapProvider and it works fine if all the nodes
have a unique url.
My problem is that some nodes have no url, it is only a node that
groups the nodes in categories. When I have several of these category
nodes with no url I get an Stackoverflowexception in runtime. Is there
... more >>
How execute a script from ASP.NET - VB
Posted by Felipe at 8/11/2006 12:00:00 AM
Hello all
I neet to know how can I call a script (.cmp or vbs) from my web
application.
Thanks in advanced.
... more >>
DotNetNuke
Posted by Peter Morris [Droopy eyes software] at 8/11/2006 12:00:00 AM
I'm just about to start evaluating DDN. If anyone here has any experience
of it I would be interested in any Pros/Cons you may wish to share.
Thanks
Pete
... more >>
Popup another IE
Posted by ghostwolf at 8/11/2006 12:00:00 AM
Hi, how can I popup one more IE instance for showing another web page in
ASP.NET? Thanks a lot.
... more >>
Website Code Analysis
Posted by mc at 8/11/2006 12:00:00 AM
When I run Code analysis on my website I always get 4 errors, one from
each of my Global.asax functions Application_Error,Application_Start,
Session_End, Session_Start. the error is "'Function Name' appears to
have no upstream public or protected callers." Is this expected?
I guess it is as... more >>
Icon file in asp:Image
Posted by ghostwolf at 8/11/2006 12:00:00 AM
I want to use some icons in my web page which is *.ico in asp:Image control.
But I've found that the quality is very bad indeed. It's seems that it
doesn't support on showing *.ico file. How can I show them in a pretty way?
Thanks in millions.
... more >>
|