all groups > asp.net > september 2006 > threads for tuesday september 26
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
CSS not working
Posted by ThunderMusic at 9/26/2006 11:11:28 PM
Hi,
I have the some css (provided at the end of the post) and use it in my aspx
page (code provided at the end too): the problem is, the TDLeftBar class
should limit the width to a minimum of 150px but it does not work... Can
somebody tell me what's wrong? I tried with width and min-width, sa... more >>
Disabled TextBox
Posted by Toty Santana at 9/26/2006 10:44:01 PM
i have a textbox server control whos value is being changed using javascript.
when the text is changes and i post back to the server the Text change is
not reflected, instead i get blank string.
if the TextBox enabled property is set to true , everything works fine.
any ideas?
thanks in advanc... more >>
please help
Posted by ravinderrawat85 NO[at]SPAM gmail.com at 9/26/2006 10:43:33 PM
I have installed "MIcrosoft Visual studio.net 2003" on XP
platform,used it for a month but now I'm facing the
following problems:
1. my system shuts down whem i m using MSDN or any other .net framework
utilities like .net command prompt etc.
2. The folder option(hide/view hidden files) in th... more >>
how to display sql server 2000 table in excel sheet
Posted by anil at 9/26/2006 10:38:18 PM
haiii..
please sugest how to display the sqlserver table into to the excel
using the c#.net coding
... more >>
JS in ASP.NET
Posted by Samuel Shulman at 9/26/2006 9:36:56 PM
Hi all
<asp:TextBox ID="txtCarat" runat="server" TabIndex="38" Width="28px"
onkeypress="return NumericOnly(event);"></asp:TextBox>
I tried to code this line to filter the none numeric characters typed into
the textbox but it doesn't accepts it
What is the syntax for JavaScript?
thank... more >>
FormsAuthentication Cookie
Posted by rn5a NO[at]SPAM rediffmail.com at 9/26/2006 9:05:07 PM
A web.config file has the following code:
<configuration>
<system.web>
<authentication mode="Forms">
<forms name="NETConnectCookie" loginUrl="Login.aspx">
<credentials passwordFormat="SHA1"/>
</forms>
</authentication>
</syste... more >>
Server.Transfer Problem
Posted by delvsb at 9/26/2006 6:56:02 PM
Hi all!
Pls read my problem described below.
When using server.transfer the previous page is displayed in the url address
of the browser.
For example, login.aspx is displayed in the browser. When login button is
clicked, server.transfer(mainmenu.aspx) is called.
When the mainmenu.aspx is... more >>
manual input field OR dropdown value
Posted by James at 9/26/2006 6:15:34 PM
Hi.
Not sure if I'm trying the impossible here but using VStudio 2005 I
have to allow for an editable Gridview field that gives a user the
option of manually typing a value OR selecting it from a list of common
values.
This spec request came late in the development process which is a drag.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CSS/SKIN Theme Question
Posted by Tina at 9/26/2006 6:07:40 PM
I have a css class...
..TopTypeColor
{ color: white;
}
I have an entry in my skin file...
<asp:SiteMapPath CssClass="TopTypeColor" runat="server">
</asp:SiteMapPath>
This works well enough to make my current node white but I want all the
nodes to be of a color specifie... more >>
dynamically adding controls
Posted by Jeff at 9/26/2006 5:14:38 PM
Hey
asp.net 2.0
(( I'm studying for the 70-528 exam ))
Anybody here have a link to a great article about how to dynamically add web
server controls or user defined controls to a web page?
Great if you could post the link in this thread!
Best Regards!
Jeff
... more >>
Can Sitemap.CurrentNode use non default sitemap provider?
Posted by AmitKu at 9/26/2006 4:32:33 PM
Here is my situation. I have two sitemaps registered, A and B, where A
is used by my default provider.
When I do Sitemap.CurrentNode it operates w/ respect to the default
provider. However, I want to do some fun programmatic stuff with
SiteMap.CurrentNode, with regards to sitemap B on a cert... more >>
Where are my images?
Posted by CK at 9/26/2006 3:35:45 PM
Hi all,
I have a strange problem. I have a login.aspx web form i use for logging in
to my app. It uses the asp:LoginView and asp:Login controls respectively. I
have this strange bug i can not figure out. When the user initially hits the
page, the styles are not applied and no images show up. ... more >>
Saving table
Posted by simonZ at 9/26/2006 3:18:39 PM
I have a dataTable in my memory(session).
Can I save this table into sql dataTable in one step?
Now, I'm iterating through the records and saving record by record with
command object.
But it's slow process. Any idea?
Regards,Simon
... more >>
Error 0x80070005 on aspnet_regiis -i
Posted by manishkj NO[at]SPAM gmail.com at 9/26/2006 2:50:43 PM
Please read carefully, Its aspnet_regiis -i and not aspnet_regiis -c
aspnet_regiis -c works for me.
I tried all options found on google. Also I'm local admin on box. No
article on Microsoft.
Thank you very much.
Manish
... more >>
DateTime.Compare output
Posted by Martin Eyles at 9/26/2006 2:35:39 PM
Hi,
What is the unit of the output from DateTime.Compare.
Seconds, minutes, hours or days? or something else
Thanks,
Martin
... more >>
Form in form?
Posted by Edwin Knoppert at 9/26/2006 2:27:50 PM
I sometimes have the need to call other websites using POST.
most of the times i can make it to work bbut in this case it becomes harder.
I have a masterpage and a particular page needs to submit some hidden data
via POST.
Since the FORM tags are inside the page and trhus enclosed in the fo... more >>
web admin tool
Posted by Runsrealfast at 9/26/2006 2:26:04 PM
I try and go into the website admin tools and add users. When I do this
everytime I get an error telling me that I need a longer password. I
have not writen any code in the app yet, I just wanted to start by
trying to get the security figured out. I can create roles and
everything else, but it w... more >>
oledbcommand
Posted by Agnes at 9/26/2006 2:19:43 PM
where alltrim(cocode) = ?
..Parameters.Add(New OleDbParameter("@oacode", OleDbType.VarChar, 10)).Value
= strName
When the strName is blank, (it return all the record)
How can I correct it ??
I am using vfpoledb.dll
... more >>
Updating ASPX pages produces errors
Posted by mpaine NO[at]SPAM htxml.com at 9/26/2006 2:16:28 PM
I was wondering if there is a way to keep ASP.NET from error 500ing
when a file is being updated. For example, I receive this error when
copying over the file (which the site is live):
The process cannot access the file 'C:\Inetpub\wwwroot\test.aspx'
because it is being used by another proces... more >>
MasterPage inheriting a MasterPage... is it possible?
Posted by ThunderMusic at 9/26/2006 2:14:28 PM
Hi,
Maybe there is another way of doing this, but here's my problem...
I have my web site where I have a master page to have a common layout and a
common behavior on all my pages (that's what it's intended for)... But now
here comes the time where some pages need some processing (like, is th... more >>
skip address bar
Posted by rodchar at 9/26/2006 1:17:01 PM
hey all,
is there any way to skip the address bar when a user hits the Tab key?
thanks,
rodchar... more >>
Atlas Usage
Posted by Derek Smith at 9/26/2006 1:00:28 PM
Is anyone actually using the Atlas Control Kit on a production website?
Should I be worried about platform modifications if I decide to use it in
mine?
Derek
... more >>
Creating a new contact in Exchange
Posted by Gerhard at 9/26/2006 12:49:08 PM
How can I create a new contact in exchange server from a vb.net web
application?... more >>
is there a way to pass my object
Posted by rodchar at 9/26/2006 12:07:02 PM
hey all,
i'm in the code-behind for my web page and i have a gridview bound to a
custom object. i have an add new record on the footer template.
my custom object accepts an Employee object but i'm not sure how to pass this:
i'm thinking something like this but it's not working.
Me.ObjectData... more >>
Why am I getting this error . .
Posted by WhiskyRomeo at 9/26/2006 11:13:02 AM
Session state can only be used when enableSessionState is set to true, either
in a configuration file or in the Page directive
This error only occurs while I am debugging. The code is production code
that has been running successfully for over year. I did not get this error
yesterday whi... more >>
web parts and a database
Posted by igotyourdotnet at 9/26/2006 11:08:01 AM
I'm trying to add a web part to my page and when I run my page with the web
part I get this error:
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does n... more >>
Is it possible to list sessions and terminate one?
Posted by Brian Cryer at 9/26/2006 11:04:53 AM
Does anyone know if there is a way to list the current sessions, and any way
to kill a session other than your own?
I suspect that for security reasons there isn't a way, but if there is a way
it would be nice to know.
Thanks.
--
Brian Cryer
www.cryer
... more >>
thread status created from asp.net
Posted by ginny at 9/26/2006 10:35:20 AM
Hello,
I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I ... more >>
weird behaviors
Posted by Mark Denardo at 9/26/2006 10:33:58 AM
I recently upgraded to VS2005 and converted some projects from 1.1 to 2.0
and am seeing two weird behaviors I can't seem to resolve, and am wondering
if they are bugs or something I'm forgetting to do or add.
(issue 1)
When setting up a panel control with border settings:
<asp:Pan... more >>
Converting ASP.NET Page from VB to C#
Posted by k.vanderstarren NO[at]SPAM gmail.com at 9/26/2006 10:28:48 AM
Hi All,
I'm trying to convert some ASP.NET code that I found at
http://weblogs.asp.net/dannychen/archive/2005/12/02/432190.aspx from VB
to C#.
I've managed to convert the portion that is in the <script></script>
section of the file fine (I think) but I've been unable to convert the
code in... more >>
AJAX
Posted by David Lozzi at 9/26/2006 10:28:43 AM
Howdy,
Where do I go to start thinking about using AJAX or MS ATLAS?
Thanks,
David Lozzi
... more >>
Trying to send MSMQ messages from ASP.NET: "The queue does not exists or insufficient permissions..."
Posted by SammyBar at 9/26/2006 10:14:15 AM
Hi all,
I'm trying to send a message from ASP.NET to another PC by using MSMQ. I
created my ASP.NET project by using Visual Studio 2005 but I initially set
the project to be located on the File System. Then I could successfully
send, receive and purge the public queries I use to exchange infor... more >>
Need help figuring out rendering issues...
Posted by JackBlack at 9/26/2006 9:47:32 AM
Hi, all! Using Win2k3 Server & IE 6 (all patches) on one box (web server),
and XP/Pro & IE7 on another (workstation)... Project is a basic on-screen
calendar with dynamically created table rows and columns (server side) and
styles.
Odd problem: if I render the table normally, some styles ... more >>
RTF to html convertor
Posted by ASP Developer at 9/26/2006 9:38:02 AM
I need to create a class that can convert rtf text to html tags. For example
bold text should be converted to <b>mytest</b>. Are there any good examples
out there? Or is there such as thing as a html text box control? Any help
would be greatly appreciated.... more >>
what is the app_data folder really for?
Posted by CharlesA at 9/26/2006 8:19:02 AM
hi folks
I'm working on reverse engineering TheBeerHouse by Marco Bellinaso which
appears to have 100% unanimous approval on Amazon.
I got the book and downloaded the code and I opened the solution.
in his readme.txt he recommends that you move the database files he gives
you in the App_da... more >>
I can see the Oracle database but I cant see the tables.
Posted by Steve Kershaw at 9/26/2006 7:48:25 AM
Can somebody help me please?!
I'm using MS Visual Studios 2005 and in the Server Explorer I can see
the Oracle database but when I click on the tables link I don't see any
tables and the "+" sign next to the tables link disappears. What is the
reason for this? Is there some kind of magic that ... more >>
Asp.Net 2.0 RSS. Need advice.
Posted by shapper at 9/26/2006 7:34:21 AM
Hello,
First of all let me say I never worked with RSS as a developer.
I am working on a web site where I am displaying news from a database.
This part is done.
Basically, I need to make those same news available as through RSS.
I believe I need to have a XML file available and updated ... more >>
HtmlAnchor postback
Posted by Jim Reynolds at 9/26/2006 7:17:02 AM
Hi,
I am trying to implement a postback from a control with a textbox and anchor
to perform a search. I cannot use link button due to javascript being turned
off. Is there a way of implementing postback from an anchor tag?
Jim... more >>
Timer Control Delay
Posted by Umeshnath at 9/26/2006 7:01:02 AM
Hi,
I have a web application that refreshes a label control every 1 sec
(interval set by timer control). I am using Atlas panel for refreshing.
Basically I have a method say PollMSMQ(), which polls MSMQ after every 1 sec
& display the message in the label, if any. In the same ASPX page I ha... more >>
Timer Control
Posted by Umeshnath at 9/26/2006 6:59:02 AM
Hi,
I have a web application that refreshes a label control every 1 sec
(interval set by timer control). I am using Atlas panel for refreshing.
Basically I have a method say PollMSMQ(), which polls MSMQ after every 1 sec
& display the message in the label, if any. In the same ASPX page I ha... more >>
Please explain why AddHandler works in Page_Load, but not Button_C
Posted by John Austin at 9/26/2006 6:24:03 AM
I need to understand why if I add a control and use AddHandler to connect its
click event, it will work in Page_Load, but not in a Button_Click.
The idea is that the user types some data, presses the button, gets a list
of results (each with a LinkButton) and can then press one of the link
... more >>
random 401.2 and 500 error
Posted by dave at 9/26/2006 6:02:48 AM
hi,
I have software in tens desktops, the software is developed in c# and
it trying to send XML stream to a server by POST mode to aspx file that
exist in some VD.
The sending is with the Httpwebrequest class, and the software is
running in local system permissions (service).
Also, the code co... more >>
Maximum Size of Byte Array
Posted by Gerrit at 9/26/2006 5:58:02 AM
Hi all,
I'm getting an OutOfMemoryException when I initialize a byte array in
C# like this:
Byte[] test = new Byte[420000000];
I'm using ASP.NET 2.0. In ASP.Net 1.1 it works fine. So what am I doing
wrong?
What is the maximum length of a byte array?
Can somebody help me? Thank... more >>
Asp.Net Event problem
Posted by Krishna at 9/26/2006 5:33:01 AM
Hi,
I am developed one application .Net 2003.when click the refresh button
in browser, firing last event(button click event) of this page.how do avoid
this problem?
Regards
T.Anantha krishnan
... more >>
GridView: Retrieve a value via ImageButton
Posted by Cem at 9/26/2006 4:56:37 AM
Hi,
in GridView1 I have following code:
<ItemTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='<%#
Eval("airport_active", "images/icons/ico_airport_active_{0}.gif") %>'
ToolTip="Aktivieren / Passivieren" OnClick="ImageButton1_Click"
CommandArgument='<%# Bind("airport_ID... more >>
asp.net 2005 exclude file best practice
Posted by robert NO[at]SPAM orisoft.co.uk at 9/26/2006 3:40:37 AM
Like many people I am inconvenienced by the fact that files cannot be
excluded from an asp.net application. I basically have some text files
that are written to by the application and these files are located
within the app_data folder, so that they are within the site keeping
the entire applicat... more >>
LoginStatus control
Posted by Newish at 9/26/2006 1:38:02 AM
Hi
I am using a LoginStatus control to log users out of the web
application. I have a question and an issue:
Question:
Does this clear all session level variables for the user who logs out.
Issue:
The logoutaction is to take the user back to the login page. The hitch
is that when I pr... more >>
|