all groups > asp.net > march 2005 > threads for monday march 7
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
Display BindData() not refreshed automaticly
Posted by RSusanto at 3/7/2005 11:45:47 PM
Hi,
I have a strange problem here.
I use datagrid in my webform .aspx
and I put delete button in the itemtempalate.
So whenever delete button pressed, then I'm going to run the Item_Delete
Public sub Item_Delete(ByVal source as object, e as
DataGridCommandEventArgs)
dim stSql as string
s... more >>
Changing datagrid header text
Posted by Herry at 3/7/2005 11:09:01 PM
Hi all,
I have problem with datagrid in asp.net using vb as the
language. This is how I show the datagrid from database
datagrid1.datasource = dataset1
datagrid1.DataBind()
Is there any possibility to change the header on every
column and how to set the column width
Thanks... more >>
Opensource e-commerce solutions
Posted by Weston Weems at 3/7/2005 10:34:48 PM
Can anyone make a few recommendations of opensource
ecommerce packages?
I know ibuyspy exists etc, but arent there others out there?
Thanks in advance,
Weston Weems... more >>
Plotting points on a web page
Posted by Carl Gilbert at 3/7/2005 10:19:12 PM
Hi
I am looking for a technique to allow a viewer of a web page to plot a
series of points on a web page. I would like to display an image on the
page and then allow the user to zoom in/out of the image and then click
about 4 or 5 points and then submit these points back to the server.
... more >>
How to avoid two DB calls during page life cycle.
Posted by Peter Rilling at 3/7/2005 8:57:52 PM
I have an interesting issues that, although I not blocking me, is not very
performance. Maybe someone can suggest a better way of doing this.
1) I have a page that displays a grid with command links such as Delete.
Obviously if this link will delete the item of the current line.
2) The gr... more >>
custom virtual directory mapping for web project?
Posted by Danny Miller at 3/7/2005 8:37:01 PM
Hi there,
I'm facing a problem that is driving me nuts. The scenario is as follows:
1) Create an empty directory structure e.g. C:\Dev1\TestWebApp
2) Map a virtual directory e.g. TestWebApp to this new directory
3) Under C:\Dev1 create a blank visual studio solution and add a new web
p... more >>
Validation works on one server but not on the other
Posted by Andrei Pociu at 3/7/2005 8:33:03 PM
I saw a few people on the web having this problem, yet no solution.
Validation using RequiredFieldValidator works fine on my server, but on some
other server it doesn't do anything. Oh, and I'm using client-side
validation.
Any ideas?
... more >>
IN Operator
Posted by Sonu at 3/7/2005 8:07:00 PM
Hi All,
How to use an IN operator using asp.net radio control list or checkbox list
control
For example...
Select * from <table name> where name IN ('james','Bob','Jhon')
how to use the same in ASP.net? I tried to work with it but cannot
get -------> IN ('james','Bob','Jhon') to my SQL s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Admin Control panel
Posted by freddy at 3/7/2005 6:49:02 PM
I have to come up with an admin cntrol panel so the staff can change ,update
there website as needed. I would like to use asp to create the admin panelor
if you guys can tell me of a better way like using php or somthing. How would
I go about letting them update/change the text. Do I have the ... more >>
Storing Session State in SQL Server..Session doesnt Time out,
Posted by jakk at 3/7/2005 6:37:32 PM
Iam storing the session state in SQL Server. The Session gets stored in
the SQL Server temp tables ( I can see some values in the two tables),
but the session doesnt seem to timeout.
We have a situation where we have to differentiate between logout and
session expiration and since the Session_... more >>
Converting inline styles to an external style sheet
Posted by cmonsta at 3/7/2005 6:17:09 PM
Is there any way in vs.net to convert the million or so inline styles
to an external stylesheet? I know to use flow vs. grid control before
coding my pages but I'm wondering about converting older pages that
were already composed in grid style. Any suggestions besides manually
pulling out the ... more >>
What is the correct configuration if only the login page needs SSL?
Posted by X-Killer at 3/7/2005 5:19:38 PM
I've written a website with a login page which uses forms authentication
against a username/password table. I've configured the web.config with
forms authentication and with loginUrl="login.aspx" in web.config and
doesn't accept anonymous login. The application runs normally as expected.
H... more >>
How to change the default tagprefix for web user controls
Posted by Keith Harris at 3/7/2005 4:55:08 PM
When you drag a web user control onto your design surface, VS.NET
automatically assigns the tagprefix = uc1.
Does anyone know how to change the default tagprefix for all web controls
you drag onto a web form?
Thank you.... more >>
Capture the Browser Close event
Posted by Bill Manring at 3/7/2005 3:31:04 PM
I need to capture the event when the user closes the browser in my
application. I have some code in the session_End event, which works fine
when the session times out, but I need to end the session immediately when
the user closes the browser.
Does anyone know a way of doing this?
--
... more >>
Unsorted List
Posted by John Bankhead at 3/7/2005 3:23:03 PM
Is there a structure in which I can store name/value pairs that does not
re-order the items? I think I am looking for the equivilant of a Java
MapList.
--
John Bankhead... more >>
add utility component to existing application
Posted by Dabbler at 3/7/2005 3:19:03 PM
I need to add a photo gallery component to an existing asp.net application.
I'm not sure how to create the gallery component, as I don't want it compiled
in the existing apps dll's but separate dll and separate project. Can someone
give me a short comment on the best way to do this to create a... more >>
build vb.net forums
Posted by Rudy at 3/7/2005 3:15:04 PM
Hello!
does anybody know of any forum template in vb.net that I can work with. I
would like to build a forum, but all that templates I found is in C#. In
fact I'm finding alot of the cool stuff I want to do, there coded in C#. I'm
wondering if I should have taken up C#, but I thougt for ... more >>
Rating formula? Help apreciated!
Posted by alex at 3/7/2005 3:09:54 PM
I need a more advanced formula than just an average for calculating
items rating.
I have:
raitng value is on scale 1 to 10.
s - sum of all ratings for an item
n - number of rates (votes)
scenario 1)
s=12
n=2
12/2 = 6
scenario 2)
s=24
n=4
24/4 = 6
same average value, however... more >>
Passing data to a UC programitcally...does the UC need to be dynamically loaded?
Posted by darrel at 3/7/2005 2:44:14 PM
If I want to pass data to a UC via codebehind on the page, does the UC also
have to be dynamically loaded, or can I pass data progamatically to a UC
that is loaded via the ASPX page (using a UC tag)?
-Darrel
... more >>
Question about building an intelligent subscribe/unsubscribe newsl
Posted by Joe at 3/7/2005 2:41:02 PM
Hi,
I have a newsletter subscribe page. A user enters email address and clicks
Subscribe button. That email address is added to database. Say this is a
career newsletter. Is it possible to create an intelligent system that will
work such a way that every time a new job is added on the we... more >>
Problems with code behind
Posted by Fabio Negri Cicotti [MCP] at 3/7/2005 2:24:02 PM
Hi,
I have an application written in vb.net /sql server 2000. I am hosting a
test site with a hosting company that offers shared ssl. They have created a
directory for me and I have copied my pages into this directory. Until this
point everything worked just fine, however, since moving the ... more >>
FindControl
Posted by TJS at 3/7/2005 2:22:15 PM
getting error on this code:
Dim ctrl As button = FindControl("btnDelete")
ctrl.Attributes.Add("onclick", "javascript:return confirm('Are you sure
you want to delete this ? ')")
error:
Object reference not set to an instance of an object.
btnDelete is a button inside another contr... more >>
Can an ASP Label Wrap
Posted by Randy at 3/7/2005 2:13:13 PM
Hello,
I don't see a wrap property for the ASP version of Label. Is there anyway
this control can be set to not wrap?
Thanks
... more >>
Postback won't trigger
Posted by Anand at 3/7/2005 2:07:04 PM
Hi All,
The postback on my desktop stopped working. I am trying to run the
webapplication locally on my desktop and the Postback on my home page won't
trigger on any of my dropdown selections. The error on the displayed HTML
points to the line in the PostBack event which is not my code but th... more >>
Getting the value out of a button column in a datagrid
Posted by amy_hankins NO[at]SPAM swn-dot-com.no-spam.invalid at 3/7/2005 2:01:34 PM
Hello,
I have a datagrid with one column declared as a button column. When I
click on the column and go to the item command routine, I want to
retrieve the value from that column. I've tried creating another
button in code and setting them equal as well as using the general
way to retrieve ... more >>
Use a browser other than IE with Visual Studio .NET
Posted by Jeff Robichaud at 3/7/2005 1:41:23 PM
I've been trying to use a browser other than IE in VS.NET with no success.
The default browser on my PC is Firefox, and it is also the default browser
for opening web documents from the Solution Explorer in VS.NET. But when I
click the Play button or hit F5, it is still IE that is being launch... more >>
Adding Front Page Extensions
Posted by Fred Herring at 3/7/2005 1:25:06 PM
I am running IIS6 on my server. I need to add front page extensions 2002 to
enable my site to support a hit counter. Can I get a little advice on how to
do this.
Thanks,
Fred... more >>
Disable a button with javascript
Posted by blarfoc NO[at]SPAM yahoo.com at 3/7/2005 12:56:10 PM
Hi, I have to disable a button on a aspx page after the user clicks it.
I have to disable the button with javascript because the process takes
20 seconds to run the full course.
I kno I need to do this with javascript but I do not kno how.
Please tell me if you will please.
... more >>
Thread was being aborted
Posted by enahar at 3/7/2005 12:51:50 PM
Hi,
When I do the Login using the code below I am getting the
System.Thread.ThreadAbortException(Thread was being abortefd) on the last
line of the below code i.e.
Response.RedirectFormsAuthentication.GetRedirectUrluID,isPersistent));
there is no original URL, therefore it is returnin... more >>
Add additional row
Posted by Vishal at 3/7/2005 12:35:55 PM
Hello,
I need to add an additional row for each exisitng row in
my datagrid. How can I do that?
Thanks... more >>
User control problem
Posted by tshad at 3/7/2005 12:04:12 PM
This is related to my other Hiding datalistitems problem that I can't seem
to solve.
I have tried different methods which all seem to work only partially.
I decided to try to use a User Control (which I'm sure is not done
correctly) and get errors as I try to execute it.
What I want to ... more >>
ASP.NET Dialog box
Posted by 00_ChInkPoIntD12 at 3/7/2005 12:00:43 PM
Is there a good and working dialog box Control that I can buy?
I tried Mono software and Dialog-box.net. I have problems get them working
in standard installation of Netscape 7 and Opera 7. I checked the settings
in my browser, they allow pop up.. They ONLY work on Microsoft I.E. :(
Any i... more >>
LDAP and asp.net
Posted by Passero at 3/7/2005 11:56:56 AM
Does anybody know how i can get information from an active directory
server. I want a list of all the users and there names.... more >>
problem using xquery and asp.net
Posted by amessimon at 3/7/2005 11:43:20 AM
Hi
I'm having a problem querying an XML document using Xquery, i dont know if
this is the right place to post, but i couldnt find an xquery newsgroup.
Ive also posted in the xml group. Ive not used xquery before and cant find
much documentation online regarding the problem i am encountering.... more >>
Storing Session in Sql Server Serialization exception
Posted by jakk at 3/7/2005 11:40:18 AM
Below is the exception that Iam getting. It says that the DataView that
Iam storing in the session is not Serializable. BUt works fine if I
store in the inproc session and fails if I switch to storing the
session in Sql Server.
Please let me know if Iam doing anything wrong.
Unable to ser... more >>
Namespace Classes used by DataBinder
Posted by MattC at 3/7/2005 11:32:16 AM
When I add a template column to a DataGrid and bind some data from an object
in a collection using the following:
<% DataBinder.Eval(Container, "DataItem.Department.DepartmentName") %>
What Namespace/Class is Eval located in and can I call if from code behind.
I have implemented my own ve... more >>
disable asp.net characteristics
Posted by Aaron at 3/7/2005 11:29:39 AM
How do I turn off things in an asp.net generated html source that shows it
is generated by asp.net? things like viewstate and others i don't know of.
people can tell if a html is generated by asp.net just by looking at the
source, how can i prevent that so my asp.net generated pages just look l... more >>
viewstate is invalid
Posted by Bala at 3/7/2005 11:25:02 AM
Hi,
My asp.net page working fine for local and web. But the web server giving
this problem. i dont know where the problem is. can anyone give me idea why
this happen?
Thanks
Bala
The error description is as follows : System.Web.HttpUnhandledException:
Exception of type System.Web.Htt... more >>
Populate DataGrd From client?
Posted by Tarllem at 3/7/2005 11:19:23 AM
Is possible populate a DataDrid from client?
... more >>
Program IE Page Orientation
Posted by Mike Moore at 3/7/2005 11:19:02 AM
Hello All,
I would like to configure the IE browser to set the orientation to landscape
using programming so that the content of my developed web page can
be fitted to a piece of paper. I have a own created 'Print' button on the web
page. I'm using ASP.Net for my coding. Does anyone have su... more >>
how do i add filtered rows into a datatable?
Posted by Craig G at 3/7/2005 11:16:13 AM
i have a filter that runs on a dataset
Dim drFilteredRows As DataRow()
drFilteredRows =3D dsResults.Tables(0).Select(strFilter)
This works grand and returns records
but i want to add these rows into a datatable setup as follows
Dim dtDataTable As New DataTable
dtDataTable.Columns.A... more >>
Number of controls in a datalistitem
Posted by tshad at 3/7/2005 11:10:11 AM
How do I tell how many controls there are in a datalistitem?
For example I am going through my datalistitems and dealing with the
controls:
for each oItem as DataListItem in DataList1.Items
oItem.Controls?
Thanks,
Tom
... more >>
Newbee Power point inside aspx.
Posted by Jensen bredal at 3/7/2005 11:05:25 AM
Hello,
I have the task of showing PP slides in my aspx page.
I'm not quiet sure how to deal with this when it comes to viewing the slides
on my page.
Assuming, i have uploaded the slides in my database.
How can i view it. Is it possible to control how long it should be viewed ?
Any com... more >>
converting aspx page to word
Posted by vinod_kanmantha kanmantha via .NET 247 at 3/7/2005 11:01:56 AM
(Type your message here)
hi,
this is vinod can any one pls tell me how we can convert aspx page into word.This aspx page consists of text boxes when we export this page to word the data in the table cell is rearranged.
so pls help me in sorting out this problem.
---------------------------... more >>
Question about asp.net Menu and Flash object
Posted by Joe at 3/7/2005 11:01:05 AM
Hi,
I am using asp.net Menu component to create a horizontal drop-down menu.
Generally if when use DHTML menus like
http://www.twinhelix.com/dhtml/popupmenu/, if you are embed a flash or
shockwave object just below the menu then the drop-down menu goes behind the
Flash Or shockwave obj... more >>
C# script?
Posted by Tarllem at 3/7/2005 10:37:16 AM
Hi!
Is possible to write a C# script and to run it in the client?
... more >>
add datagrid dynamically
Posted by bill at 3/7/2005 9:59:23 AM
Can I add multiple datagrid controls dynamically at runtime?
I want to break up my dataset into separate datagrids, so I can insert a "<p
style="page-break-before: always">
tag between them.
The objective is for the user to be able to print the data with pagebreaks
and column headers on eac... more >>
Request delivery receipt when sending mails
Posted by Kostadin Kostov at 3/7/2005 9:45:01 AM
Hi
I'm developing a component for sending emails, but I cannot figure out how
to set the email to receive notification when the email is sent.
This is what I do:
using System.Web.Mail;
MailMessage message = new MailMessage();
message.Headers.Add("urn:schemas:mailheader:disposition-notificatio... more >>
Visual Studio external style sheet problems
Posted by Harold A. Mackey at 3/7/2005 9:43:14 AM
MVP's
Is there a fix for the problem of using hte wsywig in vs2003 along with an
external style sheet? Adding any controls throws off the views. This makes
it impossible to edit.
Thanks
Hari
... more >>
Object reference not set to an instance of...
Posted by Randy at 3/7/2005 9:20:17 AM
Hello,
I've got a C# ASP .Net application I've developed on my local XP Pro
machine. It all works fine on the XP box. I recently moved the app to a test
machine (Windows 2000). Now when I try and go from a child page back to its
parent page (using Server.Transfer) I get the error...
"Object ... more >>
Problem populating dropdown in javascript
Posted by Nicolas Bottarini at 3/7/2005 9:11:35 AM
Hi:
I am populating a dropdown via javascript (i have 2 dropdowns, one
with info from the DB and when you click on an item it is moved to the
other one via javascript). How i can get the items of the second
dropdown at server side? I also have to maintain state of the 2
dropdowns when the use... more >>
Month Later... Still no Audio?!?!
Posted by ACaunter at 3/7/2005 8:39:10 AM
Hi all,
It's been so long now and i still can't get my asp.net site to record audio.
I need to let the users record directions from their mouse and save them to
the server. This HAS to be done from right on the web page... I can't use
Windows sound recorder or any other 3rd partie program..... more >>
How to make only one radio button selectable in Datalist?
Posted by David Hearn at 3/7/2005 8:34:11 AM
I have a datalist that I have inserted a radio button into. The datalist
populates with a list of items and each one has a radio button next to it. I
need to use the radio button to allow the user to select a default item so
when the user clicks one of the radio buttons, it needs to clear the ... more >>
Installing in to the root of a web site
Posted by Gravy at 3/7/2005 8:25:06 AM
Hi,
Can anyone tell me if it is possible to create an ASP.NET installation
project using VS.NET 2003 then installs in to the root of an IIS web site?
Currently my install project creates a vdir to install into but I now want
to install (or have the option of installing) the app to the root... more >>
Opinion on validating a WebForm
Posted by Angel at 3/7/2005 8:19:07 AM
i would like the comunity's opinion on validating a Webform. I was wondering
should i validate data that the user enters on a Webform via a Backend
process like SQL Server 2000 or should I use Javascript to validate the data?
Or is there another option such as creating .neT classes?
I can u... more >>
Post vars to URL
Posted by Sylvain Girard at 3/7/2005 8:02:43 AM
Here's the situation:
I need to redirect to another page and post some vars.
Response.Redirect doesn't work with post vars (at least not that I know
of) and a WebRequest doesn't open the new page (at least not that I know
of).
How can this thing be resolved?
*** Sent via Developersdex http... more >>
UI Design
Posted by siaj at 3/7/2005 7:41:16 AM
Hello all,
Can Any one provide a link to any article of tips for designing good UI in
ASP.NET...
Also any Idea whow to design the toolbar (just like in the Microsoft toolbar
with Microsoft logo) where color fades from one end to other..
Any suggestions will be appreciated..
cheers,
sia... more >>
Difference in Web server Controls and HTML Server Controls
Posted by siaj at 3/7/2005 7:25:02 AM
Hello All,
Can any one give me a clue when to use Web Server controls/ HTML server
controls/HTML Controls. As I understand ..
HTML controls should be used if u dont need to refer it in the code behind
a(simply bcaz it is not recognized in the code behind IDE) and it does not
make a server ... more >>
Connections problem to web project from Visual Studio.Net
Posted by Galina Grechka at 3/7/2005 7:19:41 AM
Hi
Recently I started get error message every time when trying to open web
project from Microsoft Visual Studio.Net:
Unable to open Web project. The path does not correspond to URL. The two
need to map to the same server location. HTTP Error 404: Object Not
Found.
It appears that our web s... more >>
Problems with MySql Connector.Net in code behind
Posted by Kenneth P at 3/7/2005 6:27:03 AM
Hi All,
I've installed MySql Connector.Net and it works very well if you not do code
behind.
But if you do code behind then in the declaration with namespaces you'll get
an error, a line under the MySql.Data.MySqlClient namespace
Imports MySql.Data.MySqlClient gives an error while
<%... more >>
Table or Datagrid
Posted by Khumar at 3/7/2005 5:39:35 AM
Hello,
Im new in asp.net especially in web base application.
I want to ask about datagrid. I had shown my table on
datagrid, and what I want to ask is how to set the column
height fixed? Because when I have a long word it
automatically set new line instead of hide it. I want it
to be hi... more >>
Override session timeout
Posted by lekshmi at 3/7/2005 5:32:50 AM
In my machine.config file, httpRuntime
executionTimeout="90".
and it dosent have <location> attribute nad
<allowOverride> attribute.
But my thread dies off after 1hr.
In the web.config, i have given httpRuntime
executionTimeout="7200"
Why is this happening?
... more >>
DataGrid
Posted by BlueHeaven at 3/7/2005 5:28:30 AM
Hi all,
I would like to create datagrid paging which having not
only numeric mode but also Next Prev mode in paging mode.
Because from what I can have from datagrid in asp.net it
does not allow both mode. So I would like to have like
these paging << < 12345.. > >>.
Is it possible?
Thank... more >>
Populating form fields from a dataset
Posted by MicroMoth at 3/7/2005 4:49:01 AM
I know that this is probably a simple question, but I can't seem to find out
how to populate the form fields I have with the results from my stored
procedure, which I have stored in a datase. I have seen examples of to use
dataset, datagrids, but how can I populate textboxes and label's with t... more >>
Strange error, please
Posted by Alex Nitulescu at 3/7/2005 4:41:38 AM
Hi. I have created a web-based "file manager", for remote-administration of
a web-site. It works okay.
The "main" form in the "file manager" is BrowseFiles.aspx. I can edit the
text files (among which the "js" files) by clicking on an achor which
redirects me to "edit.aspx".
Once in "edi... more >>
Problems displaying HtmlTable on page
Posted by Al Wilkerson at 3/7/2005 1:07:51 AM
Hey,
Below is some code to generate an HtmlTable dynamically, however the table
does not show on page.
When tracing through, the values from the database come out correctly, but
the table never displays.
Can anyone see anything that could possibly be the reason ?
Thanks,
t1 = new Html... more >>
|