all groups > asp.net > june 2006 > threads for tuesday june 20
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
Mac Safari
Posted by Mark Rae at 6/20/2006 10:36:54 PM
Hi,
Having serious problems with the Safari Mac browser, specifically with
certain of the new webcontrols e.g. <asp:Menu> which doesn't render at all -
it shows "Expand" sections between each of the static menu items etc.
Apparently, this only happens with the <asp:Menu has dynamic controls... more >>
Remove web.config
Posted by murthy at 6/20/2006 10:03:02 PM
Hi all,
i am working on vs 2003, if i remove web.config file from asp.net
application , application is working fine.
but if this application is in vs 2005 and i remove web.config it is
giving error
why can any one tell me please
with regards
murthy... more >>
Linkbutton - mouse curser
Posted by K B at 6/20/2006 9:32:39 PM
Silly question but I can't find the answer. I have linkbuttons and I've
noticed that the mouse cursor doesn't change to a hand or an arrow when
I mouse over it...it just stays an i-beam. I'm just using the linkbutton
control in VS; I can't use hyperlinks for this.
Any suggestions appreciated.
... more >>
newby Q about using Google Maps with ASP.Net 2.0
Posted by Sam Carleton at 6/20/2006 8:03:25 PM
Ok, over the years I have read about doing web programing and I have
done some real basic stuff. Now I am digging into some real ASP.Net
2.0 and am totally lost some things.
I have a master page setup and that is working great. On my contact
page I would like to use Google Maps API Version 2... more >>
Browser specific CSS files
Posted by Smokey Grindle at 6/20/2006 6:52:14 PM
Is there any way in asp.net 2.0 to say if this specific browser views my
site give them a CSS sheet that is specific for that browser?
like IE6 get its own, FF get its own, IE7 gets the one FF uses... something
like that... this is of course... for browser compatability
btw I am using ASP.NE... more >>
Shared Assembly best practices?
Posted by CK at 6/20/2006 6:48:24 PM
Good Morning All,
What the best way to use references? Reference a project in another project
or reference a DLL. We are developing C# Sharp Web Apps in VS 2003.
We are getting warnings like the following.
Warning: The dependency 'TTT.Library, Version=1.0.0.1, Culture=neutral' in
project 'Dmt... more >>
Visual studio 2005 HTML design view bugs
Posted by Nogusta123 NO[at]SPAM hotmail.com at 6/20/2006 5:25:26 PM
Hi,
I have had a lot of problems getting web pages, master pages and
content pages to render in VS2005 design view the same as they would in
Internet Explorer. I did a lot of looking on the internet for answers
but didn't have much luck. Anyway I believe I have found the causes of
the problem... more >>
I've Broken Visual Studio
Posted by Beth In Alaska at 6/20/2006 5:02:11 PM
actually, i've broken all my web apps - I got a new pc and tried to rebuild
the applications but I am having no luck.
1) my debugger will not run - I get the unable to start debugging on the
web server. I've added everyone i can think of to the debuggers group, my
security looks good on t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
host name of site
Posted by John A Grandy at 6/20/2006 4:31:06 PM
ASP.NET 2.0 IIS 5.5.
In code-behind , how to determine the host name of the site ?
... more >>
Image from a WebService
Posted by Nicolas at 6/20/2006 4:20:51 PM
Hello!
I have a question: I have a database in MySql that has two fields (code and
image). Now, I want to create a WebService that takes the image of the most
current row (the code is the date in which the image took). And then, create
a page in ASP.NET that calls this WebService, show the ... more >>
Custom validation not working when Javascript moved to external file
Posted by Alan Silver at 6/20/2006 4:17:08 PM
Hello,
I am writing a page that makes use of a lot of custom validators. So
far, all the custom client-side validation code has been added in the
<head> tag of the page, but I decided to move it out to an external file
to keep this file cleaner. Trouble is that it now doesn't get called at ... more >>
difference between imports-implements-inherits
Posted by Bart_D at 6/20/2006 4:10:31 PM
Hi,
Can anybody explain me what's the difference between for example:
imports system.data
implements ICallbackEventHandler
inherits System.Web.UI.Page
Thanks
Bart
... more >>
color names
Posted by Nalaka at 6/20/2006 3:51:12 PM
Hi....
When I pick colors using the design mode.... it puts c"color names" into the
markup.
Then in the "HTML mode"... shows a lot of color related errors.
How do I get the gui editor to put colors numbers instead (of names)?
any help is appreatiated
Nalaka
... more >>
Colon in URL
Posted by Alex via DotNetMonster.com at 6/20/2006 3:15:48 PM
I am porting an existing PHP application to ASP.NET. Everything works OK,
however IIS returns HTTP 400 - "Bad Request" error if the path or pathinfo
include the ' : ' (colon) symbol. Something like:
/MyApp/Xyz:123/MyPage.aspx
or
/MyApp/MyPage.aspx/Xyz:123
Is there any way to make IIS/... more >>
Where to download "Publish Website"
Posted by Keith at 6/20/2006 2:19:55 PM
Where can I download a Visual Studio 2005 add in called "Publish Website?"
... more >>
SQLDataSource - ExecuteScalar
Posted by Jim McGivney at 6/20/2006 2:12:50 PM
I would like to return one specific value from an SQLDataSource configured
to a table with an SQL Command selecting a specific value.
It would be the equilivant of ExecuteScalar in OLEDB.
Replies with code would be appreciated.
Thanks Jim
... more >>
asp.net 2.0 web control public property problems
Posted by MarkAurit at 6/20/2006 2:04:02 PM
Im writing my first asp.net 2.0 app, and wrote a small part of it as a web
control.
I dragged it on the webform and that looks ok, but in the codebehind I dont
see any of the public properties. The control works ok when I run the page
in my browser, but I cant get into it programatically.
... more >>
Calling MasterPage Subroutines from a ContentPage
Posted by jeffmagill NO[at]SPAM gmail.com at 6/20/2006 2:00:29 PM
Is it possible? I haven't been able to find any information about this.
Not on the web, not in books.
Is it possible to call a function or subroutine which is defined in a
MasterPage from it's derivative ContentPage?
Thanks.
Jeff
... more >>
"Object reference not set to an instance of an object." error at postback
Posted by louie.hutzel NO[at]SPAM gmail.com at 6/20/2006 1:37:30 PM
This JUST started happening, I don't remember changing any code:
When I click the submit button on my form, stuff is supposed to happen
(which it does correctly) and a result message is posted back to the
same page at the top of my form alerting the user that their request
has been approved or d... more >>
Adding attribute to JavaScript validator object in the Page_Validators array
Posted by Jim Ox at 6/20/2006 1:02:34 PM
I have created a custom validator control that implements the
BaseValidator. However I would like to add an attribute to the
JavaScript validation object that is rendered at the bottom of the
page. Currently something like the following is at the bottom of the
page:
var ctl00_MasterPages_Me... more >>
Cache and IE Temp files?
Posted by ed.crookshanks NO[at]SPAM gmail.com at 6/20/2006 12:50:31 PM
Hello All:
I just experienced some weird behavior and I wonder (1) if anyone has
experienced this, (2) if it is normal, and (3) if I'm interpreting it
correctly.
Bascially, I was having a problem getting data from the Cache object.
I could step through and see that valid data was going into... more >>
Best Place to Host ASP.NET Applications
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 6/20/2006 12:04:23 PM
Hello,
There seem to be so many places out there to host asp.net Web
Applications I figured I had better put an article on this forum to get
some advice. Basically I have an asp.net Web Application that I'm
interesting in Hosting on the Web. I'm planning to offer a training
video subscripti... more >>
asp.net 1.1 datagrid and DataNavigateUrlFormatString
Posted by msuk at 6/20/2006 12:00:02 PM
All,
I am using a datagrid on a 1.1 .aspx page that has a hyperlink column. I am
using 'DataNavigateUrlFormatString' to set the URL to browse to once the user
clicks on the link i.e.
DataNavigateUrlFormatString="www.somedomain.com/link.aspx?id={0}"
What I would like to do is get the "w... more >>
Programmatic Site "Reset"
Posted by Alex Maghen at 6/20/2006 11:56:01 AM
Hi. Is there a way to make a call in ASP.NET that will effectively do exactly
the same thing is when you "touch"/change the web.config file? In other
words, I want to be able to programmatically cause the same kind of general
resetting that happens when you touch the web.config file.
Alex... more >>
Convert from C# into VB
Posted by John Smith at 6/20/2006 11:51:45 AM
Can someone convert from C# into VB this line for me:
if (c is System.Web.UI.HtmlControls.HtmlForm)
... more >>
Find WebControl's (HTML) Form Name?
Posted by John Smith at 6/20/2006 11:41:22 AM
If I have reference to some TextBox, how can I find its form name (eg.
"document.Form1")?
... more >>
TextBox Changes Do Not Show Up
Posted by EagleRed NO[at]SPAM HighFlyingBirds.com at 6/20/2006 11:32:02 AM
I am writing an ASP.NET 2.0 application that includes several pages with
textBoxes. In all pages but one changes in the textBoxes can be retrieved
using the Text property of the textBox except one page. One this particular
page the previous Text value always is shown in postback handlers aft... more >>
Connection problem
Posted by Horia Demian at 6/20/2006 11:32:02 AM
I have the following code in a web form which use a connection to SQL Server
2000. I use this form to display a list of products from a table. The
connection string to the database server is stored in web.config file.
public partial class VizualizareProduse : System.Web.UI.Page
{
protec... more >>
Windows Form Control problem
Posted by Erik Read at 6/20/2006 11:24:02 AM
Has something happened to being able to host Windows Form Controls built in
..Net 2.0?
If a create a simple user control in 1.1, drop it in my virtual directory
and set the object tag correctly everything works great. If I write the exact
same control in 2.0, the control loads but scripts (Ja... more >>
Remoting w/IIS 6, .net 2.0, Win2k3
Posted by MIS at 6/20/2006 11:13:02 AM
We have a small test appication that uses remoting. This app works fine on
the developers XP system but the same configuration does not work on Win2k3
with IIS 6 and .net 2.0. The URL returns 404, page not found. The .rem
extension has been enabled and all other IIS settings look ok. Any ideas... more >>
Dreamweaver to ASP.Net 2003
Posted by csgraham74 at 6/20/2006 11:04:17 AM
Hi guys,
i was hoping someone could help me with an annoying issue.
I have inherited an asp.net web site built solely in dreamweaver and
the site uses relative paths. I have however been building an admin
section for the site in asp.net in a folder in my wwwroot directory.
when i import ... more >>
<asp:Menu>
Posted by Mark Rae at 6/20/2006 10:49:37 AM
Hi,
I'm interested in what people think of the new <asp:Menu> control in
comparison to other 3rd-party menu controls. E.g. until v2, I used the AITOC
FlexMenu (http://www.aitoc.com/en/flex_menu_net.html) with no significant
problems. However, now that I've had a chance to evaluate the built... more >>
Dynamically adding columns to a WebForm datagrid
Posted by herman404 at 6/20/2006 10:04:09 AM
Hi everyone, I have a datagrid with a column template with one editbox.
Is it possible to add columns dynamically to this datagrid based on
the result set that comes back from a database query? I saw some
examples on how to add ASP code that defines bound columns, but the
number of columns var... more >>
Dynamic Master / Detail pages question
Posted by sqlboy2000 at 6/20/2006 9:58:01 AM
Hi,
I've just started playing around with master / detail pages and I'm trying
to simply change the detail page displayed in the contentplaceholder control
from code behind. I can't seem to find any examples of this. Does anyone know
how to do this?
Thanks in advance.... more >>
Master Page and ASP.Net Form
Posted by Paul at 6/20/2006 9:48:02 AM
Hello:
I am struggling with something that would seem to be very easy.
I am using a master page.
On the content page (which includes the master page), I have a form with a
submit input type button.
Then, within the IsPostback section of Page_Load, I try to read the value of
a form fi... more >>
HOWTO: Configure .Net 2.0 Website, SQLServer 2005, Reporting Servi
Posted by iThinkData at 6/20/2006 9:44:02 AM
Should these 3 items, .Net 2.0 Website, SQLServer 2005, Reporting Services
2005. all reside on the same computer?
I know that the website issues a configuration error saying it can't find
certain assemblies listed in the <assemblies> section of the web.config file
(Microsoft.Reportviewer.Co... more >>
Timezones
Posted by BP at 6/20/2006 9:34:41 AM
Hi
I have a website where i'd like to display the following times
London
Hong Kong
New York
Sydney
etc
This could be easy if I used server time (london) + offsets, but I see
that all countries have different daylight savings times.
Could anyone suggest a solution/code please?
Tha... more >>
Performing calcualtions on data in gridview
Posted by Mike P at 6/20/2006 9:31:08 AM
Is it possible to perform calculations on data in your gridview in your
ASP, or do you need to do any calculations in the OnRowDataBound event?
Here is what I am trying to do :
<asp:TemplateField HeaderText="Target (%)"
SortExpression="TargetPercentage">
<ItemTempl... more >>
Won't read my web.config file!!
Posted by John at 6/20/2006 9:07:37 AM
Hi,
Trying to troubleshoot a web app. I'm getting the usual "set your
web.config file to customErrors mode="Off"" message.
Anyway, I DO have a web.config file in the root of the app, but it's not
reading it because i DO have customErrors mode=Off
Why won't it use this file!?
Thanks
... more >>
Business object structure
Posted by ^MisterJingo^ at 6/20/2006 8:57:38 AM
Hi all,
I have question regarding good practice. In the business layer I have
created, one object represents one part of the system. For example, if
I am manipulating clients, an instance of a 'client class' is
created. Sometimes I need to manipulate all clients in the database.
Would it be ... more >>
Asp.Net web application administration cannot connect sql server?
Posted by nick at 6/20/2006 8:53:02 AM
I've SQLExpress installed and running on my PC. The security tab still shows:
"There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Cli... more >>
Translate virtual ~ path in app_code codebehind
Posted by Smokey Grindle at 6/20/2006 8:47:19 AM
I need to take a virtual path say "~\Site\Default.aspx" and convert it into
the correct site path in the app_code folder for codebehind. how do you go
about doing it at this level? I found it very easy to do it on a user
control and web page by using the system.web.ui.page.resolveurl function,... more >>
Master page and CSS link strange problem.
Posted by nick at 6/20/2006 8:39:02 AM
I have the following code in my master page:
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:/... more >>
Access Console Application from Managed Code
Posted by Will Asrari at 6/20/2006 8:33:59 AM
I am working on a project now for a client that requires all managed code.
I have rewritten about 60% of the code and functionality in C# and have now
come to the complicated part of picking apart the existing stored procedure
and "managing" it. Two tasks that I am outing from the stored proc... more >>
Recommendations - XML or traditional relational structure
Posted by Joel H at 6/20/2006 8:08:02 AM
I'm designing a medical record system and am considering using XML in the
database (native SQL Server XML datatype). I'm looking for advise and
opinions as to whether my rational is good, and to get pros and cons of
different strategies.
The application is an ASP.Net 2.0 application wr... more >>
URL redirect not working - question
Posted by Reeve at 6/20/2006 7:34:53 AM
I have a hyperlink control redirecting to another page within my site.
The URL is passed with the correct parameters, however the page won't
load.
I'm fairly new to this so I copied an existing web page that was
similar and made changes to the new context. The problem is that the
new page, wh... more >>
Best practice for organizing Constant
Posted by Ethan V at 6/20/2006 6:49:52 AM
I have about 50 string constants that I put all of them in one file. I find
that it's too un-organized because I have to intellisense thru lots of
unrelated constant to get to the one I want. Is there a best practice for
organizing constant? Please share with me your thoughts and experiences.
... more >>
Global.asax not firing
Posted by furiousmojo NO[at]SPAM gmail.com at 6/20/2006 6:27:48 AM
This is a strange problem. I have a project where the contents of
global.asax application_error are not firing. It is an asp.net 2.0
application using web application projects. I have another app using
web application projects and it's firing fine but it was upgraded from
the 1.1 framework.
... more >>
Cache an object
Posted by Prashanth at 6/20/2006 5:44:57 AM
Hi,
I want to cache an object whose scope in only within the page. The
cache should expire once the user leaves the page. How can I do it?
Regards,
Prashanth
... more >>
checkbox with datagrid
Posted by nasirmajor NO[at]SPAM yahoo.com at 6/20/2006 5:29:36 AM
dear all,
will you please give me a small hint
e.g in datagrid(databounded) there are 10 rows of different jobs having
checkboxes with all rows(in template column of datagrid). if user check
any no. of jobs in it and clicks button he is redirected to another
page/panel. Where there is form gett... more >>
Using enums as usercontrol public properties
Posted by badger at 6/20/2006 5:05:50 AM
Hi,
I have created a usercontrol with a public property as follows:
// default display type to single form.
private DisplayType selectedDisplayType =
LoginForm.DisplayType.SingleForm;
public enum DisplayType
{
SingleForm = 0,
MultiForm = 1,
}
public ... more >>
setting Column width of Template Column in Datagrid..
Posted by Charleees at 6/20/2006 4:05:50 AM
Hi all,
I have a DataGrid with Template Columns.....
There are LAbels,Linkbuttons in the Single Row..
I have to set the Constant Column width for those Template Columns in
Grid...
Wat actually happens is... when the Text size is too big... the column
also expands..
But wat actually... more >>
validate multiple controls
Posted by Willem at 6/20/2006 3:09:25 AM
I have got a very simple javascript which compares about 8 controls in
pairs of two. i.e. maxA - minA <= 25.
Now I would like it to be triggered for validation (before submit?) and
cancel the submit if neccessary. Very easy to do if it were plain HTML.
No idea how to implement this in ASP.NET 2 ... more >>
Populating dropdowns client-side?
Posted by Anup at 6/20/2006 2:33:26 AM
In my application there are many inter-dependent dropdowns.
ie:- when user select value form dropdown1 according to that a query is
fired and the data is populated in dropdown2 by applying the value
selected in dropdown1 as filter.
Now the user wants this process to be done at client-side as the... more >>
Session variables inside shared functions
Posted by Ibrahim. at 6/20/2006 2:17:01 AM
Hello,
My question is simple.
If Session variables were to be assigned a value inside a shared function,
does the session data visible to other sessions (Other users). I know the
variables used inside the shared function are shared as well, is it same for
session variables...?
exampl... more >>
hiding columns of details view on a button click
Posted by sonali_aurangabadkar NO[at]SPAM yahoo.com at 6/20/2006 12:31:28 AM
i want to hide some columns of a details view on a button click and
want to change the name of that button
my problem is that i am able to hide the column but can't able to
change name of button
i have to click twice on that button to change its name
... more >>
(2.0) Separator in Menu control
Posted by Jeppe Jespersen at 6/20/2006 12:00:00 AM
How do i create a separator that only show _between_ menu items?
I've tried the "StaticTopSeparatorImageUrl" property, but that also gives me
a separator before the first item.
Likewise, the StaticBottomSeparatorImageUrl property gives me an item after
the last item.
....and i only want s... more >>
how to get co-ordinates to write on image
Posted by Vikas Kumar at 6/20/2006 12:00:00 AM
I am writing Hello on the image i am able to write it sucessfully now I want
to
write it at bottom right corner
How can I calculate the co-ordinates(suppose my image is 600*450)
string str="Hello";
Bitmap tempImage=new
System.Drawing.Bitmap(Server.MapPath("/Photos/21/Normal/1.jpg... more >>
Calling C#/VB.Net function in Javascript
Posted by Tanmaya Kulkarni at 6/20/2006 12:00:00 AM
Hi,
I have a web application where I need to call backend C#/VB.Net functions
from javascript.
Is it possible..and how?
Thanks,
Tanmaya
... more >>
[Datagrid] are data saved in the Cache ?
Posted by teo at 6/20/2006 12:00:00 AM
I have Datagrid on an aspx page.
The datagrid has data distribued on several page
(that is it has navigation buttons).
Question:
After the data are displayed on the Datagrid,
all the data are saved on the Cache (= Temporary Internet File folder),
so the user can see them offline?
No d... more >>
Search documents from ASP.NET page
Posted by Roel Korsten at 6/20/2006 12:00:00 AM
Hi all,
I keep uploaded documents (DOC / XLS / PDF / ...) in a SQL2000/2005-database
as a binary in an image data-typed field.
Now I want to search within these documents from my ASP.NET app.
I came across the "Indexing Service" (including the PDF filter from Adobe)
but with this I can ... more >>
How to use SqlDataSource in code
Posted by Donald Adams at 6/20/2006 12:00:00 AM
Can I use the SqlDataSource in code? First I used it to return some rows
and that worked. Then I added the arguements so that I could do paging, but
it threw and exception that I didn't set the SqlDataSourceMode. I did set
it to dataset, but I still get the same exception.
I am calling a s... more >>
|