all groups > asp.net > august 2006 > threads for thursday august 17
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
Wanted to achieve F11 browser feature in ASP.NET Application
Posted by imghani at 8/17/2006 11:42:48 PM
Hi all,
I have developed an application in ASP.NET. I wanted that whenever a
user comes to my website, it opens browser in F11 mode.
I find the code to open browser in F11 mode (its javascript) but this
can be done in window.open method of javascript, but i don't want to
open a new window inste... more >>
A Truly Excel-like Grid Control
Posted by imghani at 8/17/2006 11:33:37 PM
Hi all,
I found link to a tutorial "A Truly Excel-like Grid Control " on
Datagridgirl.com. Link provided was:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndive/html/Data02142002.asp?frame=true
When followed this link, did'nt exists on msdn. I tried on google for a
tutori... more >>
select text in TextBox from code?
Posted by Dabbler at 8/17/2006 11:27:01 PM
Is there a way to mark the text in a TextBox control as selected so when the
user types a new value the existing text is replaced?
Thanks... more >>
Newbie question: Panel with User control trying to access web page
Posted by Ian J. at 8/17/2006 10:34:10 PM
Hi, I'm a bit of a newbie to C# and ASP.Net, so I'm having problems getting
even simple things done.
Firstly, I'm developing on WinXP, local IIS instance, using VS 2003 with
ASP.Net 1.1. What I'm currently trying to do may be completely wrong
conceptually, but I'm not sure...
I've got a ... more >>
Master page does not exist
Posted by Bren at 8/17/2006 10:07:33 PM
Hi All
I am just in the process of taking the leap into .net 2 and vs 2005 and a I
have come across a bit of a problem.
I have created an Intranet app and have the following folder structure:-
/
/phonebook
/SMS
/QMS
I have a master page in the root of the site which I use on all the... more >>
How to empty cache
Posted by Parrot at 8/17/2006 7:13:01 PM
I set a Web ASP button to have its OnClientClick set to a javascript that
opens a window. For some reason, every other time I click on the button it
displays the older webpage from the cache rather than the most recent. I
added an instruction to clear out the cache by doing the following in ... more >>
dynamic control's event handler not firing
Posted by TS at 8/17/2006 5:40:57 PM
I am creating a User control and i create some dynamic controls in the init
handler. one of the controls is a custom validator which i assign a
serverValidate event handler. I usally always do my controls as custom
server controls and don't understand why this event won't fire.
I figured if... more >>
toolbar for all browsers
Posted by rodchar at 8/17/2006 5:18:01 PM
hey all,
is it possible to make a toolbar that will be compatible with all browsers?
also, does anyone have some basic resources on how to create a toolbar for a
browser?
thanks,
rodchar... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multimedia and ASP NET
Posted by Miso at 8/17/2006 5:15:05 PM
Hello.
Please, where should I start
if I want to snap photos from the web camera connected via usb
and show them in my ASP NET web application ?
I found web cameras on the internet and there the situation is like this
string uri = "";
uri = "http://***.***.***.***/CameraImages/cam***.j... more >>
"Cannot find assembly" problem with .NET 1.1 and 2.0 coexisting
Posted by Nils Magnus Englund at 8/17/2006 4:45:41 PM
Hello,
In the root of a web site (C:\Inetpub\wwwroot), I have a .NET 1.1
application. I've just added a .NET 2.0 application to another directory
under the web site root (C:\Inetpub\wwwroot\20App).
After restarting the IIS server, the 1.1 application works fine - however,
when I first re... more >>
GV Databound Event vs DG ItemDataBound Event
Posted by GaryDean at 8/17/2006 4:18:24 PM
It seems every time I try to use the GridView to do what I used to do with
the DataGrid I run into differences that make me want to got back to the
datagrid. for instance...
the DataGrid ItemDataBound event was a very valuable event to customize
binding. We could refer to the item at bein... more >>
Losing Cached values
Posted by Carl Davis at 8/17/2006 4:11:00 PM
Hi,
We have an ASP.net 1.1 application which loads an XML file into cache when
the application starts up. However, when we overwrite some of the
application DLLs with new versions it appears that this cache is wiped. In
fact, the application seems unable to access the XML file until we actu... more >>
updating query string on client
Posted by Dennis at 8/17/2006 4:07:02 PM
I'm sure there is an easy way to do what I want but I'm failing to find
it...
I have a single web page with links back to itself with set query
strings...
href="?data=x"
href="?data=y"
href="?data=z"
This works fine...
The problem is that now I need to update/add to the query... more >>
Very odd "If value >= x" Error
Posted by Jim in Arizona at 8/17/2006 3:24:35 PM
I made a page with a gridview that has rows show a different color if a
number in a column is greater than or equal to 45. I also did this
conditional formatting for the column next to it. Here's my code.
in the aspx file
===============================
<asp:GridView ID="gvData" runat="serv... more >>
add Flash content in custom control C#.net
Posted by Priya at 8/17/2006 3:11:03 PM
Hi ,
I'm creating a custom control for a web project. I wanted to add flash
content as part of that control. How do i do that in C# file. Pls help.
Thanks in advance,
Priya... more >>
Suggestion for next release of 2.0 - ValidationSummary Control
Posted by r2thej151 at 8/17/2006 2:53:05 PM
Hi Guys,
I have a feature request for 2.x or 3.x. How about we have the option
to let the ValidationSummary display messages from all validators on
the page? For instance, maybe we can have an additional property
"DisplayAllValidators."
Or maybe you can just modify the ValidationGroup pro... more >>
How store results of SqlDataSource SELECT statement?
Posted by VB Programmer at 8/17/2006 2:29:00 PM
I have a SqlDataSource I setup on an ASP.NET 2.0 webform.
I setup the SELECT statement and it has 1 parameter, @ProductId.
How do I, using VB.NET, store the results of that SELECT statement into a
datatable or dataview, for example?
Here's partial code...
Dim ds As New DataSet
... more >>
data modification on multiuser environment
Posted by philip at 8/17/2006 1:36:46 PM
hello i am new to asp.net and sql server 2005 programming. i am
wondering how to code asp.net to prevent multiuser from modifying a
share data (on sql server) at the same time. should i do some special
coding on asp.net or sql server, or both? thanks for your help.
... more >>
How to print html pages
Posted by santhosh146 NO[at]SPAM gmail.com at 8/17/2006 12:40:31 PM
Hi,
I have a requirement where i need to get the postings in a microsoft
content management server website and store it in html. I am able to do
this successfully. Now i want to know how i can i concatenate all these
html pages in to one document and print using asp.net. Please adivise
... more >>
Developing on a server that's not on port 80...
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 8/17/2006 12:31:03 PM
I'm trying to create a project on a virtual server that runs on port =
8000, rather than port 80.
I tried creating the project at http://localhost:8000/MyFolder but it =
keeps telling me that the file path doesn't map to the url. Is there =
some trick to using different port numbers?
Thank... more >>
open source e-commerce ?
Posted by andy at 8/17/2006 12:23:53 PM
Do we have any good (EU compatible) open source ecommerce projects that
come anywhere near competing with php's osCommerce ?
Im a devoted .net developer, but i cant see anything that comes
anywhere near this.
Ive checked out dotnetnuke and Community Starter KIt (CSK is promising)
but in terms... more >>
Authorization not working as expected
Posted by las NO[at]SPAM labapps.com at 8/17/2006 12:22:33 PM
I have created a web service and a simple ASP.Net page that makes calls
to the web service (the page roughly mimics the standard Visual Studio
web service test page).
Running on //localhost, if I disable Windows Authentication in IIS,
both my test page and the VS test page work just fine. But... more >>
asp.net code not displaying results
Posted by Kevin Hanken at 8/17/2006 11:00:15 AM
Hi,
Pretty much a newbie to aspnet and xp -- I am using XP Pro, Service Pack 2.
I installed IIS, set up a virtual directory, created an aspx file and pasted
in a little code from the w3schools site and then tried viewing the page
using my localhost.
The aspx page loads, but the little a... more >>
Check IMG
Posted by ldHH at 8/17/2006 10:43:03 AM
Hi all,
Some web sites (for example mySpace) had in the registration form an image
with alfanumeric chars... used to check the submit
Could you say me ... how can I realize this ??
Or could you give me some link where I can read this ??
Thanks in advance.
//HH... more >>
testing mac browser
Posted by rodchar at 8/17/2006 9:53:01 AM
hey all,
longshot here, but is there anyway to test my asp.net web app in a mac
browser without actually having to buy a mac or know anyone who has a mac?
thanks,
rodchar... more >>
Grid view
Posted by Seema Multani at 8/17/2006 9:28:10 AM
I have a gridview. How can I reterive a value in the Gridview or how can I
search through a column of a gridview for a specific value.
Thanks in advance
... more >>
sort gridview
Posted by CSharpguy at 8/17/2006 9:11:02 AM
I have a grid on my webform with 10 columns, I need to allow the user to sort
the columns when they click on the header. My grid is populated byt a dataset
and not any typed datasets, sqlobjectdatasource, etc. I've looked in some of
the asp.net 2005 books i have on this and the examples dont' ... more >>
Cleaning User Input...
Posted by joesin at 8/17/2006 9:08:36 AM
I recently found a vulnerability on my website that allowed sql
injection. I have been trying to write some code that would clean user
data but have been running into problems. The validation still works,
however so does the injection methods I have used....
These are the examples of code I have... more >>
display html before page_load?
Posted by glbdev NO[at]SPAM yahoo.com at 8/17/2006 8:59:28 AM
Hi.
I have a web page which is running a stored procedure. This page has a
graphic on it so the user knows something is running and the page is
not frozen.
This query runs for approx 40 seconds. I would like to be able to
display the HTML (graphic) before running this sproc. As it is ri... more >>
Counting Sessions
Posted by kpg at 8/17/2006 8:09:02 AM
Hi all,
Ah yes, the age old counting session question.
sessionstate
mode="InProc"
timeout="5"
Sub Application_Start()
Application("ConcurrentUsers") = 0
End Sub
Sub Session_Start()
Application.Lock()
Application("ConcurrentUsers") += 1
Application.UnLock()
E... more >>
Output value stored procedure dotnet
Posted by csgraham74 at 8/17/2006 7:34:41 AM
Hi Guys,
Im attempting to get an output value from my stored procedure. Im
pulling my hair out at this one. any help appreciated.
my code is as follows:
Dim cnstring As String
Dim iConn As New SqlClient.SqlConnection(strRegistry)
Dim iDataAdapter As New SqlClie... more >>
httpcontext null in webbaseevent(webeventprovider) handler
Posted by parez at 8/17/2006 7:33:36 AM
Hi all,
HttpContext.Current is null in my webeventprovider. Why would that be?
I am using a customwebbaseevent.
Please Help.
Thanks inadvance.
... more >>
remove data value from dataset
Posted by CSharpguy at 8/17/2006 7:32:01 AM
I have a dataset that is populating my GridView, BUT there are values in the
dataset that I do not need to show in my grid, This is a datavalue not a row
or column value, so how can I exclude this value from my dataset and not show
it in my grid?
example:
DataSet values
<CarMake>BMW</CarM... more >>
BaseValidator Custom Validator validating on a Repeater
Posted by criz at 8/17/2006 7:24:03 AM
Hi All,
I have a repeater that required a check box on each item in the repeater to
be validated against eachother (to check if only one item's checkbox is
ticked.) To perform this validation I created a validation control that
inherits from BaseValidator and performs server and client side... more >>
Objects referencing smae location
Posted by HankD at 8/17/2006 7:15:09 AM
Hi, I am having a problem with instantiating two custom objects so they
DO NOT point to the same memory location. What is happening is that
changes I am making to my object1 are changing object2. I beleive this
is because I set both to be equal to the same session variable. So when
I change the ... more >>
Binding Grid View to Objects??
Posted by Nemisis at 8/17/2006 6:53:36 AM
Hi everyone,
I have now managed to write my own data layer and business layer
objects, mapped them out etc etc, and it all works fine.
The problem i am having is that my business object consist of other
business objects, example below
Object1
id
name
object2
object3col... more >>
Insert DateTime Value In DB Table?
Posted by Arpan at 8/17/2006 6:45:15 AM
A SQL Server 2005 DB table has 4 columns namely "ID" (IDENTITY int
column), "FirstName" (varchar(50)), "LastName" (varchar(50)) & "DOB"
(datetime). Now when I am trying to add a new row using the following
INSERT statement:
sqlDapter.InsertCommand = New SqlCommand
sqlDapter.InsertCommand.Comm... more >>
Breakpoints after Response.Redirect in ASP.NET 2.0
Posted by venner NO[at]SPAM gmail.com at 8/17/2006 6:42:44 AM
I'm having an issue with an ASP.NET website after upgrading to ASP.NET
2.0. The website makes use of a central authentication service (CAS)
provided at the university I work for. Each page checks a session
variable, and if it is not present, does a Response.Redirect to a
webpage for the CAS pa... more >>
Download more than 1 file
Posted by Gary at 8/17/2006 6:21:32 AM
Hi
I'm using client-side JavaScript to set window.location.href to an
ASP.NET page that outputs an audio file; the user is prompted for the
download location. I would also like to download an XML file when the
audio file has finished downloading. I've been experimenting with
opening a new win... more >>
Master Pages and methods
Posted by Bruno Sampaio at 8/17/2006 4:45:02 AM
Hello,
I have a Master Page with a ImageButton and a Click event associated with.
Then, I've created some pages based on this Master Page.
I need to change the action of Click event will perform depending of the page.
For example: If my page (based on the Master Page) is a customer register... more >>
Generics vs. polymorphismsm
Posted by mark.norgate NO[at]SPAM gmail.com at 8/17/2006 3:23:05 AM
Not a problem really, just curious about other people's views...
I have written a control in ASP.NET 2.0 (derived from UserControl) for
a timesheet application that represents the entries for time charged to
a particular project for each day in the week. Now I must write two
very similar contr... more >>
how to open a word document saved in sql server in asp.net
Posted by jefftim NO[at]SPAM gmail.com at 8/17/2006 1:32:47 AM
Hi All
I've saved a word document in sql server database.I'm able to retrieve
it from the database and open it in a word application.
My problem is I'm able to open it in server/client machines if the
operating system is win2000 but when i'm opening it in windows(XP/2003)
it is saying that do... more >>
Refresh GridView1
Posted by XD at 8/17/2006 12:28:45 AM
Hello All,
On button click I want to empty the GridView1 and fill it with SQL
Database..
It is not happening!
Please advice -
Cheers,
XD
... more >>
RowState V/s. DataViewRowState?
Posted by Arpan at 8/17/2006 12:13:55 AM
What's the difference between RowState & DataViewRowState?
If I am not mistaken, RowState pertains to DataTable whereas
DataViewRowState pertains to DataView but the "Select" method of the
DataTable uses the DataViewRowState as the 3rd parameter & not
RowState. I am getting confused between th... more >>
SQL Server does not allow remote connections
Posted by 3Dfelix at 8/17/2006 12:00:00 AM
Hi, someone could help me with this problem when trying to insert a record
in a SQL express database? I can view record but not edit or insert.
When connecting to SQL Server 2005, this failure may be caused by the fact
that under the default settings SQL Server does not allow remote
connec... more >>
Count the number of active users using the application
Posted by Naveen at 8/17/2006 12:00:00 AM
How can we keep track of how many active users are using the application.
... more >>
Provider problems on production server
Posted by Richard Hallgren at 8/17/2006 12:00:00 AM
Hi,
I've set up Role and Membership provider on a SQL Server 2000. Everything
works fine when I run it from localhost (with the connection string pointing
to the remote SQL Server). However when I put the asp.net solution on the
production server the provider related functionality will not ... more >>
|